Over a million developers have joined DZone.

JavaFX JAVAWUG Moonlander Stage 10

· Java Zone

Learn more about Kotlin, a new programming language designed to solve problems that software developers face every day brought to you in partnership with JetBrains.

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 JetBrains.  Discover how powerful static code analysis and ergonomic design make development not only productive but also an enjoyable experience.

Topics:

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

{{ parent.tldr }}

{{ parent.urlSource.name }}