Hello guys,
I am using Texture packer to create rgba4444 and rgb565 pvr textures for use in Corona.
I am using a recent Macbook (Core 2 Duo, Nvidia 9400) updated to the latest OSX (10.6.7). I am using the latest build of Corona, and I am developing for iPod Touch 4th gen. Plus i have installed the latest iphone SDK.
-
I input a 512x512 sprite sheet with alpha into TP.
-
for output settings, I use the following:
Data format: Corona TM SDK
Data file: auto generated
Texture Format: pvr
Image format: rgba4444 or rgb565
Texture file: auto generated
Dithering: Floyd Steinberg with alpha
Premultiply alpha: NO
AutoSD: NO -
I hit the publish button, and the pvr texture is generated correctly (both as shown by Texture Packer PVR viewer and by the PowerVR PVRTC viewer). The texture size is 512x512, it retains alpha… it´s exactly as I need it.
-
I move the texture into my project root folder (where I have been working with PNGs up to now with no problems.
-
I change the code accordingly to use the new pvr textures
But then the pvr textures do not load in the simulator (PNGs load fine, though). There are no warnings or errors at build time or when compiling for the ipod. The game actually compiles, and I can load it, but when I reach the portion of the game where I used the pvr (for testing) the game goes down in flames.
What am I doing wrong? Any help is appreciated!
Thanks!
Eduardo [import]uid: 31682 topic_id: 8428 reply_id: 308428[/import]