Hey all,
I'm using Cocos2d for a game project (aren't we all).
The actors in the game have aprox 24 frames per animation (such as a walking, hitting, running).
There should never be more than about 5 actors on screen at the same time.
Currently I have a sprite map for every animation. So, 24 frames in one texture, so that I can use sprite sheets.
Performance wise, would it make sense to use sprite sheets (512x512) to store the animations in? Or would it make more sense to store every "frame" as a separate PNG, and just use CCSprite?
The background of the game is very tiled, so there I can see the benefit of a sprite sheet. But it seems to me to be a lot of overhead to load a 512x512 texture if only 100x100 is displayed, and then the next 512x512 is loaded for the next character.
Hope this all makes sense, if you're reading this :-)
Thanks in advance for any help,
Nash