Instance of Debug class is created at game.debug, when game.Debug.enabled is true.
(No description yet)
Time of last update.
Debug panel text.
Add text to debug panel.
Function that is called every time the debug panel is updated.
Alpha of bodies.
Color of bodies.
Stroke color of bodies.
Body line width.
Alpha of bounds.
Color of bounds.
Bounds line width.
Alpha of camera.
Color of camera.
Enable debugging (can also be enabled with ?debug on url).
Enable fake touches.
Sprite alpha for fake touches.
Sprite color for fake touches.
How often to create new fake touch (ms).
Maximum lifetime of fake touch (ms).
Maximum speed of fake touch movement.
Minimum lifetime of fake touch (ms).
Minimum speed of fake touch movement.
How often to move fake touch (ms).
Percent of fake touches, that will move.
Sprite radius of fake touches.
Alpha of debug panel.
Background color of debug panel.
Text color of debug panel.
Debug panel font size.
Vertical position of debug panel (top or bottom).
How often to update debug panel (ms).
Draw physics bodies.
Draw camera debug.
Draw interactive container hit areas.
Show version info on console.
Show debug panel.