Skip to content

Export Combinations

Juan Gaspar García edited this page May 6, 2022 · 1 revision

Generate and export every combination of layers inside groups. Only one layer inside each group will be exported at a time. Commissioned by AnomuraGame.

Usage

Keep your layers organized in groups. For every group there is, only one layer at a time will show in every exported file, and one layer of every other group. All possible combinations will be exported.

Layers outside groups will be ignored. Nested groups are undefined behaviour.

Note.- Large numbers of combinations require a long exporting time. Be patient!

Options

  • 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.
    • {combination}: The combination number.
  • 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.

Example

  • In a sprite with 3 layer groups, and 4 layers inside each group, the script will create and export a total of 4x4x4 = 64 combinations.
Clone this wiki locally