A collection of utility scripts for Aseprite to enhance your pixel art workflow.
Toggles visibility of all layers in the active sprite. If any layer is visible, all layers will be hidden. If all layers are hidden, all layers will be shown.
Imports a sprite sheet and splits it into individual layers based on provided sprite dimensions. Each sprite from the sheet will be placed on its own layer.
Exports layers and grouped layers from the active sprite to separate PNG files, organizing them in directories based on their group names. Each layer within a group is exported as an individual PNG file.
- Open Aseprite
- Go to File > Scripts > Open Scripts Folder
- Copy the desired script(s) into this folder
- Restart Aseprite or reload scripts (File > Scripts > Rescan Scripts Folder)
- Open your sprite in Aseprite
- Go to File > Scripts > Toggle Visibility
- All layers will toggle their visibility state
- Open a new sprite in Aseprite with the dimensions you want for the final sprites
- Go to File > Scripts > Import Sprite Sheet to Layers
- Select your sprite sheet file when prompted
- Enter the width and height of individual sprites in the sheet
- The script will create new layers, each containing one sprite from the sheet
- Open your sprite with layers in Aseprite
- Edit the script to set your desired export directory
- Go to File > Scripts > Layer Export
- The script will create directories for each group and export individual layers as PNGs
Feel free to open issues or submit pull requests with improvements!
This work is dedicated to the public domain under CC0 1.0 Universal. See the LICENSE file for details.