Should I learn C# or Java if I want to start programming mobile games? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 17

Should I learn C# or Java if I want to start programming mobile games?

19th Oct 2016, 1:28 PM
//Lana Wilson
//Lana Wilson - avatar
11 Answers
+ 13
It depends on which platform or platforms you want to target and on the kind of game. But firstly you need to learn programming. In this case I don't think one of these languages is better than another. Besides, they are alike if you know 1 of them, it won't be a big deal to learn another.
19th Oct 2016, 3:08 PM
Remmae
Remmae - avatar
+ 5
I recommend you to try C# because of its cross platform nature when used in Visual studio along with Xamarin!! Java is always a natice language and good enough for Android...
22nd Oct 2016, 2:02 PM
Srihari Joshi
Srihari Joshi - avatar
+ 3
yes, the platform is not so important as first your understanding of programming. If you know with which structure you reach this and that, than all is possible. imho the best entry for this is python. After this, you can go especialy look on swift (and xcode IDE) for iOS and/or java (and AndroidStudio) for android. For "quick and dirty" apps you can also learn and use JavaScript on the Appcelerator Platform for creating crossplatform apps for android & iOS together ...
20th Oct 2016, 2:21 PM
Thomas Hanke
Thomas Hanke - avatar
+ 3
Doesn't matter which languages. You should ask, how to glue them, so your codes can run cross-platform.
25th Oct 2016, 8:47 AM
Azman Bahari
+ 3
My suggestion: 1. Head First Programming is a good starting point. 2. For android though Java is widely used but Unity game engine uses C# and JS and Unreal engine uses C++.(Fortunately there are books about both of them by head first.)
26th Oct 2016, 12:00 PM
Amir Hassan Asvadi
Amir Hassan Asvadi - avatar
+ 3
Considering the fact that there are more Android users than Windows mobile users, I will advice that you take java and do Android first. Although with C#, xamarin can be used for development of hybrid apps, but you won't really utilise the full power when it's for a native app. Also, Android game development seem to have more community than C#. These are just my humble opinions
27th Oct 2016, 9:12 PM
Victor Ogudu
Victor Ogudu - avatar
+ 2
Any language can be used for mobile development. Some are more suitable than others though. The language for Android is Java while for iOS it is Objective-C. Android also has an NDK that allows you to code in C++. There are also cross platform solutions however, like Cordova and Xamarin, which allow you to use one code base.
3rd Mar 2017, 12:16 AM
Anthony Vanover
Anthony Vanover - avatar
+ 1
Normally Java it's really commons but if you use coding environments as unreal engine 4 you'd need c++
22nd Oct 2016, 12:35 PM
Cia
+ 1
C# would be better for unity game engine.
22nd Oct 2016, 7:41 PM
Ahmet Bora Tepe
Ahmet Bora Tepe - avatar
+ 1
my suggestionis to go with C# .. Unity 3D use C# and it is broadly used for 2D and 3D multi platform game development. Did I mention that it's free?
15th Nov 2016, 10:38 PM
Simone Branca
Simone Branca - avatar
0
You should learn Java and Objective-C, Also I recommended for you this: https://www.cleveroad.com/blog/swift-vs-objective-c--what-is-the-best-language-for-ios-development-
10th Aug 2017, 4:16 PM
Alexey Porubay
Alexey Porubay - avatar