✮✮✮ Reusing actors and Total Memory ✮✮✮
Lets say i have a cat dog lion and mouse all animated to save on actors i unlocked and reused the actor changing the animation but to my surprise the total memory when testing on a device was nearly double it was when i tested with 4 separate actors.
I've done various tests and every time an animation is fired up it increases the total memory.
As i don't want the cat dog lion and mouse all animating at the same time i made a simple choose animation rule.
If game.ChooseAnimation = 0 change integer to random(1,4) this repeats so 1 of the characters is animating and after its finished it chooses another.
I know GS has some pretty serious memory leaks but this seems a little strange and im starting to think i can't trust the total memory display.
Rant over![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
Darren.
I've done various tests and every time an animation is fired up it increases the total memory.
As i don't want the cat dog lion and mouse all animating at the same time i made a simple choose animation rule.
If game.ChooseAnimation = 0 change integer to random(1,4) this repeats so 1 of the characters is animating and after its finished it chooses another.
I know GS has some pretty serious memory leaks but this seems a little strange and im starting to think i can't trust the total memory display.
Rant over
![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
Darren.
Comments