LWJGL VS FXGL

Compare LWJGL vs FXGL and see what are their differences.

LWJGL

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. (by LWJGL)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
LWJGL FXGL
71 24
4,543 4,111
1.3% -
8.9 9.0
3 months ago 7 days ago
Java Java
BSD 3-clause "New" or "Revised" License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

LWJGL

Posts with mentions or reviews of LWJGL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-17.
  • Game crashes starting 1.5.2
    2 projects | /r/Minecraft | 17 Nov 2023
    229 recipes 27 achievements 2023-11-15 18:45:08 [CLIENT] [INFO] Setting user: aleislost (Session ID is token:0:) 2023-11-15 18:45:08 [CLIENT] [INFO] LWJGL Version: 2.9.4 Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffd49392ee7, pid=5988, tid=0x0000000000002188 # # JRE version: OpenJDK Runtime Environment (8.0_392-b08) (build 1.8.0_392-b08) # Java VM: OpenJDK 64-Bit Server VM (25.392-b08 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [ig7icd64.dll+0x22ee7] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # C:\Users\Ale\AppData\Roaming\PollyMC\instances\1.5.2\.minecraft\hs_err_pid5988.log # # If you would like to submit a bug report, please visit: # https://github.com/adoptium/adoptium-support/issues # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # AL lib: (EE) alc_cleanup: 1 device not closed Process exited with code 1.
  • Not only Unity...
    53 projects | /r/opensourcegames | 11 Nov 2023
  • I am looking to learn java for 2d and 3d game development any good tutorials or sources for beginners who don't know anything
    2 projects | /r/learnjava | 27 Jun 2023
    Both libGDX and JMonkey engine make use of LWJGL.
  • Wayland support
    2 projects | /r/TLAUNCHER | 27 Mar 2023
    Minecraft uses LWGL under the hood, which does support Wayland as of version 3 if it is configured to use EGL instead of GLX. (see https://github.com/LWJGL/lwjgl3/issues/748) Version 2 of LWGL does not support Wayland as it relies on xrandr, which is only available on X (see https://github.com/LWJGL/lwjgl/issues/118).
  • Anybody working on games here?
    13 projects | /r/Clojure | 22 Mar 2023
  • minimax — minimalist 3D game engine in Clojure
    5 projects | /r/Clojure | 26 Feb 2023
    The "engine" is built on top of amazing https://www.lwjgl.org/ and https://github.com/bkaradzic/bgfx/, and UI system is baked by https://github.com/memononen/nanovg and https://github.com/facebook/yoga
  • I can't think about another video game using Java. I mean, there WILL be more but i haven't saw them.
    13 projects | /r/ProgrammerHumor | 1 Jan 2023
    It's still in Java, they mention in one of their blog posts they are using lwjgl.
  • Okay! I know programming language, but what now?
    3 projects | /r/learnprogramming | 8 Dec 2022
    Similarly, if you want to try a 2d game but using Java instead of C++, you can try LWJGL: https://www.lwjgl.org/, the same library that was used to make Minecraft, and I think Flappy Bird.
  • Best language to learn?
    3 projects | /r/VoxelGameDev | 6 Dec 2022
    Java https://www.lwjgl.org/ (OpenGL Wrapper)
  • Is writing a Game Engine worth it?
    3 projects | /r/gamedev | 30 Oct 2022
    For reference, Minecraft is probably the most famous game written in java (on top of the lwjgl framework). Back in the day it was known for being a surprisingly performance-intensive game for looking so simple. It's unclear to me how much of that was Java itself and not just the original implementation for Minecraft. It's gotten much better as the years have progressed, even accounting for better hardware.

FXGL

Posts with mentions or reviews of FXGL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-04.
  • FLaNK 04 March 2024
    26 projects | dev.to | 4 Mar 2024
  • Excited for 2023!
    3 projects | dev.to | 1 Jan 2023
    Java seems to have gained a second wind in recent years, and the innovation in this ecosystem is speeding up. Java 20 and LTS release 21 are expected to happen this year. RIFE2, an actively-developed pure-Java web framework, has recently caught my attention. Like Javalin, it appears to be built on top of the successful Jetty server. I also started exploring FXGL for building games with Java. Lastly, as concerns over COVID-19 variants wane I expect an increase in Java developers participating in community events. For example, Chicago finally had its first in-person JConf event and the Chicago Java User Group (CJUG) is easing back into in-person events.
  • Simple 2D graphics framework for C#/Java
    3 projects | /r/csharp | 3 Sep 2022
    Have you checked FXGL? It’s built on top of JavaFX.
    3 projects | /r/csharp | 3 Sep 2022
    Or a framework built on JavaFX: FXGL
  • Game Making Libraries + Engines in Java 2022
    2 projects | /r/java | 30 Mar 2022
    I can highly recommend FXGL https://github.com/AlmasB/FXGL to get started building simpler 2d games before looking into 3d engines which can be daunting unless that’s what you are in for. Nice and easy api’s with everything you need as well as lots of example games to learn from.
  • Good framework for making 2d games
    2 projects | /r/learnjava | 22 Sep 2021
    Either libGDX (https://libgdx.com) or FXGL (http://almasb.github.io/FXGL/) . libGDX is more complicated and more powerful, FGXL is better suited for simpler games and so easier for beginners, but recently it's development is quite active and more and more features are available.
  • Learn to build a Roguelike game in Scala
    6 projects | /r/scala | 29 Jun 2021
  • Deploy FXGL to the web?
    2 projects | /r/JavaFX | 13 Apr 2021
    Is there any way to deploy applications made with FXGL to the web? I suspect no - not yet, anyway - but I'm curious if anyone has tried this.
  • What are some free programs for making small games?
    4 projects | /r/javahelp | 10 Apr 2021
    Since your asking in r/javahelp , I believe you want to make a game in Java. The easiest way is to use a game engine and I can really recommend FXGL. You can find it here: https://github.com/AlmasB/FXGL together with information about how to use this library and a lot of example projects (from simple to advanced).
  • How do I implement and structure a tool that draws directed graphs?
    3 projects | /r/JavaFX | 18 Mar 2021
    Then you need a visualization engine. You could look at FxGL, which is versatile: https://github.com/AlmasB/FXGLI think the particule demo is quite close to what a graph viz would need: https://www.youtube.com/watch?v=yhr1b4061os

What are some alternatives?

When comparing LWJGL and FXGL you can also consider the following projects:

libGDX - Desktop/Android/HTML5/iOS Java game development framework

KorGE - KorGE Game Engine. Multiplatform Kotlin Game Engine

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

OpenTK - The Open Toolkit library is a fast, low-level C# wrapper for OpenGL, OpenAL & OpenCL. It also includes windowing, mouse, keyboard and joystick input and a robust and fast math library, giving you everything you need to write your own renderer or game engine. OpenTK can be used standalone or inside a GUI on Windows, Linux, Mac.

Vulkan-Tutorial-Java - Vulkan tutorial by Alexander Overvoorde ported to Java

raylib - A simple and easy-to-use library to enjoy videogames programming

imgui-java - JNI based binding for Dear ImGui

panama-foreign - https://openjdk.org/projects/panama

GreenLightning - High performance microservice runtime

bevy - A refreshingly simple data-driven game engine built in Rust