A super cool mini game built for the Oculus Rift and the Leap Motion controller.


Coming into QHacks, we didn't really have an idea for what we wanted to build so we decided to have a little fun and play with tech many of us have never used before! So we ended up grabbing the Oculus Rift and the Leap Motion and got cracking! We decided to make a fun little game inspired by the old tap-tap style games we all miss so much! And thus, SwitchVR was born!

What it does

SwitchVR uses some of the most cutting-edge technologies and this game is not meant for just any user! When we play tap-tap games, we tend to "get in the zone" and go for that next high score. We wanted to take that experience to the next level by integrating it with virtual reality as the medium of the game. The way it works is it uses the Oculus Rift as the camera and view controller and the Leap Motion as the gesture based controller to interact with the tiles coming your way. This makes to an interesting combination that really puts you into the world of tap-tap games. Trying to break that new high score? Why not literally put yourself in the game?!

How we built it

The game itself was built on top of the Unity gaming engine using C# as well as the Oculus Rift and Leap Motion SDKs. We split the main components amongst each other and tackled our own tasks individually and later came back to bring everything together.

In addition to the game itself, we also built a landing page to showcase our game and giving us, as the company, an identity to build our brand. Our technology stack for the website includes HTML, SASS, JavaScript, Gulp, npm, and more!

Challenges we ran into

Many of us have never used Unity or have ever worked with any kind of VR before so there was a steep learning curve for all of us. If you've ever used Unity before, you know how it has some of its quirks. We got stumped many times trying to figure out some of the most basic functions of Unity and even though it was challenging, it was something we're proud to have experienced.

In particular, some of the challenges we came across were collision triggering, shifting lanes, reproducing targets infinitely, movement across the lanes, and adaptive difficulty as the user plays longer.

Accomplishments that we're proud of

Our biggest accomplishment was actually pushing through all of the difficulties and finishing a project from start to finish. It's a tough thing to do in a weekend and we're really proud to have overcome it.

Our next biggest accomplishment was being able to build something using a platform we have never used before. It was a huge learning experience and we all grew so much through it!

What we learned

We all learned so much that a paragraph wouldn't be nearly enough to highlight even a fraction of it! Things like working with VR, Augmented Reality, playing with the Oculus Rift and the Leap Motion, working around in Unity, resource design, the user experience and interface for a virtual reality game. All this only scratches the surface of the things we learned at QHacks!

Share this project: