Spriteranimation

author:
Phil Harvey
description:
AS3 Spriter Animation Playback. Supports Spriter B5.
compatible:
v1.2
homepage:
https://github.com/Acemobe/SpriterAS3Anim
download:
https://github.com/Acemobe/SpriterAS3Anim/archive/master.zip

Overview

New Spriter animation playback. Supports Spriter version B5. Including bone animation support.

var atlas:TextureAtlas = AssetManager.getTextureAtlas("player-atlas");     // load the texture atlas
var xml:XML = AssetManager.getXml("player");                               // load the scml
var name:String = "player";
 
var s:Spriter = new Spriter (name, xml, atlas);                             // create an instance of a spriter animation
s.play ("idle");
 
addChild(s);
Starling.juggler.add(s);

Changelog

  • 2013/12/04 23:34: First public version

User Comments

Feel free to edit this part of the page!

  extensions/spriteranimation.txt · Last modified: 2015/03/11 15:05 by 127.0.0.1
 
Powered by DokuWiki