0 like 0 dislike

I'm trying to make an Atlas with a 8x4 , incrementation sprite must be in column.

After the 21th I can't place the sprite in the correct place. Plus I didn't find the "undo" fonction... Is this a bug ? Do you have a most recent version of this Application ?

See the video :  https://youtu.be/Ax501Dop4p0

Thank you for your answer
by mtakerkart (160 points)

1 Answer

0 like 0 dislike
Hi !

The atlas builder doesn't guarantee a specific physical layout in the texture when you drop separate images.

The rectangles saved in the textures should be in the proper order however.

Basically, it uses a rectangle-packing technique that tries to optimize the used texture space when you pack images of different sizes, which causes it to behave like this.

When you use the atlas in popcorn though, you'll still be able to do, say, 'LifeRatio * 24' and get the proper textureID that will index the proper texture in the atlas, even if it is packed in a non-linear way.
by Julien (32.8k points)