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);
Feel free to edit this part of the page!