Moving a sprite around the circumference of a circle in Cocos2d-iPhone
Posted
by CircleOfLife
on Stack Overflow
See other posts from Stack Overflow
or by CircleOfLife
Published on 2010-05-07T07:05:17Z
Indexed on
2010/05/08
15:18 UTC
Read the original article
Hit count: 690
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.
© Stack Overflow or respective owner