Using CCSpriteFrameCache without CCSpriteBatchNode
Posted
by
AwDogsGo2Heaven
on Stack Overflow
See other posts from Stack Overflow
or by AwDogsGo2Heaven
Published on 2012-09-20T02:35:49Z
Indexed on
2012/09/20
3:37 UTC
Read the original article
Hit count: 147
cocos2d-iphone
I want to know if there is any benefiting caching a sprite sheet and accessing the sprite by frame without using the CCSpriteBatchNode?
In some parts of my game the sprite batch node is useful because there is a lot on the screen, however on another part its not, because there are just a few things, and there are requirements for layers so CCSpriteBatchNode wouldn't be useful. However, for the sake of consistency I would like to use Sprite Sheets for all my sprites, and so was beginning to wonder if I would still receive any benefit from it? (Or worse that it could some how be slower...)
© Stack Overflow or respective owner