pixel-sprite-generator-luxe

February 2, 2022 ยท View on GitHub

Haxe port of Pixel Sprite Generator by zfedoran, modified to work with Luxe engine as Component.

Live Example

WEB Build - http://pub.darekgreenly.com/github/pixel-sprite-generator-luxe

Installation

This repo comes with an example usage. You can just copy the folder psg to your own project.

Algorithm

The sprites are generated by using a two dimensional mask. The values in the mask are then randomized and mirrored. The resulting template is rendered to a texture.

The algorithm is explained in more detail on Dave Bollinger's website.