Running an animation on a CCSprite
How does one run an animation or a series of pngs(e.g. 4 pngs) on a CCSp开发者_StackOverflow社区rite?
Constantly make the CCSprites image be this animation series?
Also, how does one rotate a CCSprite's orientation? e.g. 45 degrees rotation to the left or right
Thanks
Yes, you want to update the sprite's source every so often according to a timer.
For rotating, check out this tutorial: http://www.raywenderlich.com/692/rotating-turrets
精彩评论