Orbital icon indicating copy to clipboard operation
Orbital copied to clipboard

Remove user dependency on Jaylib

Open Yeffian opened this issue 2 years ago • 2 comments

Currently, to work with Orbital properly, you need to add the Jaylib dependencies separately and use Jaylib specific classes. This can be solved by implementing wrapper classes around all Jaylib classes, so the need for the users to add Jaylib is eliminated.

Yeffian avatar Mar 17 '22 17:03 Yeffian

With the implementation of Vector2f and Color classes and enums, i think this is basically done.

Yeffian avatar Mar 28 '22 08:03 Yeffian

So it turns out its not! You no longer need to use Jaylib classes, but you still need to include jaylib as a dependancy. My solution to this was to use shadowjar and make it a fat jar, but that does not seem to work. Requires some further research.

Yeffian avatar Apr 02 '22 10:04 Yeffian