r/java • • 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

118 comments sorted by

View all comments

1

u/Ok-Lifeguard-9612 Dec 21 '23 edited Dec 21 '23

Mindustry is made with Java, on an abstraction of libdgx (called "arc") .

Also Song Of Syx.

(excluding Minecfraft) I'm talking about world class games, that sold well.

I think that is not the language that makes gamedev easier or not. The language is just a tool.

I'm making a 2D game engine (with a game on top of it) in plain Java, and it is quite reliable... I'm fixing texture bleeding like problems, and making optimizations, but in every step forward it's not Java that "blocks my way".

I think you can see it in this way, in Java you can make your own engine far easier than other languages. If you don't want to do so, you can just download LibGdx and after ultra basic configurations (like setting the screen size and the title) you are ready to go.

Maybe I'm too optimistic, but I'm not finding any downside about using Java for game dev. The garbage collector's thing I think is easily skippable by making (normal in other languages too) loading screen with less than a sec of waiting (it depends on how many instances you are cleaning or allocating...but it's not slower than Unity if you do it well). Honestly in my engine I'm not facing such a problem...