mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.2K
active users

Rémi Verschelde

Quick usability question for GDScript users.

Do you like the behavior of the "Open Dominant Script on Scene Change" editor setting (see link, currently enabled by default), or do you disable it / would prefer it turned off by default?

github.com/godotengine/godot-p

GitHubMake "Open Dominant Script on Scene Change" disabled by default · Issue #8372 · godotengine/godot-proposalsBy NatGazer

@akien I didn't know I can disable it!

@akien Grew to rely on that effect. Didn't know I can turn it off. Now, I don't know if I want to.

@akien I've never used the built-in script editor. I exclusively use Godot with C#, and I write the code in Visual Studio Code.

I'm not sure if anyone ever attaches scripts to any node other than the scene root, but I don't. Intuitively, it would make more sense to me if you open a scene, the script tab would just show that node's script. (And it would not be possible to add a script to a node without making it a scene)
The current system is more versatile, but it doesn't make sense to me. 🤔

@akien a good deal of the time, it takes me where I intended to go. But really, I wish the scene tabs weren't visible on the script editor-- I'm not editing a scene, I'm editing a script!

@ross making script an external window doesnt help ?
@akien

@kuzkuz I haven't used that enough to notice that the scene tab goes away when I do that-- I'll probably use that more often, now! I think my opinion still stands when the script editor is in the main window, though: the scene tabs are a source of confusion.

@akien to directly answer your question-- now that I know it can be turned off, I probably will turn it off, or at least try it for a while

@akien I think is great when you are starting the project and there are only a few scripts and scenes, but when the project gets more complex and you have bigger scenes and lots of scripts is not very useful