摘要: let particleSystem = cc.ParticleSystem(filename);//.plist文件 (.plist文件需要对应的.png文件)this.addChild(particleSystem); 阅读全文
posted @ 2020-02-14 18:27 流星曳尾 阅读(187) 评论(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 流星曳尾 阅读(481) 评论(0) 推荐(0) 编辑