Jump to content

phaser-debug-emitter: Debug methods for particle emitters


samme
 Share

Recommended Posts

For when you can't figure out what your emitter is doing. GitHub / NPM / Demo

// Show center and area
game.debug.emitter(emitter, color = null, filled = true)

// List properties
game.debug.emitterInfo(emitter, x, y, color = null)

// Count existing particles
game.debug.emitterTotal(emitter, x, y, width = 100, height = 10, color = null, label = emitter.name)

 

screenshot.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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