How to use CCRibbon in Cocos2D in iphone?

By | July 4, 2012

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.

Leave a Reply

Your email address will not be published. Required fields are marked *