+ 42
Which language is best for game developing-c++, java or c#?
111 Respostas
+ 131
All of these languages can be used to create video games. The majority of games you play on a console are written in C++. Research how many games were created with Unreal Engine and then look at what language Unreal Engine supports, C++!
Any of these languages can be used to make single or online multiplayer games. You decide what language you want to learn and pursue it. I will mention that they're all C-based languages and once you learn one it'll be easier to learn the others. C# and Java will be very similar in syntax. More so than either one and C++.
I would recommend learning a game engine/library and the language it supports in unison. Unity3D, Unreal Engine, CryEngine, SpriteKit, Game Maker, GameSalad, Phaser or whatever you like. The choice is yours!
+ 23
if ''speed'' is the most important thing use c++. if ''portability'' is important go with Java. if you are a professional game developer you already know that what it's not about the language. it's all about algorithms. it's always algorithms and design.
+ 14
Learn C# and hop into unity. There are Udemy tutorials available for that. But first get Construct 2 and improve your game making logic then you can go and jump into unity.
+ 8
Assembly language used to be the most crucial language to understand. CPUs were slower and there were not many standard graphics libraries and no game engines. C or C++ introduced inefficiency and limitations for certain operations, and thus a lot of CPU cycles were burnt on crappy compiler-generated assembly code. So coders had to identify these areas and implement algorithms in assembly language, and link those hand crafted modules with the C/C++ code. Now CPUs are faster, operating systems introduce many layers of abstraction (security, hardware drivers, libraries), there's teams dedicated to definition and implementation of highly efficient and standardized graphics languages such as OpenGL. There are even an astonishing array of game libraries which not only make use of graphics libraries to efficiently move pixels in video card, but implement abstractions such as physics engines: gravity, collision, lighting, momentum, transformation (movement, rotation, etc), combat systems, players, network connections, multiplayer, etc. All languages depend on your target audience: gaming platform (PC, mobile, console, web), and the engines or libraries available on those platforms, and the language libraries and compilers that can interact with those engines, etc. For a totally web based game, learn JavaScript and WebGL/OpenGL on client side and SQL and PHP or other scripting and database languages. For mobile platforms, probably Java. For PC, C++ or something efficient.
+ 8
c++ is the best language for games
+ 7
Eben if you are going to use c# because of its compatibility with Unity. You will still need some c++ in managing your game at a long run.
+ 6
I recommend C# for unity only because the program is much more user friendly then unreal engine and you can find many more tutorials online and within the website. But that's my humble opinion, you can always download both for free and test out which works best for you.
+ 3
a language is half the battle to game Dev, it's never seen by the user if the game is coded correctly. If the language has the capabilities you need and you understand it well enough then go for it. As other have stated Unity makes C# a but easier, for java there are graphics libraries for it iirc, C++ has Unreal Engine and several others :)
+ 3
c++ for best game developing
+ 3
C++ for ation games , Java Script for online games
+ 3
each if them is better but c++ is preferred more
+ 3
Java can be a better option for beginners but if you want to make much better games then use c++
+ 3
This is surprisingly less contentious of a question then most would think. Best in performance is C++ (when you have a good understanding of how it works at it's core), best in usability is java (it also runs the same on all modern machines making it easy to port) and C# got left out of being the best for anything noteworthy (not that it's bad), but people learn it for Unity (I wouldn't recommend using it as it's popularity with undedicated new coders means it's got a bad rep and people will dismiss your game).
+ 3
once upon a time a man asked are java and JavaScript related father sons? then the story began
no they are brothers , one is lazy only helps to design dynamic contents for webpages running on client system, it's just a scripting language. It's fun to tame this younger brother.😁
whereas elder brother Java, a full fledged multipurpose high level programming language, the responsibility on Java is huge, whole world is using.
Anyways getting control over elder brother is tough and requires patience .but once you own it , that's it everyday Christmas.💪
Java, c++, c# are like best buddies they just work for different peoples
c# works for windows
Java works for free world and android
c++ (son of mighty C) was like their elder brother guiding them with its principles.
html is a cute girl u might fall in love with, she's so fun man, only problem it's just hard to get her talk to other guys once u know how ,u rock🤘
Css is htmls crafty sister always jealous of her flexibility, she dedicated her life to just look good , it's just designing aid, bloody make 😒ups
they all knew PYTHON , the most formidable guy in wild west , still living up to his reputation from 80s , python s badass code structure powers one of worlds most complicated systems, even Google people respect it🎷💾 , "python the old blood "
PHP, don't even start, 😂we wonder how come preprocessor hypertext started business in 1994 , o yes, it's just a nerd on the server building never gets out, just do watever he's told , but man he's trustworthy,
+ 3
Depends on your environment, IOS you would use "Objective C, for Unity you would use C# for Android Java, and finally for PC games C++ is the way to go. It's totally your choice, good luck.
+ 2
c++
+ 2
Personally I'd say try to Learn a language that particularly interests you and your objectives.
For example (and this is just my take), I'd advice learning Java if you're into Android Development (Its the native language there)...makes it easier to get your app up n running.
Learn Objective C for ios development. (Though Swift is also a splendid choice).
For a Console Game..I'd personally go with C++..I mean it's OOP centered with an extensive library set(Did I mension EA Sports' NFL and FIFA are coded in C++...hmm).
Another thing, as @Benjamin said, learning an Engine will also be great, Try UE4..its to die for and quite easy to catch on.
If your game requiresa lot of AI though..Id say C# is the best for you my friend..the brain building is quite easier compared to the afore mentioned languages
+ 2
Use an engine for game developing, and a language if you want to build an engine.
+ 2
It depends on what you're actually making, obviously well optimized C++ will always outperform any other languages, so if you are making like a basic app or game engine you could also choose a managed language, which wouldn't be a problem if the game isn't like anything huge. For game development you normally use a premade game engine, or if you have time make your own one with some graphics api, if you decide to use the engine then learn the engine specific language, C# is a widely used one for pre made engines, however many of these engines aren't completely free, or whatever, and could rather make your own engine which isn't actually so difficult - if you're a beginner learn OpenGL or DirectX as they're fairly easy to use, I wouldn't recomment starting off with something like vulkan as it's very new and could be very confusing with it's low level features which are done for you in higher level APIs like OpenGL by the drivers, if you decide to make the game from scratch including the engine and you're a beginner, I would recommend using either C# or Java as they're fast in terms of development and you won't get confused as easily, for C# I would recommend using OpenTK, an amazing wrapper for OpenGL, for Java I would recomment Light Weight Java Game Library (LWJGL), which does pretty much the same as OpenTK but you have to struggle a bit with the lack of some features, like images in Java.
+ 2
the recommended is c++ because of it easiness