Question:
HTML5 vs JAVA?
Dominic
2014-05-23 15:01:27 UTC
I want to make apps and online games but i'm not sure which language to learn. HTML5 or JAVA? HTML5 is obviously newer and is beginning to get a bigger market but a lot of games are already make in Java. I'm not sure if Java is beginning to get old now...? Could someone recommend the language I learn to make game apps and online games please.

Thanks
Three answers:
Chris
2014-05-23 15:19:57 UTC
HTML5 games are actually written in JavaScript, which differs from Java in multiple fundamental ways.

It's pretty much impossible to recommend one language over the other.



It's very possible to publish a JavaScript game as mobile app, and they will of course run natively in a browser.

Java is easier to get running on Android, and you can create desktops apps with it, but running it in a browser is getting really difficult and nobody does it anymore.



The best advice I can give you is to test both and see which one you like better. Or choose a focus (say, Android), and pick the one that's more suitable for that.
Franco
2014-05-23 15:08:19 UTC
Both. I think Java is used to make the games, and HTML5 is used to put your games online.
San
2014-05-23 15:10:09 UTC
"While games are made using almost all languages, the most popular programming language for video games is C++, because of its object-oriented nature and because it compiles to binary. The next most popular languages for games are C and Java, but others such as C# and assembly language are also used. A strong background in math is usually required to learn these languages. Individuals wishing to design games should also have an extensive knowledge of both PCs and Macs"


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...