2 ms·
Here is the reference for the base Object class in Godot, so every time you instantiate an object (even if you have defined a simple class without a lot of comp
by TheCleric 3y ago
Here is the reference for the base Object class in Godot, so every time you instantiate an object (even if you have defined a simple class without a lot of complexity), all of this gets instantiated and allocated. This is MUCH heavier than a C# base object (which wouldn't necessarily have to be based on a Godot class).
https://docs.godotengine.org/en/stable/classes/class_object.html#class-object https://docs.godotengine.org/en/stable/classes/class_object....
Keep in mind I don't say any of this because I dislike GDScript. It's just not the best tool for all jobs in my opinion.
- dartos 3y agoFor sure. No heated debates here! Rollercoaster tycoon 1 and 2 were written in assembly. Great games can be made from anything. Normally when I make Godot games, all of my classes are nodes anyway. I really lean into the “everything is a node” idea. Now if I’m writing some algorithm (A* or marching cubes or whatever) I wouldn’t start with gdscript, so I guess I never really made gdscript objects just off the base Object class before.