4 ms·
That's what I've opted for as well, and I have to say I prefer it. gdscript is a nice language for high level game scripting, and on the couple occasions I need
by connicpu 2y ago
That's what I've opted for as well, and I have to say I prefer it. gdscript is a nice language for high level game scripting, and on the couple occasions I needed to bring in some high-performance code I found it super easy to build a gdextension in Rust.
- nightowl_games 2y agoForget gdextension imo Compile the engine from source and add your classes as a module. Cuts out all the gdextension glue code and then you don't need to ship a shared library.
- capitol_ 2y agoWouldn't this make engine version upgrades a nightmare?
- nightowl_games 2y agoNo. Your game code is a new class, in whats called a module, which is fully supported by the engine. Your game code almost definetly relies on the same stable APIs that a GDExtension or GDScript itself uses. There will be no merge conflicts, no problems, almost certainly. Note: We have a fork of godot that has some changes and fixes weve made and engine upgrades are still a breeze. Solving the odd merge conflict is not that hard, people do it all the time. Godot's code base isnt drastically changing from day to day. 3->4 only had significant impact if you were doing certain things with the 'visual server'... other than that even that was easy.
- npinsker 2y agoHow do you write Rust code in that case?
- nightowl_games 2y agoYou don't, but Rust isnt the right fit for gamedev imo.
- LelouBil 2y agoI started a Godot project with C# support since I'm coming from Unity. I now have at least 50 GDScript files and not a single C# file, the language is good (with types). My only issue is that I can't get Copilot in their integrated IDE and that Rider's GDScript plugin doesn't support anonymous functions right now
- neonsunset 2y agoGDScript is not good and never will be.
- xinayder 2y agoIf it wasn't good then first, it wouldn't be shipped with the engine, second, people wouldn't use it to make games.
- daelon 2y agoVSCode is also an option, with the godot-tools extension.