The CCRibbon class, together with touch input, can be used to create the line-drawing effects of popular games.
CCRibbon* ribbon = [CCRibbon ribbonWithWidth:32 image:@"ribbon.png"]; [self addChild:ribbon z:7 my_tag];
Note: you can’t remove individual points from a CCRibbon.
You can only remove the whole CCRibbon by removing it as child from its parent.