Lightnet Posted April 11, 2018 Share Posted April 11, 2018 Could not find destroy function in the particle Emitter and is there best way to remove from scene? Link to comment Share on other sites More sharing options...
Antriel Posted April 11, 2018 Share Posted April 11, 2018 You must destroy the created particle manager. Not the emitters. var particles = this.add.particles('spark'); var emitter = particles.createEmitter(); emitter.setPosition(400, 300); emitter.setSpeed(200); emitter.setBlendMode(Phaser.BlendModes.ADD); this.time.delayedCall(3000, function() { particles.destroy(); }); prob 1 Link to comment Share on other sites More sharing options...
Lightnet Posted April 12, 2018 Author Share Posted April 12, 2018 Oh that what I been missing. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts