Jump to content

Destroy Particles


hissingpanda
 Share

Recommended Posts

How can I destroy particles on click, similar to this for sprites: http://phaser.io/examples/v2/sprites/destroy 

 

I would also like to change the cursor on mouse over. I've been trying to do this with the "Emitter.forEach(function(particle){});" function there doesn't seem to be a particle.mouseOver property like on sprites, so how would I destroy them in that way?

 

Thanks for any help.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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