Cocos2D Sprites auto removal
Hi All,
I am working on a game app with bullets shooting zombies. I have lots of Zombies in the game play.
When bullet hit the zombies, I would like to show an animation with a sprite sheet showing the zombie dropping, die and disappear from the scene.
How can I can this easy without having to track it? i.e. Fire a animation sprite in X,Y coordinate, let the animation run, then remove that animation sprite from screen and memory.
Thanks.
__________________
KennyChong
iPhone SDK Fanatic!
|