I am currently working on an infinite side scroller game.My problem is that the first time the game starts ,it scrolls pretty hard, the odd thing is that the fps do not drop, it’s at 60 constant andiIf you die and replay, it works perfectly!I have a batch node containing all my textures, and i get this message, CCSpriteBatchNode: resizing TextureAtlas capacity from  to .Could this be the problem?Also i searched the forum but could’t find anything useful!
The message that the texture atlas resizes its capacity is merely a informative message. There is nothing wrong with your app. If you want to prevent the resizing (allocating enough memory once is faster than having to reallocate), you can give the batch node a initial capacity that is large enough to hold all items.
Nope, the same things are loaded each time, the fps does not drop, my parallax works smooth, my hero also smooth, but the ground is lagging really bad, and some of the obstacles!Basically all the things that come towards the hero are lagging the first run!I must do some more tests, there must be something i’m missing! The ground sprite is 480 in width, and 30 in height, maybe this could be the problem!