How can I draw a line using a texture in Cocos2D? Specifically I'm looking to create an 开发者_运维问答effect similar to: http://www.slickcar.com/products/purple-neon.jpg
Thanks!
Check out this repository https://github.com/hiepnd/cocos2d-ext/. CCNode+Ext.h has a function called (drawLineFrom:to:texture:baseLength:stretch:). Hope it helps :)
精彩评论