Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (523)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (592)
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 4996 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.

Cheers,
Brett
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.

Dmitri
Offline aNt

Senior Devvie




AFK


« 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.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

SHC (24 views)
2014-11-25 12:00:59

SHC (23 views)
2014-11-25 11:53:45

Norakomi (22 views)
2014-11-25 11:26:43

Gibbo3771 (22 views)
2014-11-24 19:59:16

trollwarrior1 (36 views)
2014-11-22 12:13:56

xFryIx (74 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (41 views)
2014-11-12 21:09:33

kovacsa (68 views)
2014-11-07 19:57:14
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org 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‑gaming.org
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!