Differences between C# and GDScript in Godot game engine
Vuorela, Jesse (2024)
Vuorela, Jesse
2024
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2024121134565
https://urn.fi/URN:NBN:fi:amk-2024121134565
Tiivistelmä
In this thesis C# and GDScript programming languages were compared on Godot game engine. The goal was to introduce the engine and these two languages to beginner-level Godot game developers. The languages were researched and experimented on by comparing their syntax, performance and overall capabilities in programming. Based on the results we can estimate which language is better for a beginner to use.
The results suggest that while GDScript is Godot’s native language and has the upper hand on accessing the core features of the engine, C# is still generally faster than GDScript. C# also has more ways to structure code, which helps in maintaining bigger and complex projects.
Even though C# is more versatile language than GDScript, GDScript is still a better option for a beginner-level Godot game developer, since it is easier to learn, and the core features of the engine are more accessible on it. If a developer knows already some C#, it might be a better option to use then.
The results suggest that while GDScript is Godot’s native language and has the upper hand on accessing the core features of the engine, C# is still generally faster than GDScript. C# also has more ways to structure code, which helps in maintaining bigger and complex projects.
Even though C# is more versatile language than GDScript, GDScript is still a better option for a beginner-level Godot game developer, since it is easier to learn, and the core features of the engine are more accessible on it. If a developer knows already some C#, it might be a better option to use then.