electronstudio / jaylib

Java JNI bindings for Raylib
Other
121 stars 23 forks source link

include raygui (RayLib GUI) and physac #8

Closed XiaochuanWang closed 2 months ago

XiaochuanWang commented 4 years ago

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 it would quite useful if it (physac.h) can be included in the Jaylib jar.

similar reason for the "raygui.h"

many thanks

XiaochuanWang commented 4 years ago

Additionally, some "low" level functions are missing, which mainly from the "rlgl.h". because of this, the official example "rlgl solar system" in the example page can't be replicated with the Jaylib jar

uSources commented 4 years ago

Totally agree with @XiaochuanWang , if u have some time to add physac and raygui bindings it would be awesome.

Amazing work, Thanks @electronstudio !

Airbus5717 commented 4 years ago

anybody working on it ? 🤔

electronstudio commented 3 years ago

I added support for RLGL (and Raylib 3.1-dev).

With physac.h I can't get javacpp to process the mess of defines and typedefs. No idea how C coders live with this stuff.

electronstudio commented 2 years ago

I got physac.h to work, but I had to change a lot of typedefs. Not entirely happy shipping that because it's not automated and will have to be re-done for each release of physac.

electronstudio commented 2 years ago

raygui is added.

electronstudio commented 2 months ago

Physac is now deprecated by Raylib so I will leave the existing version for as long as it compiles but no-one should be using it for new projects.