Spriter runtime for Haxe with 0 allocation for hxcpp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Sources/spriter
Tests
.gitignore
.gitmodules
.travis.yml
LICENSE
README.md
build.hxml
haxelib.json

README.md

travis status

Spriter runtime for Haxe with 0 allocation for hxcpp

Ported originaly from https://github.com/loodakrawa/SpriterDotNet Modified to separate completely rendering from logic and remove GC use while animating.

Usage

You can see an example for kha at https://github.com/wighawag/spriter_test

to create :

var spriter = Spriter.parseScml(scmlContent); //parse the scml file 
var entityInstance = spriter.createEntity("Player"); //create an entityInstance from the name of one of the entity in the scml

in the update then :

entityInstance.step(delta);