Objective-c Cocos2d moving a sprite

Posted by marcg11 on Game Development See other posts from Game Development or by marcg11
Published on 2011-11-24T19:54:12Z Indexed on 2011/11/25 2:20 UTC
Read the original article Hit count: 518

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

© Game Development or respective owner

Related posts about animation

Related posts about sprites