2 ms·
Oh man, it’s so much more. You can put any code behind Engine.EditorHint condition and it only runs inside the editor. You can make shortcut keys to do things o
by jasonjmcghee 4y ago
Oh man, it’s so much more. You can put any code behind Engine.EditorHint condition and it only runs inside the editor. You can make shortcut keys to do things or execute code in _Process.
For example, i’ve made a script where editing one tilemap updated another, the first being a palette for wave function collapse, generating the other.
When i implemented vector fields, i first had it track the mouse instead of the player and did it all in the editor (not hitting play)
- bodge5000 4y agoQuick question, if I were to try the code only workflow, how would I actually run the game? Is there a cli godot has or something, or would I need to go back to the editor itself to click play?
- jasonjmcghee 4y agoDepending on your ide (e.g. Rider) you can get it directly in the IDE with no setup other than installing the plug-in. You can always execute via the binary. https://docs.godotengine.org/en/stable/tutorials/editor/command_line_tutorial.html https://docs.godotengine.org/en/stable/tutorials/editor/comm...