Looks neat!
Fyi: it's possible to remove the -XstartOnFirstThread arg if you don't mind including a c ffi library like JNA.
Can you explain this more please, what is c fffi?
As far as I know lwjgl3 and glfw don't work otherwise
ffi means foreign function interface. c is the c ABI. You still need to run the UI on the main thread, but you can set that up using c ffi.
Ahh, it would also be possible if I would package the game as an executable, I know about that
Iโve done it a few times. If youโre interested, I could probably pull that code out into a small standalone library.
But right now it's not a priority
It's not an issue , I just added a line to .zshrc
It just makes it easier to use for clojure projects.
There's a tool called jpacker or something from libgdx which packs games into a executable with jvm so don't spend your time on this