Skip to content

Acemobe/SpriterAS3Anim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

SpriterAS3Anim

AS3 code to animate Spriter Animations.

var	atlas:TextureAtlas = mAssetManager.getTextureAtlas("player-atlas");		// load the texture atlas
var	xml:XML = mAssetManager.getXml("player");								// load the scml
var	name:String = "player";
var 	anim:String = "idle";

var	s:Spriter = new Spriter (name,anim, xml, atlas);								// create an instance of a spriter animation
s.play ("idle");

addChild(s);
Starling.juggler.add(s);

About

AS3 code to animate Spriter Animations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published