https://github.com/EsotericSoftware/spine-scripts
- Open Aseprite
- Go to File > Scripts > Open Scripts Folder
- Drag the included
Prepare-For-Spine.lua
file to this directory - In Aseprite, click File > Scripts > Rescan Scripts Folder
After following these steps, the "Prepare-For-Spine" script should show up in the list.
- Create your sprite just like you would in Photoshop. Each "bone" should be on its own layer.
- Keep in mind that layer "groups" are ignored when exporting.
- When you're ready to bring your art into Spine, save your project and run the
Prepare-For-Spine
script. This will create a .json file as well as an "images" folder in the directory your aseprite project is saved in. - If you get a dialogue requesting permissions for the script, click "give full trust" (it's just requesting permission for the export script to save files).
- Open Spine and create a new project
- Click the Spine Logo in the top left to open the file menu, and click Import Data.
- Set up your Skeleton and start creating animations!
- Hiding a group of layers will not exclude it from the export. Each layer needs to be shown or hidden individually (group visibility is ignored)
- Not as many options as the Photshop script. Maybe I'll add these in the future but honestly i've never used any of them so we will see.
- Changed to export images trimmed to the size of their non-transparent pixels.
- Hidden layers are not included in the json file for importing into Spine.
Initial Release