Bezier Curves line

Hi there,
Sorry for this kind of stupid question, but I am totally newbie in game dev now.

I want to draw smooth line when user touch the screen, drawing line between two points or more (taken from event.x and event.y ) will produce jagged line, I want to create path with smooth curves like (Flight Control Game or Air Control)

I’ve known that Bezier Curves line will good for that. :slight_smile:

Please show me a sample.

Thanks in advance

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

Nice, thanks for sharing.

Nice, thanks for your help.