Inspiration

It started with teaching my son how colors combine: which two colors make a third. Watching him work it out, I realized it was a great little puzzle, and that it would get a lot more exciting if you had to solve it fast, to a beat, with things flying at you. And honestly, I've always wanted to be a wizard. So in Techno Colored Wizard you don't pick a color from a menu: you mix it out of light with your bare hands, then cast it as a spell on the beat.

What it does

Three orbs of light float in front of you: red, green and blue. Touch one and your hand charges with that color. Touch a second and the light adds:

\( \text{red} + \text{green} = \text{yellow} \), \( \text{green} + \text{blue} = \text{cyan} \), \( \text{red} + \text{blue} = \text{magenta} \)

Gems fly down an angled highway to a gold hit line, timed to the music. Push your hand toward a gem of the matching color to shatter it. Landing on the beat scores PERFECT, and early or late hits still count for less.

The move only this game has is Fusion: hold a different color in each hand, press your palms together, and push. The two lights combine into a third color that blasts through shielded gems. Songs also ask you to swipe along rails in the direction of their arrows, clap to catch stars, and break steel gems.

  • 8 original songs, each hand-mapped to its beat, at 4 difficulties. Easy is half notes, Normal is quarter notes, Hard adds syncopation and Expert is eighth notes.
  • Quick Start: two minutes, one gem per move, then straight into your first song. Newer moves are taught inside songs, just before they first appear.
  • Campaign introduces colors and moves a stage at a time, while SONGS opens everything.
  • AR Mode plays any song in your own room through passthrough.
  • Streaks light up the hall, and every song ends with a grade from S to D and an accuracy score.
  • Hands only: no controllers, no accounts, no network.

How I built it

The game is built in Unity 6 (URP, OpenXR, IL2CPP) with the Meta XR SDK for hand tracking and passthrough. All of the game rules (charts, timing, scoring, color mixing, the campaign) live in a plain C# core with no Unity dependencies. That let me change the rules quickly without putting on the headset for every tweak.

Each song is beat-mapped with a Python + librosa pipeline: beat tracking, downbeat detection, and kick/snare phase checks. A chart generator then places notes on that grid in phrases (A B A C) according to the difficulty. Notes travel at a speed that lands them on the hit line exactly on the beat:

$$ v = \frac{d_\text{spawn} - d_\text{hit}}{L \cdot \frac{60}{\text{BPM}}} $$

where \( L \) is how many beats ahead a note appears.

Challenges

  • Making it feel like rhythm, not just shooting. My first version spawned gems on a timer, and it didn't feel musical. I rebuilt it so every note is a beat in the song and the difficulty changes the rhythm rather than only the speed.
  • Finding the beat. On one song, beat tracking locked onto the snare backbeat at half tempo. I had to detect that and re-chart it at the real 145 BPM with bar one on the kick.
  • Aiming with bare hands. Pointer rays felt wrong with hand tracking, so a push now targets the nearest gem of your color. I also spaced the orbs out and added a short dwell, so a hand passing by doesn't accidentally pick up a color.
  • Teaching it. In playtests, people tried Fusion before they had mixed a single color. I slowed the tutorial right down, taught each mix step by step, and moved the advanced moves to just-in-time lessons inside songs.
  • Keeping mixing at the heart. I tried a quick color-swap shortcut. It made songs easier, but it skipped the mixing, so I removed it and tuned the charts to give your hands time to mix instead.

What I learned

Light mixing surprises people. Most of us learned color mixing with paint, where red and green make brown, so watching someone discover that red and green light make yellow is the best moment in the game. Hand-tracking design comes down to forgiveness: generous timing windows, clear cues for which hand needs which color, and never punishing a hand for passing near the wrong orb.

Built With

  • android
  • c#
  • hand-tracking
  • il2cpp
  • librosa
  • meta-quest
  • meta-xr-sdk
  • minimax
  • mixed-reality
  • openxr
  • passthrough
  • python
  • unity
  • universal-render-pipeline
Share this project:

Updates

Submission history