title: How to draw an arbitrary curve in cocos2dx
body: <p>I'm working on a game based on cocos2dx, now I need to draw an arbitrary curve as the finger moves on the screen,then the curve will become the path along which my hero walks.Any idea will be appreciated. </p>