Debug Overlay

An asset by GammaGames
The page banner background of a mountain and forest
Debug Overlay hero image

Quick Information

0 ratings
Debug Overlay icon image
GammaGames
Debug Overlay

A simple overlay inspired by Gonkee's guide; easily add variables to monitor that will be displayed in the game window.

Supported Engine Version
3.2
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
3 years ago
Git URL
Issue URL

godot-debug-overlay

A simple debug overlay singleton based on Gonkee's tutorial: https://youtu.be/8Us2cteHbbo

README Preview

Installation

Add the DebugOverlay.gd and DebugOverlay.tscn files to your addons/debug-overlay folder. Alternatively, you can download it from the Asset Library and install it from there. (Note: TODO)

Use

The DebugOverlay.tscn scene can either be added to your game as an AutoLoad or added as a child to a camera. An example of adding monitors to an AutoLoad singleton can be done like so:

DebugOverlay.visible = true
# Add a property monitor
DebugOverlay.add_monitor("Cursor X", self, "Sprite:global_position:x")
# Add a function (from "self") monitor
DebugOverlay.add_monitor("Sprites", self, "", "get_sprite_count")
# Add a function (from "self") monitor with arguments
DebugOverlay.add_monitor("Text", self, "", "get_debug_text", ["This is a test!"])

Additional demos are available in the addons/debug-overlay/demo folder.

Icon: (CC0 1.0 Universal) Kenney

A simple overlay inspired by Gonkee's guide; easily add variables to monitor that will be displayed in the game window.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Debug Overlay icon image
GammaGames
Debug Overlay

A simple overlay inspired by Gonkee's guide; easily add variables to monitor that will be displayed in the game window.

Supported Engine Version
3.2
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
3 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers