Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
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  
  JavaFX Game support  (Read 2056 times)
0 Members and 1 Guest are viewing this topic.
Offline matheus23

JGO Kernel


Medals: 109
Projects: 3


You think about my Avatar right now!


« Posted 2012-05-03 16:04:36 »

Just a side I stumbled across:
http://carlfx.wordpress.com/2012/04/09/javafx-2-gametutorial-part-2/

What's your opinion?

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline sproingie

JGO Kernel


Medals: 202



« Reply #1 - Posted 2012-05-03 16:32:50 »

Seems too little too late if you ask me.  HTML5 has a similar declarative model as JavaFX's "stage", with a much bigger installed base that's actually multiplatform, and a community to match.

That goes for JavaFX in general actually, but I dare say even more so for games.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 816
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #2 - Posted 2012-05-03 16:39:03 »

Maybe HTML5 is too new, but the rendering performance is horrible.
I had expected it to use hardware acceleration by now, when rendering a handful of textured quads.

(to make a skewed comparison: software rendering in Java2D beats it handsdown)

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej
« Reply #3 - Posted 2012-05-03 16:44:07 »

Maybe HTML5 is too new, but the rendering performance is horrible.
I had expected it to use hardware acceleration by now, when rendering a handful of textured quads.

(to make a skewed comparison: software rendering in Java2D beats it handsdown)
I didn't imagine HTML5 was so slow.

Offline sproingie

JGO Kernel


Medals: 202



« Reply #4 - Posted 2012-05-03 17:39:39 »

I'm always willing to be pleasantly surprised, but I'm still hedging my bets on JavaFX.  It failed to sieze the opportunity to make a big splash years ago, and re-releasing it for even less platforms than it supported the first time around just doesn't strike me as the way to set the world on fire.  I think HTML5 will improve faster than JavaFX will evolve.
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 78
Projects: 15


★★★★★


« Reply #5 - Posted 2012-05-03 18:33:42 »

speaking of JavaFX, just noticed this article on the slashdot front page, 'JavaFX Runs On Raspberry Pi'.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 816
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #6 - Posted 2012-05-03 18:40:31 »

speaking of JavaFX, just noticed this article on the slashdot front page, 'JavaFX Runs On Raspberry Pi'.
Yeah, I notices that article. Have you seen the video demonstrating it?

After 7s the borders of the window become visible.
After 11s the first frame is rendered.
After 15s the second frame is rendered.
After 31s the framerate becomes stable, and the clock ticks at 1Hz.

That all (presumably) with a JVM that has been launched a few times already: (from 02:05)

<a href="http://www.youtube.com/v/JBY7-wckR0g?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/JBY7-wckR0g?version=3&amp;hl=en_US&amp;start=</a>

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline kaffiene
« Reply #7 - Posted 2012-05-04 01:43:07 »

yeah, but thats a JIT JVM ported to ARM - it's not an standard ARM JVM. That's why the performance sucks
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 816
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #8 - Posted 2012-05-04 01:51:40 »

yeah, but thats a JIT JVM ported to ARM - it's not an standard ARM JVM. That's why the performance sucks
I'm not sure I agree. Even Dalvik (or HTML5 for that matter) performs better than this on worse hardware.

Compare that 30s-to-stabilize clock to:
<a href="http://www.youtube.com/v/o18u4jeeUPY?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/o18u4jeeUPY?version=3&amp;hl=en_US&amp;start=</a>

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Online princec

JGO Kernel


Medals: 404
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #9 - Posted 2012-05-04 09:01:56 »

Indeed. Anybody got a Pi here? I'm itching to try my little games out on it.

The Dalvik VM, if anyone doesn't yet know, is actually mostly based on the JamVM, a fully compliant J2SE JVM, which itself these days uses the OpenJDK classpath. JamVM is actually pretty performant given that it does virtually no optimisation beyond simple JITting code like the old Java 1.1 VMs used to. It's also incredibly tiny!. Just imagine what it could do with a bit of Hotspot magic and a proper GC! In fact I know, coz I've played with the Sun ARM JDK 6 and it's blazing fast...

Cas Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gene9

Senior Duke


Medals: 10



« Reply #10 - Posted 2012-06-21 23:20:09 »

JavaFX is a much improved Swing/WPF/Silverlight. It is perfect for the rare scenario where you don't want to go straight HTML/JS, but you want to build a widget-centric application with text boxes and push buttons and data grids and maybe some animations/effects on top.

But, JavaFX is not a good fit for games. Game devs should just find an OpenGL surface to pump graphics to, and have a real game engine, either something home grown or something like Ogre, on top of that.

Just a side I stumbled across:
http://carlfx.wordpress.com/2012/04/09/javafx-2-gametutorial-part-2/

What's your opinion?
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.

Longarmx (39 views)
2014-10-17 03:59:02

Norakomi (30 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

lcass (28 views)
2014-10-15 16:18:58

TehJavaDev (57 views)
2014-10-14 00:39:48

TehJavaDev (58 views)
2014-10-14 00:35:47

TehJavaDev (48 views)
2014-10-14 00:32:37

BurntPizza (64 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

BurntPizza (78 views)
2014-10-11 22:30:10
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!