Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
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 1592 times)
0 Members and 1 Guest are viewing this topic.
Offline matheus23

JGO Wizard


Medals: 72
Projects: 3


You think about my Avatar right now!


« Posted 2012-05-03 18: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
Online sproingie
« Reply #1 - Posted 2012-05-03 18: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.
Online Riven
« League of Dukes »

JGO Overlord


Medals: 439
Projects: 4


Hand over your head.


« Reply #2 - Posted 2012-05-03 18: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
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline gouessej

JGO Ninja


Medals: 33
Projects: 1


TUER


« Reply #3 - Posted 2012-05-03 18: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.

Online sproingie
« Reply #4 - Posted 2012-05-03 19: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: 51
Projects: 15


★★★★★


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

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

JGO Overlord


Medals: 439
Projects: 4


Hand over your head.


« Reply #6 - Posted 2012-05-03 20: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
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline kaffiene

Senior Member


Medals: 2



« Reply #7 - Posted 2012-05-04 03:43:07 »

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

JGO Overlord


Medals: 439
Projects: 4


Hand over your head.


« Reply #8 - Posted 2012-05-04 03: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
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline princec
« League of Dukes »

JGO Kernel


Medals: 196
Projects: 3


Eh? Who? What? ... Me?


« Reply #9 - Posted 2012-05-04 11: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

Junior Member


Medals: 2



« Reply #10 - Posted 2012-06-22 01: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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (139 views)
2013-05-17 21:29:12

alaslipknot (148 views)
2013-05-16 21:24:48

gouessej (178 views)
2013-05-16 00:53:38

gouessej (172 views)
2013-05-16 00:17:58

theagentd (182 views)
2013-05-15 15:01:13

theagentd (166 views)
2013-05-15 15:00:54

StreetDoggy (211 views)
2013-05-14 15:56:26

kutucuk (235 views)
2013-05-12 17:10:36

kutucuk (234 views)
2013-05-12 15:36:09

UnluckyDevil (239 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.128 seconds with 21 queries.