pixel-sprite-generator

Procedural pixel sprite generator similar to the old days of video game sprites. The sprites are algorithmically generated by combinatorial methods.
https://github.com/Zielak/pixel-sprite-generator

To install, run:

haxelib install pixel-sprite-generator 0.0.2 

See using Haxelib in Haxelib documentation for more information.

README.md

pixel-sprite-generator

Haxe port of Pixel Sprite Generator by zfedoran.

Live Example

SWF - [http://zielak.pl/pub/github/pixel-sprite-generator/PixelSpriteGenerator.swf](http://zielak.pl/pub/github/pixel-sprite-generator/PixelSpriteGenerator.swf)

HTML/JS - [http://zielak.pl/pub/github/pixel-sprite-generator/](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.

Contributors
Zielak
Version
0.0.2
Published
3 years ago
License
MIT

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github