I wanted to show path in my game using dotted lines and upon googling CCRibbon seems to be my best bet.
But it seems like i couldnt find anything by name CCRibbon.
I tried doing cocos2d::CCRibbon, but didnt workds.
In this form (http://www.cocos2d-x.org/boards/6/topics/9894) the guy explained that by including manually he is able to use it.
so i tried searching for “CCRibbon” file in cocos2d-x folder but all i can find is CCRibbon.pkg at location (D:2d-2.0-rc2-x-2.0.1\tools\tolua++)
but no .ccp of .h files.
After more googling i came to know about CCMotionStreak.
I tried using CCMotionStreak but
- CCMotionStreak has fading effect which i dont want
- its not creating dotted lines.