Flight of the Sardines

A 3D game made in Unreal Engine 4 for my junior year final.

To the chaotic tune of Richard Wagner's "Ride of the Valkyries", nature runs its course as 100 sardines school together to avoid becoming food for an onslaught of sharks. But a fisherman's net is causing a disturbance in the sea, which lures in a much hungrier predator.

This was a solo project and my first game in Unreal. I converted the formulas of Boid's Algorithm into blueprint scripts to calculate the position and trajectory of each sardine per tick. I achieved an "endless" sidescroller in 3D space by constraining the sharks and sardines to the surface of a cylinder, which also creates a neat parallax effect when objects pass by on the far side.