Moving a sprite around the circumference of a circle in Cocos2d-iPhone
- by CircleOfLife
I am new to Cocos2d. I have taken a look at the documentation at it looks pretty simple compared to what you need to do using basic Iphone classes such as UIAnimation etc.
I want to move a Sprite (eg. Bird, Plane or Car) around the center of a circle around its circumference, smoothly so that even the sprite rotates accordingly.
How is this possible in Cocos2d? It would be very helpful if someone can post some basic code.
Thanks.