An Aseprite utility script for recording snapshots in app to build time lapses.
It is recommended to go to the itch page for the tool to get the latest stable release: https://sprngr.itch.io/aseprite-record
If you would like to live on the edge and pull down the source code, you can clone this repo and copy that directory into your Aseprite scripts directory.
(I don't like that the script files have a space in their names, but it makes it look so much better in the Aseprite menus.)
This option will open up a dialog box that provides functionality take snapshots on an interval.
It requires there to be an active & saved sprite in order to run. The interval at which saves happen is based on sprite change events - when changes are made to the sprite, including undo/redo actions.
The interval is configurable in the dialog, lower numbers means more frequent snapshots. If you change the active sprite in the app, automatic snapshots will keep a cached reference to the target sprite until you target a new one with the dialog. Usage of the Command Palette and Take Snapshot command can be used in parallel while this is running.
This option will open up a dialog box to leave up in your editor, giving you access to the functionality to take a snapshot & open the time lapse for the current sprite if any snapshots are saved for it.
The functions of each button are described in detail below and are available as single actions that can be mapped to a keyboard shortcut.
This option saves a flattened png copy of the visible layers of the current sprite. It is saved to a sibling folder named <name of sprite>__record
. Each file will be saved with an incrementing count appended to the end of it. No modifications to your work are performed by this script, it only creates new files.
This will open the Aseprite dialog asking if you wish to load all sequenced files related as a gif. If you accept, it will load it as a cool time lapse of all your snapshots saved for the current sprite.
If any contributions are made, please be sure the code added/modified aligns with the LuaRocks Lua Style Guide.