Libgdx + JavaFX

Any community contributions to libgdx go here! Some may get included in the core API when permission is granted.

Libgdx + JavaFX

Postby xpe » Wed Apr 30, 2014 9:31 pm

Hi, I m currently making an realtime editor with Swing (hate it lol) and found out that spasi got lwjgl to work with JavaFX http://www.java-gaming.org/topics/lwjgl-javafx-integration/27801/view.html.

So I digged it a little and 2 days later I got libgdx and JavaFX to run :P .


Since I'm new in JavaFx, Input is not implemented yet :(


I Tested some examples in gdx-tests and works well (Tested on windows 7, not sure it will work with linux/mac/win8).

note: the second window is draggable :D

This is a experimental project.
https://bitbucket.org/xpenatan/libgdx-javafx
Attachments
LibgdxFX.png
LibgdxFX.png (188.33 KiB) Viewed 7403 times
Last edited by xpe on Mon Nov 17, 2014 1:38 pm, edited 1 time in total.
xpe
 
Posts: 43
Joined: Wed Jan 18, 2012 9:16 pm

Re: Libgdx + JavaFX

Postby Trixt0r » Thu May 01, 2014 10:02 am

:D
I also implemented a JavaFX backend for LibGDX with the help from Spasi, but my version is only uploading the LibGDX drawing to JavaFX, because I have no need for the other way around.
My implementation has also input support.
Let me know if you need the input part of it and I will create a repo on Github.

- Trixt0r
Trixt0r
 
Posts: 39
Joined: Wed Nov 21, 2012 8:09 pm

Re: Libgdx + JavaFX

Postby xpe » Fri May 02, 2014 12:31 pm

Trixt0r wrote::D
I also implemented a JavaFX backend for LibGDX with the help from Spasi, but my version is only uploading the LibGDX drawing to JavaFX, because I have no need for the other way around.
My implementation has also input support.
Let me know if you need the input part of it and I will create a repo on Github.

- Trixt0r


Sure , it will be helpful :D
xpe
 
Posts: 43
Joined: Wed Jan 18, 2012 9:16 pm

Re: Libgdx + JavaFX

Postby Trixt0r » Fri May 02, 2014 5:54 pm

Here you go: https://github.com/Trixt0r/LibGDX-FX
getDeltaX and getDeltaY may be a little bit buggy, did not test it that extensive.

- Trixt0r
Trixt0r
 
Posts: 39
Joined: Wed Nov 21, 2012 8:09 pm


Return to Libgdx Contributions

Who is online

Users browsing this forum: No registered users and 1 guest