Skip to content

Aseprite script to automate mirroring and shading of Mindustry block sprites.

Notifications You must be signed in to change notification settings

stacktrace-error/slice-to-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Slice to Block

This script will instantly mirror and shade the contents of a small slice into a finished block each time it is triggered.

Thank you to YellowAfterlife for making the original mirror shade script (I stole a bit off the end), and stabu_ for helping me condense the script into one step!

scriptdemo2.mp4

Installation

Download the script here, then open your scripts folder:

image

Move the script inside, and press File > Scripts > Rescan Scripts Folder. It should now appear when opening File > Scripts again, and clicking it will run it once. If your Ase version supports it, binding an easy to reach key to it is recommended.

Usage

To define colors to be swapped, create a layer called swaps with the affected palettes in the format below.

image

Unused colors, layer position, visibility, and settings do not matter. If frames are used, the script will use the active frame's swaps.

Trigger the script either by pressing your keybind, or selecting it in File > Scripts. Your sprite should be square and trimmed to the block you want to shade. Everything but the following slice of the selected layer/cel will be removed, and the remaining part copied to all corners, to remove asymmetries.

image

About

Aseprite script to automate mirroring and shading of Mindustry block sprites.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages