This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+1 vote

How do I run my game directly on the editor for Debugging? I remember doing it in some previous version of Godot. I could run the game directly on the editor and also seeing my new nodes being created direct to the tree.

in Engine by (59 points)

3 Answers

+2 votes

You can't run it in the same window that the editor is using (like Unity or Unreal). To see the scene tree of your running game click on "Remote" in the scene tree in the editor. If you run your game using the editor (F5) you will be able to debug it using the tools in the editor.

by (1,519 points)
0 votes

I don't know about running it in the editor instead of in a separate window, but if you look in the node tree while the game is running you will find two buttons labeled "Local" and "Remote". If you choose Remote you can see the node tree change during gameplay.

https://docs.godotengine.org/en/3.2/tutorials/debug/overview_of_debugging_tools.html#remote-in-scene-dock

by (268 points)
0 votes

Thanks both of you. The Remote option helps a lot. But on other project I was trying to see a feedback from another angle of view, I could not just move the camera because I was trying to debug a ray cast from the camera. So, there is no way for this?

by (59 points)

You can create a new camera and temporarily set it as "Current" to look through it. Remember to deactivate it or remove it when you're done debugging.

EDIT: NVM misunderstood your proble, sorry.

There is a little camera icon right where the move, rotate and scale tools are. If you click it, you can control your game window camera by moving the editor window camera.
See the release post for 3.2.
Couldn't find any docs on it but in the post there is this video that explains 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 Frequently asked questions and 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 [email protected] with your username.