MovingBlocks / box2d-editor

Automatically exported from code.google.com/p/box2d-editor - migrated here to maybe maintain together with Destination Sol. Original website:
https://code.google.com/archive/p/box2d-editor/
Apache License 2.0
84 stars 21 forks source link

Upgrade to LWJGL3 #47

Open marcin85 opened 1 year ago

marcin85 commented 1 year ago

Please add integration with https://github.com/LWJGLX/lwjgl3-awt

BenjaminAmos commented 1 year ago

Could you please clarify why you'd like this? If you're struggling to run the program, then it might work better when using JDK 8.

The editor is using libGDX with LWJGL2 at moment because libGDX's LWJGL3 backend doesn't support running in a AWT/Swing frame. The project you referenced would help here but it needs to be integrated with libGDX first. Something like https://github.com/libgdx/libgdx/pull/6247 (but compatible with current libGDX versions) would be needed.

The editor doesn't interact with LWJGL directly, as far as I am aware. It's all done through libGDX's abstractions.

Marcin-Debski commented 1 year ago

I meant exactly what you mean. To add lwjgl3-awt instead of abstracting lwjgl2 from libgdx. I didnt know its considered to integrate lwjgl3-awt with libgdx. maybe you can leave this request as a very future reminder..