I’m trying to use a pvr.ccz sprite sheet using Cocos2d-x 2.1.2. I created it in Zwoptex and saved it in Cocos2d plist format so everything is good on that end. The problem is, when I try to load it the app crashes complaining that it can’t find the png file! png isn’t mentioned anywhere in my code, what gives?
Here is the code:
worldBackSheet = CCSpriteBatchNode::create;
And here is the error that gets printed out:
cocos2d: CCSpriteFrameCache: Trying to use file W1Backgrounds.png as texture
Cocos2d: Get data from file(W1Backgrounds.png) failed!
Cocos2d: cocos2d: CCSpriteFrameCache: Couldn't load texture
W1Backgrounds.plist clearly states the the texture format is .pvr.ccz as seen in the snippet below from that file:
Any ideas why this isn’t working?