Jump to content

Emitter Explosion not exploding


Recommended Posts

Hey Community,

I just updated from 2.5.0 to 2.7.8 and now my emitters don't explode anymore. They produce there particles and them which live for there desired lifespan but don't move anymore.

var em = game.add.emitter(0, 0, 10);
em.makeParticles('SBCollectibles', ['StarOrangeParticle.png', 'StarPinkParticle.png', 'StarYellowParticle.png']);
em.setXSpeed(-300, 300);
em.setYSpeed(-300, 300);
em.gravity = 500;
em.start(true, 500, null, 10);
I rolled back to 2.5.0 and work as expected 
Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...