I have 50 little images. All are connected each other, as in a line, sort of like a cord. I want to move one of the node images and have the rest follow along like a cord, so they become a curve.
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
|
try using multiple CCBezierBy/CCBezierTo instances with a CCSequence instance for all of them. when initializing all the images have same position! and that's the starting position of your curve. then adjust position of images which come in front of others by calling you can also add this CCSquence instance to list of images actions in some update loop (and not during initialization) to make them appear in some particular order. |
|||
|
|