totallybueno Posted October 11, 2014 Share Posted October 11, 2014 Hi there,I´m having a problem with an emitter, I´m trying to change the particles sprite and it seem´s it´s no working... I have a normal code for the emitter this.emitter= this.game.add.emitter(this.hero.x, this.hero.y, 400); this.emitter.makeParticles('sprite1'); this.emitter.minParticleSpeed.setTo(0,200); this.emitter.maxParticleSpeed.setTo(0, 200); this.emitter.gravity = 500; this.emitter.minRotation = 0; this.emitter.maxRotation = 0; this.emitter.minParticleScale = 3; this.emitter.maxParticleScale = 3; this.emitter.start(false, 4000, 20);And I was trying to change the particles this way, I also tried stopping, changing and starting again but it´s not working. How should I do that? I guess it´s possible with the same emitter. Thanks.this.emitter.makeParticles('sprite2'); Link to comment Share on other sites More sharing options...
Recommended Posts