Java Game development

Open-source Java projects categorized as Game development

Top 23 Java Game development Projects

  • libGDX

    Desktop/Android/HTML5/iOS Java game development framework

    Project mention: OSS Game Engines are increasing their stars on GitHub due to Unity's missteps | | 2023-09-19

    For anyone interested, LibGDX[1] is a very nice open-source game engine for Java. It is cross-platform (mobile, PC/mac, web). Very popular and well maintained, too.



    LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.

    Project mention: LWJGL documentation | /r/opengl | 2023-06-30
  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • FXGL

    Java / JavaFX / Kotlin Game Library (Engine)

    Project mention: com.almasb.fxgl.all module not found | /r/javahelp | 2023-04-21

    I downloaded javafx from here: as a zip, extracted it, then went to my project structure and added it to my libraries. For a couple seconds it seems to work, but then I get the error again, and the folder isn't showing up in my external libraries.

  • Terasology

    Terasology - open source voxel world

    Project mention: Looking for opensource projects to contribute. | /r/opensource | 2023-05-06


  • jMonkeyEngine

    A complete 3-D game development suite written in Java.

    Project mention: Unity's Licensing Changes: Discover Stride a Community-Driven Open-Source Engine | | 2023-09-14

    > Unfortunately, this is yet another open source game engine with too small a user base.

    I wonder why some engines are seemingly destined for success and others... aren't.

    Godot got really big, despite a somewhat similar feature set: (really nice 2D support, 3D rendering was worse until version 4, GDScript has both a nice iteration speed but also has gotten some criticism, while C# was a second class citizen in the earlier iterations)

    Stride is really nice and seemed like it should have been the Unity replacement that people would look at, if it had gotten more attention and a community would have formed around it, like Godot's.

    There's also NeoAxis which is way more Windows centric, but still seems to be getting updates and is comparatively easy to use, yet similarly never got popular:

    Weirder yet, Java doesn't really have that many game engines out there, at least the likes of Unity/NeoAxis/Stride that have nice editors, despite the language being pretty nice. The closest I can think of is jMonkeyEngine which I donated some money in the past to, which is pretty usable but similarly niche:

    I occasionally watch videos on the Gamefromscratch YouTube channel ( and it surprises me that there are so many engines out there, but very few actually are in the public eye. If you don't go out of your way to look for other options, you will most likely only have heard of Unity and Unreal (or maybe also Godot in recent years). I wonder why that is.

  • JustWeEngine

    An easy open source Android Native Game FrameWork.

  • Litiengine

    LITIENGINE 🕹 The pure 2D java game engine.

    Project mention: Java swing turn based roguelike game loop advice | /r/roguelikedev | 2023-05-24

    Have you looked at code? Its an interesting little pure java AWT based engine. You could see how they are doing their game loop.

  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

  • Mini2Dx

    A high-level cross-platform 2D game development API

  • talos

    Talos Particle Engine (by rockbite)

  • HyperLap2D

    A powerful, platform-independent, visual editor for complex 2D worlds and scenes.

  • GreenLightning

    High performance microservice runtime

  • xcloud-shield

    Xcloud Beta Unofficial App for the Nvidia Shield Android TV. Playing Xbox Cloud Gaming directly on the box Nvidia Shield tv in the best way.

    Project mention: What is a good method to play Xbox gamepass cloud games on here? | /r/ShieldAndroidTV | 2023-06-30

    That "xcloud beta" app looks shady, as there's no actual source code for it on GitHub -- just APKs and invalid files like this one:

  • JavaRTS

    Hobby project, trying to create a simple RTS game with somewhat challenging AI

  • PolyWorld

    A world generator that is based on Voronoi diagrams

  • PieMenu

    A library for easy integration of a flexible circular WidgetGroup within libGDX

    Project mention: Scene2D widget which is a dial, rotates left and right on a wheel to select a number | /r/libgdx | 2023-03-06

    I found this is pretty good for what am trying to do:

  • marvelous-bob

    libGDX Client and Server architecture for multiplayer game (with CI/CD done for deploying Docker images on AWS ECS)

  • hms-game-demo

    GameServiceKit Android sample code encapsulates APIs of the HUAWEI GameSevice Kit. You can implement features like achievements and events faster, so you can quickly build the foundations for your game.

  • pixel-community

    High performance and modular Java/Kotlin 2D Game Framework.

    Project mention: Criação de um motor de jogo. | /r/devpt | 2022-11-13
  • WAT-Vis

    A tool for game developers and server owners to decode, visualize, and analyze player positional data.

  • Subspace-Infinity

    A spiritual and technical successor the infamous 2d space mmo Subspace

    Project mention: [Hobby] Need help implement Continuous Collision Detection in a classic top-down multiplayer space shooter | /r/INAT | 2023-03-05
  • Cities

    Procedural city & road placement

  • MetalRenegades

    A harsh western world with a robotic twist.

  • Java2dGame

    Hello there! This is my first open-source 2d game, I hope you enjoy it! :D. Here I will try to make an apocalypse zombie game

  • Sonar

    Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-19.

Java Game development related posts


What are some of the best open-source Game development projects in Java? This list will help you:

Project Stars
1 libGDX 21,951
2 LWJGL 4,351
3 FXGL 3,756
4 Terasology 3,550
5 jMonkeyEngine 3,530
6 JustWeEngine 769
7 Litiengine 641
8 Mini2Dx 497
9 talos 386
10 HyperLap2D 307
11 GreenLightning 218
12 xcloud-shield 184
13 JavaRTS 125
14 PolyWorld 75
15 PieMenu 71
16 marvelous-bob 22
17 hms-game-demo 21
18 pixel-community 19
19 WAT-Vis 15
20 Subspace-Infinity 13
21 Cities 10
22 MetalRenegades 6
23 Java2dGame 3
Write Clean Java Code. Always.
Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.