In a twisted premise, MonoVirus has the player controlling a virus through a host's immune system, fighting off its natural defenses and learning skills along the way. In this project I was primarily responsible for enemy design and behavior, though I dabbled in other areas like resolving player movement, level scaling, and the basis for the game object movement.
Red and Random
The twists and turns of the immune system environment are randomly generated thanks to the hard work of Matt. Given this random environment, I was responsible for placing enemies in a random--but still controlled--fashion throughout the level.
Exploring the Enemies
There are three enemy types in MonoVirus: two moving melee and one stationary ranged. The moving enemies swarm patterns are based on the Boids flocking simulation. The white blood cell is the basic melee unit that simply seeks out the player when the player is near enough. The blue melee enemy has a similar behavior but latches onto the player, slowing it down and sapping health. Enemy melee units also get a minor speed bonus for each enemy they are close to. The red enemies are stationary and shoot projectiles at the player when it is in range.