Skip to content

Instantly share code, notes, and snippets.

@toughrogrammer
Last active December 28, 2015 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toughrogrammer/7575364 to your computer and use it in GitHub Desktop.
Save toughrogrammer/7575364 to your computer and use it in GitHub Desktop.
Usage of my cocos2d-x sprite animation class
// Create animatino class and run it
CCNode *anim = MyAnimation::create( "gamescene/star_sprite_animation.json" );
anim->PlayWithSequence( "eaten" );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment