Rotate Sprite endless

Rotate Sprite endless

I want rotate sprite endless. How to do it?


node->runAction(RepeatForever::create(RotateBy::create(1.0f, 360)));

Thank you very much!

Also, this is covered in our docs :slight_smile: I’d suggest reading the first few chapters to give you a jump start on the concepts of Cocos2d-x.

Guess you know, the link is not working. :slight_smile:

The link has been updated.