-
Notifications
You must be signed in to change notification settings - Fork 40
Export Slices
Juan Gaspar García edited this page May 6, 2022
·
1 revision
Export a sprite sheet into individual files, each one named and grouped accordingly. Commissioned by Imvested for his Minecraft resource pack.
You have to set up your slices in your sprite first. Use the slice tool (alt. to
the move tool) to create slices. Double-click a slice to edit its Name and User
Data values. These values are used for the exported filename. You can use /
(Linux/macOS) or \ (Windows) to nest folders.
- Output directory: The folder where to export. Note that you will specify a file, not a folder. This is because Aseprite's API doesn't support folder selection.
-
File name: The name of every exported file. The possible formatters are:
-
{spritename}: The name of the sprite to export. -
{slicedata}: The user data of the slice. -
{slicename}: The name of the slice.
-
- Export format: File format of exported files.
- Export scale: The scale at which to export. The resolution of the file will be multiplied by this number. Useful for media sharing.
- Save sprite: If checked, the full sprite will be saved in the output directory.
- A slice with name
slice1will be exported asslice1.png. - A slice with name
slice2and User Datagroup1will be exported asgroup1/slice2.png. - A slice with name
slice3and User Datagroup1/subgroup1will be exported asgroup1/subgroup1/slice3.png.
Note.- Examples made for Linux/macOS systems. Replace / with \ for
Windows.