Drum Heaven

Drum Heaven was my first VR project for the meta quest 2/3. It is a beat saber inspired rhythm game that I made with Silver.



I had a lot of fun developing this game since I learned a lot about using a different library and making design choices I had not thought about earlier.

Game Trailer

In this project I learned to import and use a different library for a unity project. I used the DryWetMIDI library to make an algorithm that generates a beatmap based on the MIDI file imported. You can see more about that algorithm in my code snippet below.

Since we wanted to have the full drum experience, I also added an external pedal to our setup. You can use the pedal as the kick.
I also made sure the kick is usable with controller inputs.

This snippet converts MIDI data into interactive notes in the game.
This script works in a few simple steps.

Step 1: Input a midi file

Step2: Single out all the drum notes

Step 3: Check if the note is a playable drum note (Snare, tom, bass etc.)

Step 4: Assign the note to the correct drum piece/path

Note: This snippet contains logic for drumroll detection that didn’t make it in the final cut.

Code Snippet

Everything I learned from this project

Modular code

I learned to write easy and scalable code for future mechanics and changes to the game.

User friendly

I made components and ScriptableObjects easy to understand, so my project partner could easily add new songs.

Design Choices

Throughout development we had to make design choices we hadn’t considered yet before starting this project. Like how to make the player navigate menu’s

~ Github ~

You can find most of my work in the scripts folder. I have not made anything that is inside the “Silver Scripts” folder

Next
Next

Brawl Heaven