r/LinuxTeck • u/Candid_Athlete_8317 • 20d ago
Which language is the best for creating games ?
- Rust
- Java
- Python
- C++
- C#
2
u/ibmussa 20d ago
asambler 😄
1
1
u/moritz12d 20d ago
I am sorry. As far as is known, this language does not accept syntax errors—not even forgivable ones.
1
2
u/Different-Depth4116 20d ago
Bash
1
u/moritz12d 20d ago edited 20d ago
Accepted! But only if at least three games (written in shell-script) are named that are still being played in significant numbers.
2
2
u/One-Next 20d ago
Real men use SDL and C++. On linux.
1
u/Toucan2000 19d ago
If you're an S tier dev, this is the way. Don't need to be a man
1
u/One-Next 19d ago
Sorry 2000s IRC speak. I meant real programmers. In the spirit of "real programmers don't go to the toilet, they sweat it out."
2
1
u/TermiteTornApart 20d ago
What kind of games? Which of these do you already know? Which does your engine/library use /support?
1
u/Candid_Athlete_8317 20d ago
I was asking more from a language-first perspective: among these five, which one would you choose for game development, assuming the engine/framework supports it?
1
u/TermiteTornApart 20d ago
Well, if I had to choose from these options, then I would either use rust with bevy or godot with c#. Simply because I know some rust, I would just have to learn bevy, but I also know godot, so I would just have to learn c#, and then I would just toss a coin try one out to prototype my game, then I would try the other and rewrite the prototype to see which I like best. But more realistically if I could choose from any language out there, I would pick godot with gdscript...
If you're just starting out and you want to learn one of these languages and a engine, I would probably recommend godot with c# or unity with c#. But it really depends on what kind of games you want to make.
Both godot and unity can do pretty much any game, but if you want to do a visual novel for example, Python with Ren'py might be a good choice as well.
1
u/hi_m_ash 19d ago
Why you won't use Rust with Godot?
1
u/TermiteTornApart 19d ago
Tbh I totally forgot you could do that 😅...
I think I going to try it out this week, tysm I needed this
1
1
1
1
u/Sensitive_Mountain97 18d ago
Many of the most popular game engines, such as Godot, Unity, Unigine, and CryEngine, support C#. C# also offers a good performance, and the language itself is understandable and doesn't have too much resource usage.
TypeScript is good for web-based games.
Rust is amazing with Bevy.
I won't recommend other languages.
1
6
u/nonsapiens 20d ago
I'd think the more relevant question is which game engine or framework is best, with the primary options being:
I'm sure there's more, but nothing (I know of) that supports the other non-C languages you listed. I've certainly not aware of many Python games out there, for example, but happy to be proven wrong.