3 ms·
Out of curiosity, has anyone here tried taking something like Quake 2 or 3 and porting it to run on the JVM? This project kind of makes me want to try porting
by tombert 7y ago
Out of curiosity, has anyone here tried taking something like Quake 2 or 3 and porting it to run on the JVM?
This project kind of makes me want to try porting Quake 3 into Clojure, but I want to know the limitations in doing so.
- cs02rm0 7y agoI'd imagine the graphics libraries is where the JVM falls down.
- flatiron 7y agoNot that Minecraft runs well or is a marvel of graphical technology but at least it proves you can do FPS 3D with the JVM enough to the the most popular game around.
- phit_ 7y agoMinecraft uses https://www.lwjgl.org/ https://www.lwjgl.org/
- agumonkey 7y agoCant one bind to opengl directly ?
- p1necone 7y agoYes you can. Java works fine for even kinda high end 3d graphics, not many people do it though. The biggest thing in java gamedev is avoiding GC pauses.
- tombert 7y agoI would think that with the newer GCs (like Shenandoah) for Java, the GC pause thing might become a non-issue soon enough. Not sure that works for Clojure though.
- the-alchemist 7y agoHmm, how would a different GC _not_ work for a different JVM language (Clojure or Jython, or whatever)?
- deleted 7y ago[deleted]
- pjmlp 7y agoJava is even one of the managed languages that already has Vulkan bindings. Java history is full of OpenGL and DirectX bindings as well. Just not all of them have survived the original authors leaving the project. Before Unity was a thing, Java already had the Java Monkey Engine.
- cartoonfoxes 7y agohttps://bytonic.de/html/jake2.html https://bytonic.de/html/jake2.html