Game Prototype: Ghost Maze


Two updates in one day! This is another project I worked on that involved using State Machines. This time, there’s only two objects using them, your Ally and the Ghost. However, they’re much more complicated than the states in the Ecosystem since that was more of a test. Ghost Maze is much closer to a game as there are loss and win conditions but, it is still pretty basic, with only one version of the maze and only one ghost in said maze. The main idea behind this prototype was what if the player was the escort in an Escort Mission? Thus the player can only follow their Ally, call for help if they see the ghost, and of course, run. If I were to take this further, I’d definitely add a number of variations for the maze, more ghosts  and maybe a couple more options for the player. I hope you have fun with it!

Build and Project File:

The State and Sub-State Machines for the Ally, quite a bit more complicated, eh?
The State and Sub-State Machines for the Ghost, it has quite a bit of variables

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s