Problem: To create a game in Unity using C# where the player has to navigate a ball through a maze of tiles and avoid falling off the ground
Unity • Game Design • Creative Coding • C#
May 2023
Solo Project
Octagon by Lukas Korba
A twitch-reflex video game where the player controls an octagon with side and up arrows in an octagonal world without falling off.
For the project I decided to develop a similar sky-themed game based in the clouds. I called it SkyRoller. The player would navigate a ball rolling down a sets of mazes to reach the end. After brainstorming about creative ways to code the game, I decided to keep the ball static throughout the game but give it physical weight so if it didn’t have floor underneath, it would drop into the abyss. I also decided to create a grid with 30 tiles in 3 columns and 10 rows and randomize which tiles are SetActive to create a maze. It would be the actual tiles that would start moving towards the ball after starting a game, bringing up the maze for the player to pass.
A level in the game would then have 4 mazes with a long break tile between mazes to give the player rest and track progress. After passing through a break tile and before going into the next maze, the player's score would increase by 1. Hence, there would be 4 points to pass every level.
Here's a look at the working of the final game: