CAN YOU HELP ME OUT? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?

14th Aug 2017, 2:07 AM
Tonigaxo
Tonigaxo - avatar
14 Answers
+ 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++
14th Aug 2017, 2:20 AM
OUMAS Abdellah
OUMAS Abdellah - avatar
+ 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.
14th Aug 2017, 2:16 AM
Ghauth Christians
Ghauth Christians - avatar
+ 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.
14th Aug 2017, 2:58 AM
S C
+ 3
Use Kotlin or Java with LibGDX for Android game development.
14th Aug 2017, 2:16 AM
qwerty
qwerty - avatar
+ 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).
14th Aug 2017, 2:33 AM
qwerty
qwerty - avatar
+ 3
Probably no. But if you use java, you will get more tutorials
14th Aug 2017, 2:44 AM
qwerty
qwerty - avatar
+ 3
And if you only know c++, then use it.
14th Aug 2017, 2:48 AM
qwerty
qwerty - avatar
+ 3
I don't know game development that much. So if you want an accurate answer then Google it.
14th Aug 2017, 2:54 AM
qwerty
qwerty - avatar
+ 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++
14th Aug 2017, 2:28 AM
Tonigaxo
Tonigaxo - avatar
+ 2
Thanks Sam. I will look it up
14th Aug 2017, 3:00 AM
Tonigaxo
Tonigaxo - avatar
+ 1
Is there a specific reason to use Java instead of C++ for android games development?
14th Aug 2017, 2:39 AM
Tonigaxo
Tonigaxo - avatar
+ 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?
14th Aug 2017, 2:51 AM
Tonigaxo
Tonigaxo - avatar
+ 1
Okay, Thanks a billion. You've saved me some stress,
14th Aug 2017, 2:57 AM
Tonigaxo
Tonigaxo - avatar
0
well, I know neither of the Languages tho. I just want a good startup.
14th Aug 2017, 2:52 AM
Tonigaxo
Tonigaxo - avatar