Is Java Good for 2D Android Games? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 25

Is Java Good for 2D Android Games?

Hi, im really new to java and wanted to learn. But before i go further more, i want to know Is it good to use java for android games? i want to build 2D games for android with unity. Thanks for your answer :))

5th Jul 2017, 12:21 PM
Bobby Wibisono
Bobby Wibisono - avatar
45 Answers
+ 27
If u want to use java to make 2d games u can use libgdx framework in android studio. With the help of libgdx you can easily make cross platform apps. But if you are starting from scratch unity is a good option for 2d game development. Unity requires C# which is similar to java.So choice is yours you can use libgdx or unity.
7th Jul 2017, 1:11 PM
Anupreksha Jain
Anupreksha Jain - avatar
+ 22
As @Selena said, C# is not that hard to learn if you already know Java. So keep learning more, you'll be making awesome games in no time at all😉☺
5th Jul 2017, 2:18 PM
Nihar Raote
Nihar Raote - avatar
+ 13
you can't use java in unity
5th Jul 2017, 1:02 PM
johan beimers
johan beimers - avatar
+ 10
There is a awesome 2D game development framework named libgdx which is based on java and you can make cross platform game using it.
6th Jul 2017, 3:48 AM
Fozle Rabbi Shafi
Fozle Rabbi Shafi - avatar
+ 9
thanks for your answer :D
5th Jul 2017, 11:07 PM
Bobby Wibisono
Bobby Wibisono - avatar
+ 7
yes java is good for all Android games but i think c# is better
12th Jul 2017, 10:40 AM
Amara Abdelghani
Amara Abdelghani - avatar
+ 5
For game use c# in unity
8th Jul 2017, 1:46 PM
NAVEEN S
NAVEEN S - avatar
+ 4
hello,if I want to become an android developer,what I must to learn?Java,C etc
7th Jul 2017, 5:48 PM
iorga florin cristian
iorga florin cristian - avatar
+ 4
I always hear about C# or javascript for 2d games; but nothing about java. There are options securely. I recommend Construct2 for 2d games. It is very interesting and all works with javascript.
7th Jul 2017, 10:08 PM
Kevin L. Asca Serna
Kevin L. Asca Serna - avatar
+ 4
Thank you all. I want to make apps too. I am at level 3 at Java. Wish me luck
8th Jul 2017, 6:44 AM
Hajer Alsabei
Hajer Alsabei - avatar
+ 3
For android it is better to code in java, with other languages you will have some limitation, full screen, immersive mode, and some other api are just available in java. The easiest way to code 2d games is using canvas in java, you can code a game like pong in less then one houer and the code will need just ~50 lines
7th Jul 2017, 8:42 PM
Emore Anzolin
Emore Anzolin - avatar
+ 3
c++ is better
8th Jul 2017, 4:32 PM
Mrityunjay Jha
Mrityunjay Jha - avatar
+ 3
Java is really good but you have to learn beyond sololearn
10th Jul 2017, 6:35 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
yes for sure Java is good for 2d Android games as Java is the base of android..u will find it helpful while working on Android
10th Jul 2017, 4:14 PM
Rashmi Chandra
Rashmi Chandra - avatar
+ 2
for gaming application multithreading concept is very important
6th Jul 2017, 12:56 PM
Ankit Khare
Ankit Khare - avatar
+ 2
for game development I prefer C# not JavaScript (my opinion)
7th Jul 2017, 12:09 PM
Tebogo Nomnqa
Tebogo Nomnqa - avatar
+ 2
Unity uses C++. But it is stillvquite good to learn how to make games. And don't underestimate some languages! Some libraries have enough potential to make games.
8th Jul 2017, 12:42 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
use unity for Android game development but first a little bit of C# is required but it's easy if you know java
8th Jul 2017, 4:25 AM
Mihir Kumar
Mihir Kumar - avatar
+ 2
yeah
8th Jul 2017, 12:01 PM
Muneeb Zubair Khan
Muneeb Zubair Khan - avatar
+ 2
but, what about Unity and C#? there's many people say that i need to learn C#, but there's many people aswell that say i need to learn java, im little bit confused. note : i want to make android games with UNITY, thanks for all your answer :))
8th Jul 2017, 12:05 PM
Bobby Wibisono
Bobby Wibisono - avatar