Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Haxe port of the spriterAS3 library by Abel Toy
Haxe
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/com/revolugame/hxSpriter
README.md
haxelib.xml

README.md

HxSpriter

Haxe port of the spriterAS3 library by Abel Toy

Version 0.9

By Adrien Fischer

Quick Install Guide

You need NME to use this library.

Getting Started Guide

In your NME file, all Spriter's ressources must be in the sprites directory.

<assets path="path/to/the/sprites/directory" rename="sprites" />

Classic way (flash, cpp)

var spriter : BitmapSpriter = new BitmapSpriter('BetaFormatHero.SCML', 100, 300);
spriter.playAnimation('idle_healthy');
addChild(spriter);

Flixel (flash, cpp)

var spriter : FlxSpriter = new FlxSpriter('BetaFormatHero.SCML', 100, 300);
spriter.playAnimation('idle_healthy');
add(spriter);

HaxePunk (flash)

var spriter : HxpSpriter = new HxpSpriter('BetaFormatHero.SCML', 100, 300);
spriter.playAnimation('idle_healthy');
addGraphic( spriter );
Something went wrong with that request. Please try again.