Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (686)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  What does this all mean for us?  (Read 5317 times)
0 Members and 1 Guest are viewing this topic.
Offline ImNotBacon

Junior Devvie

Don't eat me

« Posted 2009-02-11 19:21:31 »

I've only recently become aware of JavaFX, and I've read some of the basic overview information.  As developers already making java games, what does this mean for us?

The prospect of using SVG format graphics is certainly exciting.

Can this be a replacement technology for the clunky Graphics2D library?

Could a Graphics2D based game be ported to JavaFX and see similar (or improved) performance?

I apologize if this is already covered somewhere.
Offline CyanPrime
« Reply #1 - Posted 2009-03-02 06:31:27 »

This is a good question. I'd like to know as well.
Offline fletchergames

Senior Devvie

« Reply #2 - Posted 2009-03-04 19:13:32 »

Since it can run on mobile phones running Java ME, I doubt it can improve performance that much.  I mean, does it even allow floating point?  I seem to recall the Java ME doesn't, which suggests that Java FX can't either.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline bjgil2

Senior Newbie

That's it Mr. Giraffe, get all the marmalade

« Reply #3 - Posted 2009-03-05 01:14:50 »

Since it can run on mobile phones running Java ME, I doubt it can improve performance that much.  I mean, does it even allow floating point?  I seem to recall the Java ME doesn't, which suggests that Java FX can't either.

It's not that Java ME can't use floating point numbers, the problem used to be that the phone hardware didn't support floating point operations.  In fact, from what I have read, anything that offers CLDC 1.1 supports floating point.

Offline trembovetski

Senior Devvie

If only I knew what I'm talking about!

« Reply #4 - Posted 2009-03-05 04:56:12 »

Currently JavaFX on desktop uses Java2D for rendering, so you probably won't get much of a performance improvement if any over pure Java2D game.

However, you'll get richer feature set (effects, media, animation, binding) and arguably easier to use API and language, and ability to run your application on different kinds of devices (assuming you're targeting common profile) - desktop, mobile.

Offline aNt

Senior Devvie


« Reply #5 - Posted 2009-03-06 08:31:54 »

You'll have to wait until an OEM ships JavaFX with a handset (that will probably have floating point).

The 'is JavaFX better for making games', that's up to you/us and indeed the game. It's a lot simpler to draw, animate and add interaction with JavaFX no question about that. The Performance is better in most cases because SUN engineers are handling all the Java2D magic. But if your working in the world of accelerated graphics then you'll have to wait before that area hits the high-streets of the JavaFX fanfare.

First thing to try is make a circle and deploy it Wink
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Dwinin (61 views)
2015-11-07 13:29:08

Rems19 (74 views)
2015-10-31 01:36:56

Rems19 (67 views)
2015-10-31 01:32:37

williamwoles (103 views)
2015-10-23 10:42:59

williamwoles (90 views)
2015-10-23 10:42:45

Jervac_ (103 views)
2015-10-18 23:29:12

DarkCart (131 views)
2015-10-16 00:58:11

KaiHH (113 views)
2015-10-11 14:10:14

KaiHH (153 views)
2015-10-11 13:26:18

BurntPizza (165 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!