Respiration - A C#-based Unity Project

"Respiration" was a project I worked on for a class during my attendance at the University of Utah. It was made using Unity and Visual Studio using C# and follows a student learning how to cope with the stressful situation of missing the bus on his first day of classes.

About The Project

My main task on this game was to create the two breathing minigames, the square breathing and the resonance breathing minigames. The square breathing minigame was accomplished by determining which points the player was currently between and determining if the player should be breathing in (holding spacebar) or breathing out (not holding spacebar). The resonance breathing minigame was accomplished by having the target area move up for a set amount of time and down for a set amount of time and ensuring the player is between those two spaces.

The Minigames

Miscellaneous Tasks

Apart from the minigames, I also handled the player movement and I added an arrow that rotated around the player, always pointing towards where the player needs to go and was more visibile the further away the player was from their objective.

See The Project

To see my code for this project, click here.

To play the game, click here.