Over a million developers have joined DZone.

JavaFX JAVAWUG Moonlander Stage 10

· Java Zone

Bitbucket is for the code that takes us to Mars, decodes the human genome, or drives your next car. What will your code do? Get started with Bitbucket today, it's free.

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

Bitbucket is the Git solution for professional teams who code with a purpose, not just as a hobby. Get started today, it's free.

Topics:

Opinions expressed by DZone contributors are their own.

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 }}