Hello Guest

Author Topic: PVR textures don't load properly  (Read 4824 times)

vambier

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 35
    • View Profile
PVR textures don't load properly
« on: October 02, 2012, 08:24:12 pm »
I've created pvr textures but I don't see any settings in the inspector.
The same is when I make a spritecollection of this texture and then create a spritesheet, also no settings there.
Can you help me with this? I really need pvr textures since it save a lot of memory.
The pvr's are created with TexturePacker

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: PVR textures don't load properly
« Reply #1 on: October 02, 2012, 08:38:17 pm »
Use original source textures for the atlas, and in the sprite collection editor settings page, set compression to "Compressed". This will be PVR compressed on IOS. You can further optimize this by selecting the atlas texture and set up platform specific overrides on there. You shouldn't start with PVR textures, as PVR is block based and will cause issues when atlased.

vambier

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: PVR textures don't load properly
« Reply #2 on: October 02, 2012, 08:55:41 pm »
Wow, that's great! :-) Thanks for the quick reply by the way.
I got another question though, I used another engine before this one. I that engine I was able to load a png(or pvr or whatever) And that could consist of multiple textures. In the engine I could then create a new texture and give position + size of that texture in that file. Is something like that possible with your toolkit?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: PVR textures don't load properly
« Reply #3 on: October 02, 2012, 10:12:03 pm »
You can create sprite collections at runtime, that should do what you mentioned there:
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,340.0.html

This will be integrated into the next version.

vambier

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: PVR textures don't load properly
« Reply #4 on: October 02, 2012, 10:36:44 pm »
Cool! Looking forward to that one!
The link didn't work, or I don't have the privileges to watch it:-)

Got any idea when the next version will be released?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: PVR textures don't load properly
« Reply #5 on: October 02, 2012, 11:03:35 pm »
You will need to register following the instructions here, and you should be able to access the page:
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,34.0.html

No firm release date yet for the next one, but its currently in alpha testing. Beta as soon as I'm fairly certain it isn't going to break a ton of already existing projects!