godot_recipes icon indicating copy to clipboard operation
godot_recipes copied to clipboard

[Discussion] UI: Displaying debug data

Open cbscribe opened this issue 4 years ago • 2 comments

Discussion for http://godotrecipes.com/ui/debug_overlay/

cbscribe avatar Feb 03 '21 03:02 cbscribe

Hello! super nice tutorial!

Here is some feedback.

You wrote:

$Column.add_child(l)

While it should be:

$Column.add_child(label)

Also, I assumed that $Column was the VBoxContainer? but in the tutorial, you don't tell us to rename it this way.

Finally, for some reason, on my side, when I try to reproduce this example, the label is not shown on screen...

image

Here the label Label was created in the editor, while @@2 is the label created from calling the DebugStats singleton. In the game window, I can see Label displayed but I can't see @@2 displayed anywhere...

You can find the repository of my game here, if you would like to have a look: https://github.com/Nodragem/wild-jam-31.git

Nodragem avatar Mar 14 '21 11:03 Nodragem

Thanks, I've fixed the typos.

I tried to look at your project, but it had errors on loading about missing scenes

cbscribe avatar Mar 18 '21 01:03 cbscribe