Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Zielak/pixel-sprite-generator-luxe
Pixel Sprite Generator prepared for Luxe engine
https://github.com/Zielak/pixel-sprite-generator-luxe
Last synced: 2 months ago
JSON representation
Pixel Sprite Generator prepared for Luxe engine
- Host: GitHub
- URL: https://github.com/Zielak/pixel-sprite-generator-luxe
- Owner: Zielak
- License: mit
- Created: 2015-02-04T09:31:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-02T13:27:52.000Z (over 2 years ago)
- Last Synced: 2024-04-13T17:08:21.792Z (3 months ago)
- Language: Haxe
- Size: 940 KB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-snowkit - Pixel Sprite Generator
README
pixel-sprite-generator-luxe
======================Haxe port of [Pixel Sprite Generator](https://github.com/zfedoran/pixel-sprite-generator) by [zfedoran](https://github.com/zfedoran), modified to work with [Luxe engine](http://luxeengine.com) 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](http://web.archive.org/web/20080228054410/http://www.davebollinger.com/works/pixelspaceships/) website.