phaser-plugin-debug-body-colors

3.0.0 • Public • Published

Phaser 3 Debug Body Colors Plugin

new Phaser.Game({
  plugins: {
    scene: [
      {
        key: 'DebugBodyColorsPlugin',
        plugin: PhaserDebugBodyColorsPlugin,
        mapping: 'debugBodyColors'
      }
    ]
  },
  physics: {
    arcade: { debug: true }
  }
});

Colors

  • disabled — gray
  • blocked, not disabled — red
  • touching, not disabled or blocked — yellow
  • embedded, not disabled, blocked or touching — aqua
  • not disabled, blocked, touching, or embedded — violet

Package Sidebar

Install

npm i phaser-plugin-debug-body-colors

Weekly Downloads

0

Version

3.0.0

License

ISC

Unpacked Size

11.9 kB

Total Files

6

Last publish

Collaborators

  • samme