Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Haxe port of the spriterAS3 library by Abel Toy

branch: master
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.