An Aseprite extension to export animations into Sparrow V2 spritesheet format
Download the .aseprite-extension
from the Github Releases, and then you should be able to double-click the file to install it easily. See the Aseprite Documentation for further info on installing extensions into Aseprite.
Usage should be pretty simple and familiar if you've used Adobe Animate's "Export Sprite Sheet" option.
This extension uses Aseprite's animation tag feature for the spritesheet frame data. Whatever you tag on your timeline will be exported into the Sparrow XML file.
File > Export > Export to Sparrow Sprite Sheet
The command installs itself with the other exporting options, so it should be just as easy to access. It will open a small popup dialog window with some options similar to Adobe Animate's.
Save Spritesheet as
- Where you want to save both your image and your xml file. They will be given the same name, so you don't need to input a file extension.
Image Dimensions
- The sizing of the output image file. Right now we just have it set to
Auto Size
which just uses Aseprite's in-built spritesheet auto sizing. Usually this is good enough especially since we're likely to export pixel art.
- The sizing of the output image file. Right now we just have it set to
Width
- (unimplemented) Allows you to constrain the width of the output image file.
Height
- (unimplemented) Allows you to constrain the height of the output image file
Trim
- Whether or not the spritesheet should be trimmed before being created. This functions similar to the
Sprite > Trim
command, where it retains positioning of all animations.
- Whether or not the spritesheet should be trimmed before being created. This functions similar to the
Border padding
- The space between each frame, and the edge of the spritesheet.
Shape padding
- The space between each frame in the spritesheet.
Frame Rate
- Sparrow doesn't use "frame duration", so this will add extra "frames" into the sparrow .xml file, using the duration frame property in Aseprite. If you're using HaxeFlixel, you'd probably want this to match your
animation.add()
'sframeRate
argument.
- Sparrow doesn't use "frame duration", so this will add extra "frames" into the sparrow .xml file, using the duration frame property in Aseprite. If you're using HaxeFlixel, you'd probably want this to match your
Layers
- Allows you to specify certain layers to be exported only. Similar to Aseprite's feature.
- Visible: Currently visible layers will be exported
- Selected Layers: Currently selected layers will be exported
- Allows you to specify certain layers to be exported only. Similar to Aseprite's feature.
Included Animations
- A list of animations that will be included in the exported file.