I am new to cocos2d and this is my first post.
Inside my game scene init I have code creating 600 sprites. I used a sprite sheet (CCSpriteFrameCache) and the created sprites are added into two CCSpriteBatchNode's. The actual images used to create the 600 sprites are 19 (they are all on the sprite sheet). A lot of the sprites are created out of the same image. This initializaiton drops my frame rate down to 30 in my iphone simulator. Commenting out this initializaiton raised the frame rate back to 59~60. I thought the initialization is a one time shot and once the sprites are cached (in the CCSpriteFrameCache) rendering is fast. But apparently this is not the case or I missed anything? The reason that I have so many different sprites is because I'd like to mix match of different sprites to creat variations. If there is no solution to the performance problem I'll have to combine them together into just a few sprites and loss the flexibility to create variation.
Thanks for your attention and help.