+ 3

Which coding language is the best for games

i would like to know which coding language is the best for making games

26th Dec 2016, 3:22 AM
Din Spataj
Din Spataj - avatar
6 Answers
+ 9
3D: 3D is a lot more complex because of more advanced mathematics and rendering. As such, languages like Python or Lua are rarely suitable. A strong systems language like C# or C++ should be used regardless of genre. I would very much suggest not to code a full 3D backend yourself. Instead, use an engine like Unreal or Unity. Platforms: Mobile: Here you are (unfortunately) pretty much locked to Java. Many engines/libraries export to mobile, however. Before settling on a language, check out what your tools provide and what platforms they target. Console: You'll have to go with one of the major engines for these. Unreal, Unity, CryEngine, and Lumberyard all target the major consoles. Godot is close to having support for consoles as well. Keep in mind that consoles usually require a paid license.
26th Dec 2016, 3:51 AM
Thomas Stone
Thomas Stone - avatar
+ 8
It depends on what scale you are thinking of, your platform, and what kind of game you want to make. For AAA quality games, C++ is very much the industry standard. However, the vast majority of games don't require the sheer power (and complexity) that C++ provides. Frankly, most games could be built with Python or Lua provided most of the heavy lifting is done in a C++ backend through some engine or library. I'll break down some example genres and what language might be most suitable. 2D: RPG: RPGMaker is a tool you can use here to jump right in to actually creating a game as opposed to programming all the low level stuff beforehand. It primarily uses Ruby for most of its scripting. Don't expect to make anything release-worthy at first, however it will show you the fundamental systems needed for an RPG. It's also ~$80 for the latest version, however it goes on sale on steam every few months. Right now it's 50% off! If you'd rather code it from scratch, Python with Pygame or Lua with Love2D are good choices. Shoot 'em Up/Twin Stick Shooter/Bullet Hell: You can get away with using either Python with Pygame or Lua with Love2D for these kinds of games. They are not complex nor are they particularly resource intensive. Turn Based Strategy: Since these games are not very resource intensive (or expensive computation can be cached during the player's turn) you can get away with Python or Lua here as well. RTS: These games tend to be more complex and resource intensive. As such, you should probably use an engine (Godot or Unity would suffice fine). If you want to code it from scratch, a language like C# or C++ should be used. Platformer: Not very complex. Python or Lua can be used. MMO: This would be very ambitious for starting out and you will likely fail many attempts before successfully creating one. However if you wish to go down that rabbit hole C++ is about the only suitable language for it. I've run out of characters, so 3D will be in a separate post.
26th Dec 2016, 3:45 AM
Thomas Stone
Thomas Stone - avatar
+ 3
C# Unity Engine
26th Dec 2016, 12:01 PM
Ilia Kopysov
Ilia Kopysov - avatar
+ 3
i say c# for bigger games and java for mobile games.but there are pretty cool Frameworks for java to develop a nice game as well in java like libGDX
27th Dec 2016, 2:45 PM
JavaFreakz
JavaFreakz - avatar
+ 2
thanks guys
26th Dec 2016, 12:15 PM
Din Spataj
Din Spataj - avatar
- 6
whew ... and I thought I typed long answers. Nice to know there's a limit :) Edit: It looks like people think this is a rude comment. Alright - I've added my own downvote; I don't mind following you down if it highlights the shame. Please DO keep downvoting, especially if you initially misinterpreted this. @OP, please don't delete this question; I'm going to need it later.
26th Dec 2016, 11:18 AM
Kirk Schafer
Kirk Schafer - avatar