+ 5
CAN YOU HELP ME OUT?
Hey Friends, I'm looking to go into game development and i'm still kinda indecisive on which programming language to learn for that. I did a 2 hour search on google on this question and some said C++ while others said Java,I'm kinda confused. So Fellow sololearners, please CAN YOU HELP ME OUT?
14 ответов
+ 6
well this is easy. C++ is by far the most commonly used language for writing game engines because it allows more direct control on graphics and hardware.
and Java like everybody knows runs on everything from coffee machines to complex video game systems
The fact is that you can learn the two of them alongside each other because Java is closely related to C++, so doing that would not be difficult. but if you really need to pick only one, then personally i would go with C++
+ 5
I'm going into Python game development with pygame. It's a module for Python that allows you to create 2D games on Windows, Mac and Linux.
I'm choosing this route because I've created 2D games with Javascript and HTML canvas and found that pygame also uses a canvas. This makes the learning curve easier for me and I know I will be able to make an awesome game with it.
+ 5
Honestly, if you want to learn to build games, download Unity3D and learn C#. There is no reason for a beginner developer to create their own game engine, and you will have much more fun using Unity.
+ 3
Use Kotlin or Java with LibGDX for Android game development.
+ 3
@Smoax You can still use C++ but its better to use Java. I recommend Java with LibGDX or Kotlin with LibGDX(if you know Kotlin).
+ 3
Probably no. But if you use java, you will get more tutorials
+ 3
And if you only know c++, then use it.
+ 3
I don't know game development that much. So if you want an accurate answer then Google it.
+ 2
Thanks a bunch you guys. This has cleared my confusion a bit. But what if i wanna start up with android games, is it easier to use Java (which I hear is the normal language used for android games development) or can I still use C++
+ 2
Thanks Sam. I will look it up
+ 1
Is there a specific reason to use Java instead of C++ for android games development?
+ 1
Well that's a good point, but for smooth running of the game and also memory resource used, is Java still efficient. I heard about something they call Garbage Collection typically in Java, I don't really know much about it though, but it doesn't occur in C++ and I think that affects the perfomance of the game. Is it something that can be ignored?
+ 1
Okay, Thanks a billion. You've saved me some stress,
0
well, I know neither of the Languages tho. I just want a good startup.