jaylib icon indicating copy to clipboard operation
jaylib copied to clipboard

include raygui (RayLib GUI) and physac

Open XiaochuanWang opened this issue 5 years ago • 6 comments

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 avatar Apr 29 '20 07:04 XiaochuanWang

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

XiaochuanWang avatar Apr 29 '20 09:04 XiaochuanWang

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

Amazing work, Thanks @electronstudio !

uSources avatar May 01 '20 11:05 uSources

anybody working on it ? 🤔

Airbus5717 avatar Nov 03 '20 20:11 Airbus5717

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 avatar Nov 23 '20 14:11 electronstudio

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 avatar Nov 26 '21 00:11 electronstudio

raygui is added.

electronstudio avatar Nov 26 '21 02:11 electronstudio