MadBox Racing

C# | Unity

About


MadBox Racing is a mobile game based on the Red bull soapbox races that are competed in around the world. In this game you get to choose your own themed cart and race down the streets of several famous locations. The game has a hot-swap feature where a friend can challenge your ghost to compete for the best time.

Development

My contributions


The replay system was made up of two systems:

  • A series of cameras pointed at the player with a render texture assigned.
  • A "camera roll" that saved frames from the render texture to a list at a certain speed.

These frames were then put in order of capture and then combined into one single array. When the player finished a UI element would update with these frames at the same frequency in which they were captured. This would then appear as a small video at the top of the screen, showing exact moments from the previous race.

Info


Madbox Racing is a mobile game created in Unity over the course of 4 weeks with a team of 12 students. It was made with instructions from developer Turborilla to have the theme of extreme sports and multiplayer. I was responsible for the "instant replay" system that would capture moments from the race and replay them once the player reached the finish line.

Reflections


As the second project I made in Unity I was a bit more familiar. I really enjoyed finding a creative way so create the instant replay system, I tried using simulated movement but the physics were non-deterministic so pieces falling of the cart would land in new places in the replay. Finding a way to simply record the screen seemed like the easiest solution in that case and I am very happy with how it turned out.