2D Toolkit Forum
2D Toolkit => Support => Topic started by: vambier 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
-
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.
-
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?
-
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.
-
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?
-
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!