Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

JavaFX JAVAWUG Moonlander Stage 10

DZone's Guide to

JavaFX JAVAWUG Moonlander Stage 10

· Java Zone
Free Resource

Just released, a free O’Reilly book on Reactive Microsystems: The Evolution of Microservices at Scale. Brought to you in partnership with Lightbend.

Here is the snapshot version (stage 10)  of the JavaFX Moonlander application, which was originally coded for the JAVAWUG Professional Code Jam #2.

The cut of the code was taken around the same time of the JavaPosse Round-Up, towards the end of the week. I demonstrated the game in a lighting talk at the JPR10, albeit with buggy star-cloth rendering and manky magnification behaviour. After the talk, I fixed those bugs.



Click on this JNLP hyperlink to play.

The keys are

  • (-) To zoom out
  • (+) To zoom out
  • (Arrow Left) to rotate the spaceship anti-clockwise
  • (Arrow Right) to rotate the spaceship clockwise
  • (Arrow Up) to fire the spaceship's thrusters


Good luck ;-)

Your comments are welcome. There are a few more changes to add to the Moonlander a bit finesse before the product is completed.

PS: The code for the stages one to eight are to be released to the public.

PS. PS: JavaFX 1.2.* application appears to run slowly on a workstation with outside an accelerated graphics hardware chip, e.g. Intel Integrated graphics. So your mileage will vary if you must play on these computers. On a laptop with half a decent NVidia or ATI card then the performance is fabulous.

From http://www.jroller.com/peter_pilgrim/entry/javafx_javawug_moonlander_stage_10

Strategies and techniques for building scalable and resilient microservices to refactor a monolithic application step-by-step, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}