Sanket Kachhela
Sanket Kachhela

Reputation: 10856

curve motion of object in Cocos2d

i am trying to develop a game. where i have task like that throw a ball from a specific point in curve motion. i have found tutorial http://dan.clarke.name/2011/04/how-to-make-a-simple-android-game-with-cocos2d/ in this object goes in linear motion. can we move an object in curve motion ?

any help will be appreciated.

Thanks

Upvotes: 0

Views: 386

Answers (1)

Sugar
Sugar

Reputation: 519

Inside test project there are some examples with curve motion.

UPD: seems like curves not exactly supported, but there's some tricks about it. Try this

http://dashiellgough.wordpress.com/2011/08/04/cocos2d-move-along-a-curve-bezier-animation

http://www.cocos2d-iphone.org/forum/topic/4853

Upvotes: 1

Related Questions