Excellent! Those are both very useful and either could be used to accomplish my ends.
I am working on a thing that dynamically creates an image with a beveled edge for the outer object and an inner bar that grows.
Mostly I have it working fairly well. But the program hangs on exit.
This sounds like a dynamic array access thing again.
But it also might be my process.
The process starts with creating a memory block and initialising to the desired image and base color. The an image is created from the block and then a sprite from the image. Good so far.
Now the repetitive part (called to update status):
1. Rebuild as much as necessary within the memory block
2. Recreate the image from the memory block using CreateImageFromMemblock passing in the image id returned from the original CreateImageFromMemblock call. The help says that this will overwrite the old image data (and it does appear to). And I discovered that this automagically updates the sprite's image and appearance.
Does that sound like it might cause an issue?
Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master