在使用cocos2dx-js 3.16时遇到的问题

使用之前老项目的plist文件创建的粒子,会报错或者无法显示

在网上找到的解决方案,实测可用:

ParticleEditor在线编辑地址:http://onebyonedesign.com/flash/particleeditor/

 导出效果时,必须勾选Include .PLIST file选项,单后点Export particle,导出文件里只有.png和.plist文件有用。在代码中加载:

var particleSystem = new cc.ParticleSystem("res/particle.plist");
this.addChild(particleSystem);
原文地址:https://www.cnblogs.com/liugangBlog/p/8510721.html