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 *

 

 

 

Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.