JVC
JVC

Reputation: 570

Texture Packer pvr.ccz files

Can Texture Packer's pvr.ccz files be used in a non cocos2d app? I'd like to use them with core animation. Is this possible?

Upvotes: 1

Views: 1687

Answers (1)

CodeSmile
CodeSmile

Reputation: 64477

Out of the box? No.

You can write your own .pvr.ccz texture loader respectively adapt the .pvr.ccz texture loading code from cocos2d. The key part really is just the compression format (ccz) which uses the zlib compression provided by the iOS/Mac SDK. After inflating the compressed file, you end up with a regular PVR texture that you can use in Core Animation.

Upvotes: 3

Related Questions