This repository contains a script for Aseprite that helps you extrude tiles in a tilesheet. This is particularly useful for game development, where you need to avoid texture bleeding.
This script is a direct port of the Tileset Extruder by sergiss's Javascript web app to Lua for Aseprite.
- Extrudes tiles in a tilesheet to prevent texture bleeding.
- Easy to use with Aseprite.
- Customizable extrusion size.
- Aseprite v1.2.10 or later.
- Download the
extrude-tilesheet.lua
script. - Open Aseprite.
- Go to
File > Scripts > Open Script Folder
. - Copy the
extrude-tilesheet.lua
script into the folder. - Restart Aseprite.
- Open your tilesheet in Aseprite.
- Go to
File > Scripts > extrude-tilesheet
. - Enter the amount of columns and rows.
- Enter the desired extrusion size in pixels.
- Run the script to extrude your tiles.
- After generating the extruded tilesheet, the color palette of the generated "sprite" will be entirely filled with black.
- Workaround:
Palette Options > New palette from sprite
will re-generate a new palette from the sprite.
- Workaround:
Contributions and feedback are welcome! Please open an issue or submit a pull request.