Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.39 KB

README.md

File metadata and controls

26 lines (15 loc) · 1.39 KB

Aseprite Scripts

To use, download the .lua files and put them in Aseprite's user script folder.

Parallax

parallax.lua (Right-click and "Save as") demo

By default each layer moves twice as fast as the one below.

To control speed manually, add s=<speed> to the layer names, like this:

layer names demo speeds

It also supports non-integer speeds. For example a speed of 1.5 will move alternately between moving by 1 pixel or 2 pixels, to give an average movement of 1.5 pixels.

non-int suburban

Update

Put "w=x", "w=y", or "w=xy" in the layer name to wrap the layer on the x and/or y axes. It wraps at either the layer bounds or the image bounds - whichever's bigger.

wrap