2D Toolkit Forum

2D Toolkit => Support => Topic started by: 3do on February 09, 2012, 09:24:44 am

Title: Not optimized atlas?
Post by: 3do on February 09, 2012, 09:24:44 am
Hello,

Is it possible to have a not optimized atlas? I have a series of  16 images, 128 x 128, that 2d toolkit combine nicely in a single atlas of 512 x 512.
 I understand that 2d toolkit change the position of the single images in the atlas to best optimize the waste of space, but i would like to have an atlas which respect the original position of the images, without cropping the empty spaces.

Thanks
Delfo
Title: Re: Not optimized atlas?
Post by: unikronsoftware on February 10, 2012, 09:17:14 pm
Hello,

I can certainly add this as an option, but just out of curiosity, is there any particular reason you would like this for?

In the mean time, look for
Code: [Select]
// Comment these lines to disable trimmingin tk2dSpriteCollectionBuilder.cs, and uncomment the next few lines to disable trimming - you will need to commit your sprite collection for the change to take effect.

unikron