Forums Login/signup

JavaFX games

+Pie Number of slices to send: Send
Hi!!!

I know some games with JavaFX, but exist some effort to build a JavaFX game engine? Or a project like CRUDFX or JFXtras for games?


I was building an engine for games in JavaFX, but i feel so discouraged cause have no one with games background working with JavaFX.. But i'll terminate my engine soon!

Regards
+Pie Number of slices to send: Send
I don't know of any project that has been started specifically to build a JavaFX-specific game engine, but there certainly has been a lot of interest in using JavaFX for games. It seems like a natural fit for JavaFX's strengths in graphics and animation.

There have certainly been a lot of JavaFX game demos from pac man clones to tank battles (a google search will turn up plenty).

There is also Michael Heinrichs inverse kinematics library for JavaFX:

http://fxutil.netopyr.com/page.php?3

And several blog entries on using a Java-based physics engine in JavaFX games:

http://piliq.com/javafx/?page_id=729

+Pie Number of slices to send: Send
I had seen these blogs!!!

I was referring to a framework as G T G E: http://www.goldenstudios.or.id/

Games are "super importants" to RIA technologies. Flash is very famous because of their games!!

Regards
+Pie Number of slices to send: Send
As I said in my original reply, I don't know of any JavaFX game engine project. Maybe it's an opportunity for you.

I agree, games are important. JavaFX could be a killer platform for game development as applet deployment continues to improve.
+Pie Number of slices to send: Send
 

Games are "super importants" to RIA technologies. Flash is very famous because of their games!!



True, but this has nothing to do with RIA technology. Flash games became hugely popular long before the term RIA was even coined. In my opinion, looking for or writing a game engine in JavaFX is reinventing the wheel. There are already several Java based game engines which could probably work with JavaFX, since it's all Java anyway, eventually. I've seen demos of JMonkeyEngine being used with Griffon, which is a groovy based API for building Swing applications. There is also Slick which is a 2D OpenGL game API. I'd first look at how I could use those with JavaFX, if possible, before even considering writing a game engine in JavaFX.

And on top of all that, if an engine already exists for Java, what does a JavaFX engine bring to the table? Declarative syntax? The only game related thing that might be good for is building scenegraphs, which these other API's already make quite simple.
+Pie Number of slices to send: Send
 

Gregg Bolinger wrote:And on top of all that, if an engine already exists for Java, what does a JavaFX engine bring to the table?



The ability to reach mobile devices.
+Pie Number of slices to send: Send
Actually, JavaFX can be seen as a game engine in itself: it manages a scenegraph, you can easily do sprites, and even collision detection, you have a GUI for user information or settings, etc.
You can also plug in a physics engine like JBox2D or Phys2D, etc.
Just don't expect to do 3D games yet.
+Pie Number of slices to send: Send
 

Philippe Lhoste wrote:Actually, JavaFX can be seen as a game engine in itself: it manages a scenegraph, you can easily do sprites, and even collision detection, you have a GUI for user information or settings, etc.
You can also plug in a physics engine like JBox2D or Phys2D, etc.
Just don't expect to do 3D games yet.



I was talking about an engine that brings methods and abstractions from the world of games, such as:

- Tiled World
- Character
- Enemy
-...


I was building a cluster of classes that allow this abstraction, but my skills and time does not allow me to move on! I hope one day to finish my project!
+Pie Number of slices to send: Send
I am not familiar with existing game frameworks, but I doubt they have a concept of character or enemy, as they are more on the "business logic" end, and are not suited to all games (like Tetris...); they are easy enough to create and customize to your own needs.

Tiled world can be done with the Tile layout and you can scroll it with a ClipView.
+Pie Number of slices to send: Send
 

Philippe Lhoste wrote:I am not familiar with existing game frameworks, but I doubt they have a concept of character or enemy, as they are more on the "business logic" end, and are not suited to all games (like Tetris...); they are easy enough to create and customize to your own needs.

Tiled world can be done with the Tile layout and you can scroll it with a ClipView.



I'm speaking about a API like GTGE:

http://www.goldenstudios.or.id/products/GTGE/index.php

GTGE encapsulates some game programming techniques, so you just need worry with your game not with technical aspects from the language used!

+Pie Number of slices to send: Send
I still don't see major features not supported, one way or another, by JavaFX.
You might have to do some plumber work to nicely support animated sprite, but it is not that hard.
Precise collision detection can be a little harder, perhaps.
And isometric background is indeed not really supported.
I don't see IA support in the list of features, so no character/enemy management.

Basing my remarks only on the list of features shown in the page you list.

Note: some libraries like this one or PulpCore can still have an edge on speed/smoothness/facilities.
I just wanted to make a point that lot of features needed to make a game are already there: load and display images, play sounds, timelines, effects, etc.
+Pie Number of slices to send: Send
 

Philippe Lhoste wrote:I am not familiar with existing game frameworks, but I doubt they have a concept of character or enemy, as they are more on the "business logic" end, and are not suited to all games (like Tetris...); they are easy enough to create and customize to your own needs.

Tiled world can be done with the Tile layout and you can scroll it with a ClipView.



There was a Tile project from Josh Marinacci on kenai.com, I think.
+Pie Number of slices to send: Send
but it is dormant for a long time , I last checked 2 months back and there was no update since January.

reply
reply
This thread has been viewed 6786 times.
Similar Threads
JCAPS and JavaFX
Learning Android - Slick2D for Android
Suggestions Game Engine For Java For 2D Games
With JavaFX can develop both web and desktop Apps
Java FX in Swing!
More...

All times above are in ranch (not your local) time.
The current ranch time is
Jul 07, 2025 14:25:35.
close