Here's a look at how I implemented a simple dev console in my game to speed up development. The core functionality is driven by Godot's Expression class, but I've also added a history and autocomplete system to let me work even more effectively.
Text version and code snippets: https://shaggydev.com/2024/01/09/dev-...
The Expression class: https://docs.godotengine.org/en/stabl...
More on Expressions: https://docs.godotengine.org/en/stabl...