behreajj / AsepriteAddons

Lua scripts for Aseprite add-ons.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aseprite Add-ons

This repository developed out of the Medium article, "How To Script Aseprite Tools in Lua".

Installation

To install, click on the green Code button above. Select Download ZIP from the pop-up menu. Unzip the file after it has finished downloading. In Aseprite, go to File > Scripts > Open Scripts Folder. Copy commands, dialogs and support folders from the unzipped download into the folder that Aseprite has opened. Return to Aseprite, go to File > Scripts > Rescan Scripts Folder.

There is a known issue when Aseprite's script folder is on a file path that includes characters such as 'é' (e acute) or 'ö' (o umlaut).

Usage

Aseprite version 1.3 is the minimum version needed to run these scripts.

To use, go to File > Scripts and choose from entries in the dialogs or commands folder.

Scripts can be assigned shortcuts in Edit > Keyboard Shortcuts. Dialog buttons can be called by holding down the Alt key and pressing the underlined letter of the button's label. For example, Alt+C will close dialogs, per the 'C' in "CANCEL".

In dialogs that use custom sliders -- such as the LCH picker, color adjustment and normal picker -- holding down Ctrl and clicking will return the slider to a default value, holding down Shift and moving the mouse will increment the slider value.

References

For more resources, see

Gallery

This repo includes

  • Export Tile Maps and Sets to Tiled.

    Export Tiles

  • Color curves. (Test image source.)

    Color Curve

  • A conic gradient.

    Conic Gradient

  • A Floyd-Steinberg filter (Test model source.)

    FS Dither

  • A text insertion dialog.

    Insert Text

  • Interlaced layers. (Test image source.)

    Interlaced

  • LCh color picker.

    LCh Color Picker

  • A linear gradient.

    Linear Gradient

  • Luminance (grayscale) remapping. (Test image source.)

    Luminance remapping

  • Custom New Sprite

    New Sprite

  • Normal color picker.

    Normal Map

  • Normal from height.

    Normal From Height

  • Outline Gradient.

    Outline Gradient

  • Palette Manifest.

    Palette Manifest

  • Palette To Cel Assignment.

    Palette To Cel

  • A radial gradient.

    Radial Gradient

  • RGB channel separation.

    Separate RGB

  • Basic cel transformation.

    Cel Transformation

Appearances may vary as features are added to or removed from underlying scripts.

About

Lua scripts for Aseprite add-ons.

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%