Utils.Debug#renderShadow

renderShadow : boolean Should the text be rendered with a slight shadow? Makes it easier to read on different types of background. Source code: utils/Debug.js (Line 69)

Utils.Debug#quadTree()

quadTree(quadtree, color) Visually renders a QuadTree to the display. Parameters Name Type Description quadtree Phaser.QuadTree The quadtree to render. color string The color of the lines in the quadtree. Source code: utils/Debug.js (Line 707)

Utils.Debug#pointer()

pointer(pointer, hideIfUp, downColor, upColor, color) Renders the Pointer.circle object onto the stage in green if down or red if up along with debug text. Parameters Name Type Argument Default Description pointer Phaser.Pointer The Pointer you wish to display. hideIfUp boolean <optional> false Doesn't render the circle if the pointer is up. downColor string <optional> 'rgba(0,255,0,0.5)' The color the circle is rendered in if down. upColor string <optional&

Utils.Debug#pixel()

pixel(x, y, color, size) Renders a single pixel at the given size. Parameters Name Type Argument Default Description x number X position of the pixel to be rendered. y number Y position of the pixel to be rendered. color string <optional> Color of the pixel (format is css color string). size number <optional> 2 The 'size' to render the pixel at. Source code: utils/Debug.js (Line 560)

Utils.Debug#lineInfo()

lineInfo(line, x, y, color) Renders Line information in the given color. Parameters Name Type Argument Default Description line Phaser.Line The Line to display the data for. x number X position of the debug info to be rendered. y number Y position of the debug info to be rendered. color string <optional> 'rgb(255,255,255)' color of the debug info to be rendered. (format is css color string). Source code: utils/Debug.js (Line 541)

Utils.Debug#lineHeight

lineHeight : number The line height between the debug text. Source code: utils/Debug.js (Line 64)

Utils.Debug#key()

key(key, x, y, color) Renders Phaser.Key object information. Parameters Name Type Argument Default Description key Phaser.Key The Key to render the information for. x number X position of the debug info to be rendered. y number Y position of the debug info to be rendered. color string <optional> 'rgb(255,255,255)' color of the debug info to be rendered. (format is css color string). Source code: utils/Debug.js (Line 412)

Utils.Debug#inputInfo()

inputInfo(x, y, color) Render debug information about the Input object. Parameters Name Type Argument Default Description x number X position of the debug info to be rendered. y number Y position of the debug info to be rendered. color string <optional> 'rgb(255,255,255)' color of the debug info to be rendered. (format is css color string). Source code: utils/Debug.js (Line 433)

Utils.Debug#geom()

geom(object, color, filled) Renders a Rectangle. Parameters Name Type Argument Default Description object Phaser.Rectangle | object The geometry object to render. color string <optional> Color of the debug info to be rendered (format is css color string). filled boolean <optional> true Render the objected as a filled (default, true) or a stroked (false) Source code: utils/Debug.js (Line 645)

Utils.Debug#game

game : Phaser.Game A reference to the currently running Game. Source code: utils/Debug.js (Line 28)