Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Sprite sheet padding on import #78
From Eiye...@gmail.com on February 21, 2012 13:48:52
What do you need to do? I think thzt adding padding to import sprite sheet would be useful. Some tile sheets add spaces between sprite, and thus, importing them with the space is quite annoyant. How would you like to do it? Adding two input boxes to define space width/height would be perfect, don't you agree?
Original issue: http://code.google.com/p/aseprite/issues/detail?id=78
I'm busy with a small game framework using your console command for creating the atlas.
Import note: When creating an image atlas or an image containing multiple animation frames, it is a good idea to add a single pixel border around each frame that extends the pixels at the edges of the frame. This will prevent rendering 'noise' caused by accidental fetches of pixels outside the frame, which can sometimes occur due to mathematical inaccuracies.
And I had that problem, but solved it by adding 1px padding by hand.
Less important, but its cool if its supported
Android definitely seems much more stable (at least on older devices) with power-of-2 size images.