上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页
摘要: let particleSystem = cc.ParticleSystem(filename);//.plist文件 (.plist文件需要对应的.png文件)this.addChild(particleSystem); 阅读全文
posted @ 2020-02-14 18:27 流星曳尾 阅读(195) 评论(0) 推荐(0)
摘要: //序列帧动画let sprite = new cc.Sprite(arr_frame[0]);this.addChild(sprite);let ani = new cc.Animation();for(let i = 0;i < arr_frame.length; i++){ ani.addSp 阅读全文
posted @ 2020-02-14 14:29 流星曳尾 阅读(498) 评论(0) 推荐(0)
摘要: 如题 阅读全文
posted @ 2020-01-10 10:59 流星曳尾 阅读(236) 评论(0) 推荐(0)
摘要: 如题 阅读全文
posted @ 2020-01-03 15:40 流星曳尾 阅读(277) 评论(0) 推荐(0)
摘要: 如题 阅读全文
posted @ 2020-01-03 15:04 流星曳尾 阅读(102) 评论(0) 推荐(0)
摘要: 如题 阅读全文
posted @ 2019-12-30 16:22 流星曳尾 阅读(105) 评论(0) 推荐(0)
摘要: 如题 阅读全文
posted @ 2019-12-30 14:47 流星曳尾 阅读(271) 评论(0) 推荐(0)
摘要: let string = '0123456';string.substring(0,3);//start: number, end?: number 012(而非 0123)string.substr(0,3);//from: number, length?: number 012 阅读全文
posted @ 2019-12-26 15:00 流星曳尾 阅读(145) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页