Anyone that can give any hint of the smartest way to do a main loop animation? I don't want to use CCAnimation because I want to control the animations frame by frame.
Shall I store the sprite rect (relative to the sprite sheet) for each individual frame in an array, and then look up the suiting rect in each animation step? I tried to find out how this is done in CCAnimation, but I didn't succeed...
- How to get the rect for each frame at initialization?
- How to set the rect at each animation step?
- Do I need to use CCSpriteBatchNode? I guess not, eh?