GD Script or C++ which is best

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By alexmattnsn

Can i able to script everything with GD Script or
I also wanted to learn c++ instead ;
And which one is best for games.

:bust_in_silhouette: Reply From: timothybrentwood

If you are wanting to learn how to create games I suggest using the language most tightly coupled with the game engine you want to create games in. In Godot’s case that would be GDScript. You’re going to get a lot “for free” writing in GDScript. You’ll be able to do some things in 1 line of GDScript, where in C++ it may take you 4-5 lines to accomplish the same task. Performance is not going to be an issue, and if it is, 90-95% of the time it’s going to be caused by how you solved your problem, not the language you wrote your program/game in.

Asking that question suggests that you’re new to programming as a whole. If you want to get your feet wet with multiple different languages while learning the basics of programming, I suggest you check out the free CS50 course that Harvard provides: CS50

**Thankyou so much, I think GDScript is best for me **

alexmattnsn | 2021-04-27 13:16

:bust_in_silhouette: Reply From: xCode Soul


If you are beginner GDScript is the best choice for you

C++ is much harder to learn and use, but C++ is the
Standard language in game development, because C++ is extremely fast
And for better Performance , no doubt, go with C++

Good luck