cocosjs粒子动画添加plist

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

     particleSystem.setScale(1)

           particleSystem.x = target.getPosition().x; 

           particleSystem.y = target.getPosition().y;         

           this.addChild(particleSystem,100100);

你可能感兴趣的:(cocosjs粒子动画添加plist)