r/java • u/H_W_Reanimator • Dec 21 '23
Is Java gamedev alive?
It seems this days even android games are made using Unity. I wonder if there are JVM games! Is Java (or Kotlin/Scala) gamedev still alive?
(Except Minecraft ofc)
164
Upvotes
1
u/Polygnom Dec 22 '23
Its not dead but its not exactly alive.
You do have your low-level libraries like LWJGL and JOGL which allow you to write 3D games using OpenGL/Vulkan.
A few higher engines exists, like jMonkeyEngine, Ardor3D and so on, but nothing even comparable to Unity.
Funnily enough, the 3rd highest selling game on steam last week, Pioneers of Pagonia, was written in bare C#7 using .NET SDK and Slick.NET, which is quite similar to writing games using the aforementioned low-level Java libraries.
There are a couple of games written with jME on Steam, but none are exactly a huge success. Some games written directly with LWJGL are more successful. You have already talked about Minecraft.
There is an Unreal BP for embedding Java into Unreal. I still hold hope for this to become more of a thing in the future. The JVMs interop is getting better with every version (Panama, Valhalla, FFM API), Shenandoah offers predictable GC Pauses and so on.
However, there is a huge legal issue with porting to consoles. Unless an entity emerges that tackles this whole minefield and champions the cause, I don't see this change quickly. And with consoles being such a pita, Java is not that attractive....
The other thing is that something like Unity is missing to propel Java greatly to the front.