Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 829 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 829 Bytes

AtlasExtruder

Extrude sprite frames on exported Aseprite atlases. This script uses Pillow to edit the atlas image.

alt text

  • The function takes both a path to the exported image and a path to the exported json file containing all sprite frame locations.
  • The atlas must have enough padding between the frames to prevent the extrusion process from overwriting pixels. When using the CLI, use these parameters to create two pixel wide borders between frames: --border-padding 1 --shape-padding 2.

Aseprite currently cannot extrude sprite frames when packing sprite sheets. This script provides a workaround until this issue is resolved.