I was not into learning 3rd party game engine at all and do everything with JavaFX however after influence of other people from this board I changed my mind to actually use game library.
Question coming for you guys! Should I choose LWJGL or Libgdx (or somehting else?) if I wanna include use of JavaFX too?
because one might not be compatible with JavaFx…
You can use libgdx (or raw LWJGL) with JavaFX but it’s not nice or pretty, and performance is only “adequate”.
If you’re going to make a UI-heavy game, use JavaFX.
If you’re going to make a super awesome state of the art graphics heavy game, use LWJGL.
If you’re going to make a game based on some pretty standard concepts like a sprite engine, animation, etc, use libgdx.
If you’re targeting mobile, design for mobile first and foremost, and use libgdx.
Ahh So you advise me to not use JavaFX at all. Im not sure what UI heavy means - probably that theres a lot of user interface components? LOL. no in my case it will be normal amount of GUI components.
I wanted to make 2d rpg. Isometric is fine but even something simpler than isometric (top-down view?) would fit me. Not for android, but for PC, but if it ran on android and other platforms then it would be great!
PS I did not include many details but i wanted to make something SIMPLE that doesnt take me ages to publish. (im very bad at graphics/math and I dont believe I would be capable of making 3D RPG (im still a newb), while im a big fan of 2D games (especially isometric), they seem MUCH simpler to make and actually this is what I want to do.
In other words: isometric(or topdown) view 2D RPG that would run on all platforms if possible (or on windows if not possible). Does that mean LIBGDX?
I would advise you to use JavaFX, as you can do both 2D graphics and UI (and also simple 3D if you want to), all integrated into a stable and high-level toolkit. That will at least be enough for your first games.
LWJGL is very low-level, so only use it for heavy 3D games, as @princec said.
Libgdx also helps a great deal in the 2D area, when you want to do 3D, however, it’s getting much more complicated.
Also, setting it up can be tricky for some.
I really like JavaFX but I’ve come across some real facepalming issues with it, mostly to do with performance… or lack thereof. It will get a lot faster - keep an eye on the JavaFX mailing lists for news on that horizon - but right now it isn’t guaranteed particularly high or consistent performance. And it can’t do any post-processing effects or fancy shaders either.
The answer to this question depends more on you and your context than it does us and our preferences. Why don’t you create a few simple applications in each and see which one works best for you?
[quote]I really like JavaFX but I’ve come across some real facepalming issues with it, mostly to do with performance… or lack thereof. It will get a lot faster - keep an eye on the JavaFX mailing lists for news on that horizon - but right now it isn’t guaranteed particularly high or consistent performance. And it can’t do any post-processing effects or fancy shaders either.
[/quote]
Yeah, I agree. JavaFX isn’t super performant, but actually is good enough for simple games.
I’m a “ghost reader” of the OpenJFX mailing lists.
Sadly, you have no access to any of the deeper layers of the 3D API. And they don’t plan on making that possible as they aren’t planning to add more features to it…
But as I don’t expect @alphacoder plans to use DoF or motion blur, he could use JavaFX