Peter Pilgrim is professional software developer, designer and architect. Since 1998 he has worked in the financial services industry, investment banking mainly, developing IT for clients. He is a well known specialist in Java Enterprise Edition (Java EE) technology, focused on the server-side and the implementation of electronic commerce. Peter has built professional Java EE apps for top-tier investment banks such as Lloyds Banking Group, UBS, Credit Suisse, Royal Bank of Scotland and Deutsche Bank. Peter is the 91st Oracle Java Champion. Peter is a DZone MVB and is not an employee of DZone and has posted 34 posts at DZone. You can read more from them at their website. View Full User Profile

JavaFX JAVAWUG Moonlander Stage 10

03.27.2010
| 3374 views |
  • submit to reddit
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

Published at DZone with permission of Peter Pilgrim, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

David Lee replied on Mon, 2010/03/29 - 10:51am

It's pretty nice.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.