Garbage collection
Hello there!
As i read from previous posts, the destroy action doesn't clean up any memory usage. I'm kind of confused here. Why do we even need this action if it doesn't clean up the memory then? What is the real purpose of this action? And how does the garbage collection work in GameSalad or does it have a garbage collector?
Thanks for your advice
As i read from previous posts, the destroy action doesn't clean up any memory usage. I'm kind of confused here. Why do we even need this action if it doesn't clean up the memory then? What is the real purpose of this action? And how does the garbage collection work in GameSalad or does it have a garbage collector?
Thanks for your advice
Comments
Yes I'm currently working on an app. I have a spawner actor that spawns about 20-40 of 4 different actors and I destroy them under some rules. I didn't run a memory test yet since I'm not done with my all levels. Im just worried and I wanted to know if destroying actors free up memory or not, before I implement the all levels. If destroying actors doesn't clean up, I will try using some other approach.