Hello everyone! I've been having a long time issue with Cocos2d that I'm hoping someone here can address. In the game I am developing all of the levels I have developed start off very choppy. The frame rate fluctuates highly until the level has been running for a few seconds. After that the level runs smoothly at 30+ fps. I've noticed that this happens after a TextureAtlas has been resized. The console reports the following lines during debugging and then the frame rate smooths out:
Resizing TextureAtlas capacity, from [1] to [2].
Resizing TextureAtlas capacity, from [3] to [5].
Any ideas on what is causing this? I'm not using any TextureAtlas in some parts of my game and for some reason there is still one being resized. Is it the transition that I am calling before loading the level? I'm initializing my level in onEnterTransitionDidFinish, is this wrong? Any input would be great! Thanks.
*edit* forgot to mention that I'm running cocos2d v0.8.1