cocos 粒子系统

在线编辑PList文件:http://onebyonedesign.com/flash/particleeditor/

var customParticle = new cc.ParticleSystem(res.Flame_plist);

  this.addChild(customParticle,1000);

  var rainParticle = new cc.ParticleRain();

  rainParticle.texture = cc.textureCache.addImage(res.Flame_png);

  this.addChild(rainParticle,10000);

你可能感兴趣的:(cocos 粒子系统)