• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

JavaFX games

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
William Antônio Siqueira
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Dean Iverson
author
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Dean Iverson
author
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
William Antônio Siqueira
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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!
 
Philippe Lhoste
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
William Antônio Siqueira
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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!

 
Philippe Lhoste
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but it is dormant for a long time , I last checked 2 months back and there was no update since January.
 
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic