✮✮✮ Reusing actors and Total Memory ✮✮✮

UtopianGamesUtopianGames Member Posts: 5,692
edited September 2012 in Working with GS (Mac)
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 :)

Darren.

Comments

Sign In or Register to comment.