0
votes

As far as I understand, CCSpriteBatchNode's role is to optimize rendering of many children by reducing the number of OpenGL instructions (if they all use the same spritesheet).

But I saw in the Cocos2D animation guide that CCSpriteBatchNode is used to animate a single sprite...

I'm a bit confused. Is there any benefit to use CCSpriteBatchNode to animate one single CCSprite? And why?

1

1 Answers

0
votes

In short, no. If you only have a single sprite on screen using a CCSpriteBatchNode is counterproductive, whether the sprite is animated or not.