Improved spritesheet export functionality for Aseprite.
Go to file
2024-08-11 22:46:40 -04:00
.vscode Metadata updates. 2024-07-29 21:24:46 -04:00
.gitignore Get licensing and build configured. 2024-07-29 20:35:25 -04:00
abase-color.lua Large refactor and code cleanup. 2024-07-30 22:58:23 -04:00
abase-commands.lua Fix hidden layers not being exported correctly. 2024-08-11 22:46:40 -04:00
abase-layer.lua Fix hidden layers not being exported correctly. 2024-08-11 22:46:40 -04:00
abase-listeners.lua Large refactor and code cleanup. 2024-07-30 22:58:23 -04:00
abase-properties.lua Large refactor and code cleanup. 2024-07-30 22:58:23 -04:00
advanced-spritesheet-export.aseprite-keys Add keyboard shortcuts. 2024-07-30 20:44:35 -04:00
advanced-spritesheet-export.lua Large refactor and code cleanup. 2024-07-30 22:58:23 -04:00
LICENSE Get licensing and build configured. 2024-07-29 20:35:25 -04:00
Makefile Add keyboard shortcuts. 2024-07-30 20:44:35 -04:00
package.json Fix hidden layers not being exported correctly. 2024-08-11 22:46:40 -04:00
readme.md Documentation cleanup. 2024-07-30 21:54:35 -04:00

Advanced spritesheet exporter for Aseprite

This extension adds a more sophisticated spritesheet export command to Aseprite.

Installation

To install, go to Aseprite's Settings -> Extensions -> Add Extension, and select advanced-spritesheet-export.aseprite-extension

Features

  • Export layers regardless of visibility. (layers and groups can instead be explicitly ignored)
  • Selectively export layer groups as single sprites without modifying or flattening the groups.
  • Configure layer settings via Layer menu, right click menu, or keyboard shortcut.
  • Modify settings for multiple selected layers at once.

Usage

  • All layers are exported by default. To ignore the active layer or group, select Layer -> Advanced Export -> Toggle Ignore.
  • To export a layer group as a single sprite, select Layer -> Advanced Export -> Toggle Merge Group.
  • Invoke the tool via File -> Export -> Export Sprite Sheet (Advanced).

Default Keyboard Shortcuts

Command Keyboard Shortcut (Windows and Linux) Shortcut (MacOS)
Toggle Ignore Layer(s) Ctrl+Alt+I Cmd+Ctrl+I
Toggle Merge Group(s) Ctrl+Alt+M Cmd+Ctrl+M
Export Spritesheet (Advanced) Ctrl+Alt+E Cmd+Ctrl+E

Additional Notes

  • Ignored layers always take precedence over merging; if a sublayer in a group is ignored, it will not be merged into the final sprite.
  • Toggling the advanced export settings on a layer will modify the layer colors. The extension will attempt to detect and preserve user-colored layers. If you happen to use one of the exact colors we have chosen, this will fail. We have chosen odd alpha values to reduce the likelihood of a false negative, but if you are using layer colors extensively, this extension may not work well for you.
  • To force a layer's color to be controlled by the extension, simply reset the layer's color to all 0 values. (red, green, blue, and alpha should all be 0) You may need to toggle the export settings of a parent layer or create a new layer before the changes take effect.

Copyright 2024 Anna Wiggins

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.