They're not written in languages, they're written in engines.
And what is engine based on? It depends. Unity for instance is based on C#, unreal engine on C++. Other may be based on even other things.
C++ - Potentially best performance, very good multi-platform support, very compatible, universal, widely used.
C# - Much easier, faster to code complex parts of the code, compatible mostly with Windows only (although microsoft is working on making .NET open-source, so it may change soon)
There's also Java. Java is very similar to C# in terms of how it works, but has much better support for multi-platforms. It's fairly slow though, and C# is superior for today.
And those are only base languages. Engine is combined of many more of them for certain part of the codes. For example, performance-critical parts such as rendering might be coded in C++ purely for performance and memory management, even though whole engine is based strongly on C#. This is the case with Unity.
You do not learn "language" nowadays to make games. You learn engine, e.g. Unity, and during doing so, you also learn the base language it uses, C# in this case.
Comment has been collapsed.
these are the droids OP is looking for
the funny thing is i'm coincidentally watching this tutorial series & early on it makes it clear that it's not about knowing specific langauges
Comment has been collapsed.
Actually, Unity is written in C++. It just uses C# as scripting language.
A lot of games don't use an engine and are written directly in language. C++ would be the most common. C# was very common in conjunction with XNA (which is just a multimedia library, can't be considered an engine) but Microsoft ditched it. And some developers, for whatever reason, still use Java *shrugs*
Comment has been collapsed.
Define was "based on" means then.
Because you later say that Unreal Engine is based on C++. Unreal Engine is written in C++. It doesn't use any scripting language, but a UI based blueprint system. The only possible (correct) meaning for "based on" here is "written in".
Comment has been collapsed.
True for internationally known games I suppose. There are a ton of Chinese language games though too that no one outside of the country has ever heard of however.
Comment has been collapsed.
1 Comments - Last post 24 minutes ago by EvilAaron
18 Comments - Last post 33 minutes ago by EvilAaron
159 Comments - Last post 1 hour ago by MeguminShiro
11 Comments - Last post 3 hours ago by Dunther
15 Comments - Last post 3 hours ago by UltimateArck
3 Comments - Last post 4 hours ago by Lugum
10 Comments - Last post 4 hours ago by DeliberateTaco
131 Comments - Last post 14 minutes ago by Eiion
408 Comments - Last post 1 hour ago by Griske14
26 Comments - Last post 1 hour ago by NeptuneZero
8,622 Comments - Last post 2 hours ago by steveywonder75
35 Comments - Last post 3 hours ago by Grogglz
1,566 Comments - Last post 3 hours ago by ExcelElmira
16,370 Comments - Last post 3 hours ago by MaxiBoi1357
Comment has been collapsed.