Hi
I'm adding quite big amount of child nodes ( sprites to sprite batch to be exact ) every game restart and it took some time, which could be noticeable for user. ( around 0.5 - 0.8 seconds ) I'm adding about 1500 sprites, so it is quite a big number. Of course, game is still running fine on 60fps after that, even on older devices - but loading time is an issue now ( Scene is "restarting" every 'game over', and game overs are very often in this game - so this could be an annoying thing for user )
Of course I'm writing this post for a reason ;) I've checked in Instruments profiler and it seems that most of the loading time is spend on 'addChild' method of CCNode. So, my question is how can I optimize this process ? Any tips ?
Cheers! And thanks again for @riq and others for this fantastic engine, thanks to them, my next game is nearly finished.