You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
I'm busy with a small game framework using your console command for creating the atlas.
What game programmers need is a 1px padding around each frame.
Sounds weird, but as the documentation say
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.
command option: --add-padding:1px
EDIT:
And the option to do only horizontal atlas:
Because some game frameworks say ;)
Multiple frame images are assumed to be laid out in a horizontal strip, in which case width and height are the dimensions of each frame, and the source image must be wide enough to contain the entire strip.
EDIT2:
Sorry there is a --sheet-height=512 --sheet-width=512 already...
Android definitely seems much more stable (at least on older devices) with power-of-2 size images.
And at least one device I've tested (HTC Hero / G2 Touch) refuses to load 1024x1024 images (512x512 may be max).
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
The text was updated successfully, but these errors were encountered: