Java is a versatile language commonly used by small game development companies. It's powered some of the world's top iOS and Android games including Minecraft and Mission Impossible III. Plus, Java is a cross-platform language, so it runs on nearly any system including Microsoft and Linux.
One of the biggest reasons Java and other Virtual Machine languages are not used for games is due to Garbage Collection. The same thing goes for . NET. Garbage collection has come a long ways and works great in most types of applications.
Java is widely used by indie game development companies and for creating mobile games. And it shouldn't come as much of a surprise, given how versatile the language is and given its rich collection of open-source material. Many of the world's top mobile games have been developed in Java.
exit(0); in Java. Wherever you have your enemy hit detection method/function, you could call System. exit(0); , thereby exiting the application on hitting the enemy.
I am looking into game programming in Java to see if it is feasible. When googling for it I find several old references to Java2D, Project Darkstar (Sun's MMO-server) and some books on Java game programming. But alot of the information seems to be several years old.
So the question I am asking, is anyone creating any games in Java SE 1.5 or above?
If so, what frameworks are used and are there any best practices or libraries available?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With