phaser-debug-emitter

1.1.2 • Public • Published

Screenshot

Demo

Use

// Show center and area
// {color}, if null, depends on the emitter's `on` state
game.debug.emitter(emitter, color = null, filled = true)

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

// Count existing particles
// Bar is {width}px × {height}px
game.debug.emitterTotal(emitter, x, y, width = 100, height = 10, color = null, label = emitter.name)

/phaser-debug-emitter/

    Package Sidebar

    Install

    npm i phaser-debug-emitter

    Weekly Downloads

    1

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • samme