Hello Guest

Author Topic: Not optimized atlas?  (Read 7230 times)

3do

  • Newbie
  • *
  • Posts: 1
    • View Profile
Not optimized atlas?
« 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Not optimized atlas?
« Reply #1 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