O
orSQUADstra
Guest
I'm using GameMaker 8.0 for this project.
I've been experimenting on some features, one of which needs to creates a sprite from a 100x50 part of the screen via sprite_add_from_screen(). After that, it draws the sprite, and after being drawn it gets deleted. This repeats every single frame. (I know, it doesn't sound too practical.)
Now, my problem is, I can't see how I could solve one HUGE issue with this - what else am I supposed to do if I don't want the memory usage to rocket up to the sky? How could I free the memory from the previous sprite?
Any help is appreciated!
I've been experimenting on some features, one of which needs to creates a sprite from a 100x50 part of the screen via sprite_add_from_screen(). After that, it draws the sprite, and after being drawn it gets deleted. This repeats every single frame. (I know, it doesn't sound too practical.)
Now, my problem is, I can't see how I could solve one HUGE issue with this - what else am I supposed to do if I don't want the memory usage to rocket up to the sky? How could I free the memory from the previous sprite?
Any help is appreciated!