godot_recipes
godot_recipes copied to clipboard
[Discussion] UI: Displaying debug data
Discussion for http://godotrecipes.com/ui/debug_overlay/
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...
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
Thanks, I've fixed the typos.
I tried to look at your project, but it had errors on loading about missing scenes