Hi
Sorry for another newbie question...
I've got a list of instances of a custom class inherited from Sprite (with a TNT anomation in it) and basedupon certain conditions I want to remove them and destroy them. This may not be the best for performance but so far I've tried removing them from the stage and setting them to nil but nothing ! They keep getting events and executing them as if they still were alive...
How can I "kill" them for good ?
Thanks
Paolo
Comments
If you use TNT Particles Engine, use :
Otherwise, it must be :
And remove Sprite objects from parent
I didn't think of removing the listeners and feeing up the animation.
Thanks a lot to both !
Cheers,
Paolo