jaylib
jaylib copied to clipboard
Java JNI bindings for Raylib
Publishing on Jitpack is quite easy, but since I'm not using this project for anything yet I haven't done it. JCentral would be better but is perhaps more work.
GraalVM can call code in any supported language from any supported language, and one of the 'languages' is LLVM bitcode. Compiling Raylib to LLVM bitcode works fine. However we then...
When testing the Jaylib jar, I realized that the "physac" in not in jar, and this is included in the RayLib 3.0 as its "default" 2D physics engine/component. I think...
Javacpp creates noarg constructors and expects you use the fluent methods to initialize, e.g.: ` new Vector3().x(16).y(8).z(16)` It would be nicer for Java programmers if we could make a constructor...
There are two ways to do this: 1. With the Jaylib bindings. Problem: All the JNI method calls need to be listed in a file `META-INF/native-image/jni-config.json`. This file can be...
As we all know, FFI in Java is a mess. From Sun you have JNI which requires you to write C code, you have JNA which doesn't require C but...
This is the PR to go along with #17. This closes #17, closes #6, and closes #2 ***Currently work in progress*** ## Project layout The project is split into three...
Convert more of the Raylib examples from C to Java and test they work.
The Javacpp build process is a bit unusual and the docs are not great, so I wrote bash scripts to get it working. Would be preferable to replace them with...