Hello all cocos2d friend,
I have a problem with CCSpriteBatchNode and my device HTC Evo. I am using several batch layers - one for background, one for foreground and one for UI. Sometimes occurs that UI layer is missing several sprites in the batch (particulary I have frame composed from edge sprites and inside sprite - missing are several edge sprites but not all and always the same ones).
When I render these sprites without batch, it works ok. The interesting thing is that when I jump to HOME and then back to the game, the batch is repaired! I figured out that the problem is fixed by calling method setupVBO(); after resume. So I thought that the problem will be somewhere in VBO. I created complete dumping of that batch and its texture atlas and data seems to be ok.
The problem will not occur on any simulated device. I have not another device to test.
Do you have any suggestions please?
Thanks for your time.