Debug Draw Plugin (Phaser 3)

:eyes:

bitmapmask alpha

7 Likes

Now shows camera bounds, deadzone, and follow target.

This is superb piece of work. Thank you @samme!

On the side note - there was a great plugin for Phaser 2 - Scenegraph which Iโ€™ve used constantly. Do you have any plans to port it for Phaser 3?

1 Like

@vforsh not exactly :slight_smile: , but there is Show display list and update lists, recursive.

That will do, thanks

Added drawing vertices (Mesh, Rope).

You can add to any example, in preload():

this.load.scenePlugin(
  'PhaserDebugDrawPlugin',
  'https://cdn.jsdelivr.net/npm/phaser-plugin-debug-draw@4.5.0',
  'debugDraw',
  'debugDraw'
);

Added Lights and Layers.

Hereโ€™s the plugin used with the graveyards lights example: