3D Maze

This 3D maze game, inspired by classic 16 bit game Dungeon Master, was originally intended for chapter 10 of JavaFX in Action. In the end, the game was scaled back a bit (it lost its wall textures), and was featured in the book as a mobile application.

The navigation panel as the foot of the main display was actually built using a single SVG file, with layers carefully named to allow the JFX code to manipulate them once imported into the game. The main 3D maze display can be scaled to various sizes, but updates become noticably sluggish on slower machines as the 3D area gets close to full screen.

The original maze had monsters in too, but I had to take them out, as I couldn't find suitable freeware images. (Somehow I don't think the BBC would be too pleased if I left the assorted Dalek and Cyberman test graphics in!)


Source code (601k)
Back