DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Watch for Falling Blocks: Take TetrisJFX for a Spin!

Watch for Falling Blocks: Take TetrisJFX for a Spin!

James Weaver user avatar by
James Weaver
·
May. 01, 08 · Java Zone · Interview
Like (0)
Save
Tweet
4.77K Views

Join the DZone community and get the full member experience.

Join For Free

you may know that i've been progressively building a tetris game in javafx on this blog, the most recent post being game over: improving upon the compiled javafx tetris program .  in each post i've shown you the code and pointed out some highlights.  since then i've added some finishing touches, and would be honored if you've try it out and give me (kind) feedback for improving it further.  the screenshot below shows what tetrisjfx should look like when you click this java web start link .  by the way, you'll need the jre (java runtime environment) 1.5 or later.  also, please keep in mind that the javafx script jar files will be included with the jre at some point. until then please understand that when you click this link those jar files will be downloaded as well, causing a bit of a delay.

tetrisjfx_w_image_buttons

in addition to clicking the image buttons at the bottom of the game, you can use keystrokes (hover over the images to see tooltips that tell you what the keystrokes are).  in a future version, the arrow keys will be used for game control.  i also plan to provide the ability to cause the current tetromino to fall faster.  by the way, the tetrominoes fall progressively faster as your score increases, so be warned. :-)

170x93_speaker_v4_4 if you have any questions or input for improvements, please post a comment.  also, if you'll be at javaone 2008, please attend my javafx script programming language tutorial session and introduce yourself afterward!

have fun!
jim weaver
javafx script: dynamic java scripting for rich internet/client-side applications

immediate ebook (pdf) download available at the book's apress site

JavaFX Script Blocks SPIN (software process) JavaFX Java Web Start POST (HTTP) code style Java (programming language) JAR (file format)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • ETL, ELT, and Reverse ETL
  • Create a Self-Service Customer Support Chatbot Without Code
  • Debugging the Java Message Service (JMS) API Using Lightrun
  • Applying Kappa Architecture to Make Data Available Where It Matters

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo