Skip to content

debug

const debug: () => Plugin

Plugin for debug drawing (see Debug). It draws on a 2D canvas laid over the game’s, so it adds no sprites, works with any renderer, and costs nothing on frames with nothing to draw. Add it after the renderer.

Plugin