Battle Blocks
FJ Hagen
Game Programmer
Space Shooter VR
Gameplay Video
Introduction
I wanted to build a VR game in Unity that I would enjoy playing. I got the art and sound assets from a Udemy Tutorial by Daniel Stringer. From there, I built out as much of the game on my own as possible. I also implemented several features not in the tutorial to set myself apart.
Laser Pointers
I added laser pointers to the guns that show up whenever you're aiming at something that can be shot at, like asteroids or a menu option. I came up with this idea where I thought I shot an asteroid but wasn't aiming at it right. This visual indicator helps players know when to shoot at something.
Multiple Difficulties and Spawned Objects
The original tutorial game only featured asteroids to shoot at, so I added two additional projectiles. Gold asteroids, which are faster and thus more difficult to hit, award more points than a regular asteroid. Also, there's debris which moves slowly and deducts points when it. Also, I added the ability to choose from three difficulty options to add variety to the gameplay experience. These difficulties each have a different selection of projectiles as well as spawn percentages for each projectile. Also, a designer can change the spawn rate for each difficulty.

UI Delete
This component of code might not seem impressive, but it has been immensely helpful in my workflow. There are several UI elements in the main menu that I have to disable before the game begins and re-enable when the game ends. I could just specify which elements those are manually, but by utilizing event driven programming, I can add this script to the UI component and have the hard work done for me. It's definitely a trick I intend to utilize in future projects.