I am using the cocos2d-x 2.0 and trying to use the sprite sheet to run the animation.
CCSprite* spriteAnim = CCSprite::spriteWithSpriteFrame~~>spriteFrameByName);
The code just add the animation sprite in the layer. But the animation sprite have not run.
How can i run the sprite sheet?