nklbdev / godot-4-importality

Universal raster graphics and animations importers pack
MIT License
337 stars 7 forks source link

Transfer the sprite sheet packing from the Aseprite functionality to Importality internal algorithm #1

Closed nklbdev closed 1 year ago

nklbdev commented 1 year ago

Aseprite sometimes has bugs when packing the sprite sheete, related to spacings between the sprites and the edges of the atlas.

The Issue at Aseprite repository

For example, a free set of template animations by the author Zeggy, which can be downloaded from itch.io, Aseprite packs the sprite sheet incorrectly if you specify options:

image

In the picture below, I filled the entire area not used by the sprites with blue, and the places where the sprites are in contact with each other and with the borders of the atlas became visible.

ASEPRITE_BUG