Categories
Game Design Virtual Reality

Virtual reality maze

Last month I wrote about how I’m working on Udacity’s Virtual Reality Developer nanodegree. My most recent project is a virtual reality maze that you can navigate to find and collect seven coins and a key.

 

Top-down view of the maze.
Top-down view of the maze.
A hand-drawn sketch of the maze.
Initial sketch.

Once you have collected the key, you can unlock the door to the temple, winning the game. The project required the use of C# scripting to track the state of the key and door, and to create the effect of collecting objects (animation, sound, and destroying & creating objects).

A 3D rendered coin.
A coin. Don’t you just wanna compulsively collect these?
Stereoscopic view of a 3D rendered pedestal with a key on top of it.
Spoiler alert: The key is on top of a pedestal behind the temple.

Udacity provided the starter project files, which included prefab maze walls, temple, coins, key, etc. I had to design the maze and place the walls, coins, and key in the scene to make a playable game. I also wrote scripts to create the interactions in the game, such as the sound effects and animation upon collecting coins, tracking whether or not the key has been collected, and animating the door opening. You can read all the requirements on the project rubric.

Workin’ in Unity.
More wireframes.

Gameplay video

Planned improvements

At some point I plan to come back to this project to make improvements, such as

  • Create a UI to track and display the number of coins collected.
  • Make the key collectable only after finding all seven coins.
  • Create “floating” animation for coins and key.
  • Make sound effect for trying to open the door without a key.
  • Tweak the placement of the waypoints.
  • Improve placement and symmetry of objects.
  • Add more objects of interest to the maze.

 

Leave a Reply

Your email address will not be published.