how about JavaFX section in Game APIs & Engines

Is JavaFX considered a game API and engine? May I suggest a section for it.

thanks
jose

I heard that it’s faster than AWT, but still much slower than pure OpenGL.

I think there should be a section if enough people are using it.

There’s a child board under Java2D for JavaFX.

ra4king,

Hey just saw the child board. Will check it out. Don’t know how I missed it before. Thanks!

jose

lmao at how empty it is over there. seems to be a common theme across other jfx boards i’ve seen.

It’s an irrelevant technology that’s arrived 5 years too late. World+dog is moving to HTML5+Canvas/WebGL+JS for that sort of thing, with tools to write boilerplate crap and APIs and frameworks to do the heavy lifting for you.

If you want to write games, and use Java, then basically you use LWJGL (or JogAMP if your bread is buttered that side) and be able and willing to use the powers it gives you; otherwise you’re simply wasting your time and should probably use some other technology. Or of course you’re writing for Android but that’s not Java, right :persecutioncomplex:?

Cas :slight_smile:

I beg to differ. Javascript performance sucks.

The game I’m making is performing great in JFX. You have not been keeping up on what is going on in JFX 2.x.

I have been, I just don’t care :slight_smile: They totally missed the boat. JavaScript performance may suck right now but it’s only about as slow as Java was back in 1998 and it’s only going to get faster and faster. Waving my magic wand in the air I predict that in the next 3 years it’s probably going to get another 3-4x faster.

JavaScript is still the diseased imagining of Satan though and I wish it would go away and DIAF but there we go, that’s the power of the herd mentality for ya.

Cas :slight_smile:

Ehh the game I am making in Java2D is performing well. (well as long as you don’t have integrated Graphics chip) but java2D is still slow as shit when compared to other stuff available.

JavaFX seems really nice and all but like other have said, too little too late.

In all honesty, when it comes to browser base games (things you don’t have to launch from desktop) flash is the mega ultra boss. Almost, every fun game I have played that is browser based is made in flash. Recently, there have been others such as unity and some java stuff but the best is still flash.

The problem with javafx was unless it was utterly amazing from the get-go there just wasn’t much point in it existing… everything else was already doing it better.

Cas :slight_smile:

As a Swing replacement, JavaFX is very nice.
For games I don’t really see the point.

When you think JFX dont just think browser, its actually good for desktop too. Bottom line its a graphics engine for Java. Its fast, deep, and fun to use. Every time I think about implementing something sure enough there is a class or method to do it. It has nothign to do with x-years too late. Its here now and its powerful.

Not trying to be rude but if it is so powerful, please show me some of these boss things it can do that others, here right now, can’t.

And I am not just talking browser. The fact is, with bindings to openGL, just about anything else that does not have similar binding is slower. If there is a class that will let you load shaders and use them, then I will be impressed. Thing is, it seems to be a fast java2D which is great and all but is out classed by all the other options out there. This is probably why not a lot of people use it.

lol. ok man. thats not for me to answer. I never compared it against any other library. it does what it does and it does it well.

Hm, when you think about it in terms of a replacement (or at the least) an alternative to Swing for making more interesting GUIs it’s actually pretty neat. Thing is… Swing is actually really rather good. If you’ve ever coded in any other UI framework ever, you’ll realise just how good. So I do hope they don’t ditch swing in favour of JavaFX but instead concentrate on growing both techs and aiming them each more specifically at the sorts of things that they’re best at.

Cas :slight_smile:

Swing isn’t being killed off, but it’ll be purely in maintenance mode while JavaFX gets all the new features. It’s hard to argue that Swing hasn’t been in maintenance mode anyway for the last 8 years or so. Getting generic model classes has been just about the only decent thing to happen with it lately, and how long did that take after generics had first landed in 1.5?

I dunno… beyond that all it was really majorly missing was a modern HTML component and maybe one or two other utility components like treetables. It was otherwise sort of complete.

Cas :

I kind of miss JavaFX’ CSS stuff in Swing nowadays, but I suppose functionally you can do about anything with plain swing.
Some kind of docking framework as part of standard Swing would have been nice.
Or Vsync’ed updates.

Swing is incredibly flexible and extensible – overall it’s a very well designed API. With that said, it fails on a few fronts:
[]You need to ship the JRE with your application.
[
]JVM startup time is slow.
[]The look and feel does not match the operating system. (e.g. The filechooser… oh god.)
[
]The 21st century is “going mobile” – today’s rich UI applications are being built on the web with HTML5. e.g. Google Docs is making software like MS Office obsolete.

From my understanding JavaFX is not going to overcome the above issues, and so it too will fail for GUI development in the long run.

If you really want a “smooth” software experience, use something like Qt (PyQ is awesome). If you want to develop applications “for the future,” you should be targeting HTML5. If you just want to make a simple GUI application with a language you already know, continue using Swing or JavaFX.