cocos js 模擬閃電特效

參考:https://krazydad.com/bestiary/bestiary_lightning.htmlhtml 直接上核心代碼:dom var drawLighting = function (x1, y1, x2, y2, displace) { if (displace < curDetail) { drawNode.drawSegment(cc.p(x1,
相關文章
相關標籤/搜索