Debug Arcade Physics Body Colors Plugin (Phaser 3)

Colors debug outlines for disabled, blocked, touching, and embedded states.

Quick load

function preload () {
  // And add `{ debug: true }` in Arcade Physics config.
  this.load.scenePlugin('PhaserDebugBodyColorsPlugin', 'https://cdn.jsdelivr.net/npm/phaser-plugin-debug-body-colors@4.0.0');
}

Examples

NPM

2 Likes