Proper syntax for spritesheets with compressed format?


#1

I want to change my spritesheets to the compressed format but i cannot seem to get it to work. Do i just switch the spritesheet.png with spritesheet.pvr.ccz?

CCSpriteFrameCache::sharedSpriteFrameCache()>addSpriteFramesWithFile;
batchNode = CCSpriteBatchNode::create;
this
>addChild(batchNode);

Thank you in advance.


#2

Yes.