Skip to content

Instantly share code, notes, and snippets.

/*
An advanced frame and state manager for Pixi MovieClip sprites.
Use it like this:
Add the advanced state player to a PIXI.MovieClip
addStatePlayer(movieClipSprite);
Set the frame rate