Skip to content
Haxe port of the spriterAS3 library by Abel Toy
Haxe
Latest commit 2dc8aa3 Jun 2, 2012 @po8rewq fix class name
Failed to load latest commit information.
src/com/revolugame/hxSpriter fix class name Jun 2, 2012
README.md Update instructions May 8, 2012
haxelib.xml Add the haxelib file May 9, 2012

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.