s4m_ur4i Posted May 10, 2018 Share Posted May 10, 2018 ANSWERED Hi, By updating the phaser 2.x version I stumbled upon >all particles are broken<. this is the extended Phaser.Particles.Arcade.Emitter class: as line7>> "this.start(false <- should revive a particle at the emitters position after "lifetime". it just doesn't do anything. All particles are done once, and they do not repeat themselves anymore. Was there a breaking change I did not get? note: The v2.7.x gravity change is not the case here constructor (config: any, amount: number = 10) { super (config.game, config.x, config.y, amount); config.level.layers.effects.add(this); this.setYSpeed(-20, -200); this.setXSpeed(-5, 5); this.makeParticles('assets', 52); this.start(false, 100, 150, amount); //this should revive particles after lifespan(2), but doesn't console.log(this.children); } Any thoughts? regards Link to comment Share on other sites More sharing options...
s4m_ur4i Posted May 10, 2018 Author Share Posted May 10, 2018 Done. My fault, didn't see amount still passing into start this.start(false, 100, 150, amount); Link to comment Share on other sites More sharing options...
Recommended Posts