All the Interesting Things

This is a personal web log. All information posted here does not represent my employer. I do not speak for my employer.
Thursday May 21, 2009

Second Article on Writing the JavaFX Pac-Man Game Published

The second article of a series, "Writing the Pac-Man Game in JavaFX - Part 2", is published today.

In the first article, I introduced a data model expressed in Java and the JavaFX drawing logic of the maze. In the 2nd article, the animation of the Pac-Man character is detailed. When you are reading, you can click on the java web start links to see the Pac-Man opening and closing mouths, and gradually moving inside the maze. The keyboard handling logic is introduced as well.

Some JavaFX features demostrated in these two articles include:

. shapes
. animation
. keyboard handling
. java code integration
. Transfromation

Hope you can enjoy reading the articles. You can use arrow keys to control the Pac-Man character to move around and gobble dots. Try the never-to-die version of the game by clicking the below screenshot:

click to run

click to run


Other Related Articles:
Develop Games in JavaFX
JavaFX Blogs: Tips, Tricks, Programming Sample Code
My JavaFX Demo Game: Pac-Man

Comments:

it looks very nice now :)

Posted by Vaibhav on May 22, 2009 at 09:10 PM PDT #

Post a Comment:
Comments are closed for this entry.

Archives
Links
Referrers