I cannot believe that you guys are still seriously entertaining the idea of writing game code against the JavaFX API. I feel that you’re all just being polite out of respect for the amount of work that has gone into it rather than letting rip and letting the JavaFX team know that JavaFX is totally unsuitable for games writing. JavaFX is an application API, not a games API.
As Ant has pointed out, you can mix Java code with the JavaFX script and if, as David seems to think, JavaFX does not suck for games writing, then he can translate all of his Pulpcore examples (including Milpa) into JavaFX and discontinue Pulpcore from that day forth. But I’ll bet every cent of Google Adsense money that Milpa generates over the next five years that nobody writes one single playable, revenue generating game using JavaFX. JavaFX is in no way suitable for writing casual, web-based games. Period. You all know this but you’re just being to damned polite!
Oh, and might I point out that allowing people to tear an Applet off a web page onto the desktop is a really bad idea for those of you that make money from content-based advertising, such as Google Adsense. If you do write a good, reasonably addictive game then the first thing everyone will do is tear it off the web page and stuff it onto their desktop to avoid opening the browser whenever they want to play the game.
Lastly, I want to talk about JavaFX performance. On second thoughts no I don’t because I have completely had enough of entertaining the idea that JavaFX is useful for games writers.
–Mario