JavaFX PacMan in SnapCode with Greenfoot

This week I flushed out a set of classes to emulate Greenfoot in JavaFX and  SnapCode. My test case was a nice version of PacMan written by Dan Post. For this I had to add a number of drawing methods to SnapImage (which uses JavaFX Canvas) and I had to add support for playing MP3 sound files (which uses JavaFX Media and MediaPlayer).

Check out the screenshot and 3 minute video of the game in action with some custom/silly JavaFX modding thrown in for fun.

YouTube Video: JavaFX PacMan in SnapCode with Greenfoot

PacMan

Advertisements

One Response to “JavaFX PacMan in SnapCode with Greenfoot”

  1. JavaFX links of the week, May 12 // JavaFX News, Demos and Insight // FX Experience Says:

    […] The ReportMill blog has a short post about running PacMan in SnapCode with Greenfoot. […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: