Skip to content

Extrude sprite frames on exported Aseprite atlases

License

Notifications You must be signed in to change notification settings

jobtalle/AtlasExtruder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Extrude sprite frames on exported Aseprite atlases

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages