0 votes

It's come across my mind to create a game that uses the debug window as a game mechanic, a second layer to the game if you will, but I've also noticed that if you try to interact with the game, it crashes. Is it possible to make it so the player can type in the debug console without crashing it?

in Engine by (48 points)

1 Answer

0 votes

The debug-window is not present, if you release your game without debug-option.
You can make your own "debug-window" ingame.

Here is a nice tutorial:

How to make a Debug Console in Godot by Gonkee (Youtube)

EDIT:
You DON'T want to release with debug!

by (1,448 points)

Oh, I didn't know that was a thing. what I meant by debug window was using the windows commandline debug menu, that launches side by side with the game, or is it not possible to use that window?

As far as i know there is now way to get information from that windows. You can just print() to it and see errors and warnings.
Don't use it as a mechanic. trust me ;)

Will do, stick to in-game debug menu, got it

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.