Objective-c Cocos2d moving a sprite
- by marcg11
I hope someone knows how to do the following with cocos2d:
I want a sprite to move but not in a single line by using
[cocosGuy runAction: [CCMoveTo actionWithDuration:1 position:location]];
What I want is the sprite to do some kind of movements that I preestablish. For example in some point i want the sprirte to move for instance up and then down but in a curve. Do I have to do this with flash like this documents says?
http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:animation
Does animation in this page means moving sprites or what?
thanks