Endless Runner

Endless Runner is a multi-lane endless runner game. The goal of this game is to prevent
the HP bar on the left from being fully depleted. Collecting red potions will refill a small
portion of HP. Aside from the potions spawning, there will also be numerous bear traps.
Periodically a “skull box” will speed down one of the lanes towards the player. Colliding
with a bear trap or a “skull box” will decrease the HP bar.

This project was developed using Unity C# and was developed primarily for mobile
platforms. Endless Runner also utilizes Unity’s 4.6 UI system. The game’s current
control scheme uses two big invisible buttons, one on each half of the screen, that
move the player when pressed. On the web version the player is also able to use left
and right on the keyboard. A couple other control schemes were tested but neither
were as desirable as the current one. One of the control schemes had  the player swipe
in the direction they wished to move. This control scheme resulted in delayed input.

A key memory optimization technique used in this project was object pooling. Object
pooling is creating a set amount of objects that will be reused. This prevents instantiation
and destroying objects needlessly which would result in application slowdown.