repl-gd
repl-gd copied to clipboard
A REPL + debug console for Godot 3.x
REPL GD
A REPL (Read-Evaluate-Print-Loop) for Godot 3.x.
Installation: Editor
- Grab the
addons/repl_gdandaddons/advanced-expressionfolders and place them in your project'saddonsfolder. Create the folder if it does not exist - Activate the
REPL GDplugin in the editor
Installation: Game
- Grab the
addons/repl_gd/repl.gdfile and place it in your debug UI (no debug UI is provided at this time by this project) - In the
repl.gdfile, modify theEnv._initand the general_initfunction to accept aSceneTreeargument - Pass in your game's
SceneTreeto the file somehow idk
Builtin commands
exit
Calls get_tree().quit(). Disabled when running in the editor.
reset
Resets the REPL's state. All saved variables, functions, and SceneTree nodes are freed.
clear
Clears the REPL's output.