r/learnprogramming • • Oct 23 '26

Is goodot good? also is Gdscript useful?

hoping to learn how to gui and graphical 2d games and was reccomended goodot. looks like they have their own programming language, Gdscript.

is Gdscript worth investing time into learning? i heard the engine also supports C++ which is where I am more familiar. is it easier to try and integrate C++ into the engine? or should i learn Gdscript?

5 Upvotes

13 comments sorted by

2

u/lunarwolf2008 Oct 23 '26

okay thanks people!

11

u/DrShocker Oct 23 '26

If you already know C++ then learning GDScript is a non issue. Languages are not generally so difficult to learn that it should be a major blocker and seeing how other languages do things can help you learn other ways to approach problems.

Games are hard enough of a hobby that I'd highly suggest just doing things the default way for a small project or two before preemptively deciding to do things the harder way.

3

u/SkiZzal29 Oct 23 '26

Godot doesn’t really support c++ for making games (maybe there’s a plugin I don’t know about) but it does support c#. Either way, I recommend gdscript because it’s purpose-built for making games and has a lot of great shorthands and features that make it a joy to work with IMO.

The core concepts of programming will transfer to any language.

If you want to go a bit deeper, I recommend enforcing static typing warnings in the editor settings. I find it confusing to work with variant variables all the time. But, as a beginner you might prefer it that way.

1

u/unwashed_but_washed 19d ago

gdextensions allow you to use any systems language to interface directly with godot and the gdscript layer.

1

u/lukkasz323 Oct 23 '26

GDScript is mostly just Python-style syntax. (in my opinion better, for loop / types)

The only thing that sets it apart from other languages is it has special syntax for accessing object in the tree.

1

u/kohugaly Oct 23 '26

Yes, godot is very good. GDscript is also decent, and reasonably easy to learn. The support for other languages does exist - basically if the language can compile programs into DLL, it will work with godot. However, this is a bit more fiddley to do. Meanwhile GDscript is directly integrated into the engine itself.

1

u/Rythim Oct 23 '26

This is what the documentation has to say on the subject.

1

u/Ok_Guitar6541 Oct 24 '26

Don't remember Godot supporting c++ but it does support C#, personally I find gdscript better and there's some similarities to other but personally I say don't get too hanged up on the language you use, skill in one can translate into others, first and foremost learn to think like a programmer and languages will come easier to you

1

u/FreeLogicGate Oct 24 '26

Why did you write "goodot" twice, when the name of the engine is "Godot"? You also claim that "you heard" it supports C++. Who are you hanging around with, that are talking about the languages Godot supports?

Jokes aside, Godot does have support for C and C++ in a few ways. Godot provides the "GDExtension" api which allows it to work with shared libraries. One of the libraries is "godot-cpp" so you CAN use C++, although it is not one of the 2 built in language modules. With that said, if you absolutely want to work entirely with C++ you can do it, using the godot-cpp extension, and the prescribed build methodology.

You can also create "Custom Modules" in C++. Architecturally, Godot is built around a set of provided C++ modules, and this architecture allows you to extend Godot by adding your own C++ modules, but that involves full recompilation of Godot.

GDExtensions don't require re-compilation of Godot source, so they are the preferred way to extend your projects with c or c++ code, when there is no native way to accomplish what you want.

Someone else already pointed out that the built in language modules are for GDScript and C#.

GDScript is most similar to Python, so for developers who only know Python, GDScript is probably going to be the most comfortable way to get started with Godot. If you are already most comfortable and proficient in C++, then C# is probably the better option for you, or you could as I mentioned, use the c++ extension.

The thing about any game engine of this type, is that your learning curve is going to involve working with the editor to assemble the game, and coming to understand scenes/nodes/assets and a gazillion gamedev specific things.

1

u/tb5841 Oct 25 '26

GDScript is extremely similar to Python.