pixel-sprite-generator

Procedural pixel sprite generator similar to the old days of video game sprites. The sprites are algorithmically generated by combinatorial methods.


Keywords
android, cpp, cross, flash, game, ios, neko, openfl
License
MIT
Install
haxelib install pixel-sprite-generator 0.0.2

Documentation

pixel-sprite-generator

Haxe port of Pixel Sprite Generator by zfedoran.

Live Example

SWF - http://zielak.pl/pub/github/pixel-sprite-generator/PixelSpriteGenerator.swf

HTML/JS - http://zielak.pl/pub/github/pixel-sprite-generator/

Installation

Using Haxelib

haxelib install pixel-sprite-generator

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 canvas element.

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