Re:Godot's Introduction to Math for Game Developers
by hotdogscout on Friday July 07, 2023 @06:35PM
(#36639161)
I think your comment made the engine click for me too, wow, thank you.
Do you know if there's a way to see the main update function? I have a hard time understanding what order the engine uses to runs each script.
Re:Godot's Introduction to Math for Game Developers
by n42 on Friday July 07, 2023 @06:41PM
(#36639230)
I think you're looking for documentation on the SceneTree and "tree order"
https://docs.godotengine.org/en/stable/tutorials/scripting/s...
https://docs.godotengine.org/en/stable/classes/class_scenetr...
https://docs.godotengine.org/en/stable/classes/class_mainloo...
Re:Godot's Introduction to Math for Game Developers
by hotdogscout on Friday July 07, 2023 @07:04PM
(#36639429)
I'm sorry for making you go through all that, should have looked into the documention before asking. Thank you.
Godot really is the only game making software that has this artful feeling of beauty. Portable, always consistent, small. I usually give up on software in favor of frameworks because I don't know what's happening and the documentation is too daunting compared to just making my own thing but reading how godot's made is an exception.
Re:Godot's Introduction to Math for Game Developers
by n42 on Friday July 07, 2023 @09:34PM
(#36640501)
oh, it was a quick Google from memory because I've gone down the same path myself :)
Re:Godot's Introduction to Math for Game Developers
by kajkojednojajko on Friday July 07, 2023 @10:49PM
(#36640908)
There's always the source :) It's easier to follow if you git clone and open it in vscode. Here's Main::iteration - https://github.com/godotengine/godot/blob/e0f644a48da49843ad...
Re:Godot's Introduction to Math for Game Developers
by hotdogscout on Saturday July 08, 2023 @04:34AM
(#36642529)
It's so understandable and succinct, I don't know why I thought I wouldn't understand the source. Thanks.
Re:Godot's Introduction to Math for Game Developers
by batperson on Friday July 07, 2023 @11:20PM
(#36641077)
Could you elaborate ? Does this require any specific setup?
Re:Godot's Introduction to Math for Game Developers
by BHSPitMonkey on Saturday July 08, 2023 @02:42AM
(#36641957)
Unity is the same way (by default, scene and other files are stored on disk in a binary format, but you can toggle a project setting to make them text instead—which is a big help if you're using git).
When I started using Git to track my Godot projects, I realized that all the scene files (.tscn) are just text files, and the Godot editor is a GUI for editing these text files. Scene files just store data: relationships between nodes and properties on each node. After this relevation, the whole system started to "click" for me and I started treating Godot game projects just like any other web app or mobile app that I work on.