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.


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).


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.


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.