Hi,
I am facing quite an odd situation particularly on some Android devices, we are constantly adding sprites in a spritebatch and when the capacity is reached apparently the spritebatch does not grow and the sprites do not get rendered…the objects are there, created and run actions but are not rendered. This happens after an upgrade of cocos2d-x from 0.11 to 2.1.0 and only on Android. Win32 works ok.
I use the following code:
batch=CCSpriteBatchNode::create("spritesheet.png");
sprite=CCSprite::createWithSpriteFrameName("frame.png");
batch->addChild(sprite);
Any ideas?