Over a million developers have joined DZone.

JavaFX JAVAWUG Moonlander Stage 10

· Java Zone

Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code! Brought to you in partnership with ZeroTurnaround.

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

The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code!

Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}