
Flock Together
Top-down pixel survival game
Flock Together
December 2023
In Flock Together, you must guide your flock towards needed resources, to grow and expand. As you do, though, be aware of the other flocks you may encounter. While seemingly friendly at first, they won’t hesitate to pursue your flock and wipe out your members. Keep your ever-growing flock alive as you navigate these hostile lands.
Flock Together is a top-down pixel survival game, where your goal is to keep your flock alive as long as possible. Gathering enough resources will add more members to your flock, while colliding with other flocks dooms both members involved. Utilize features like dashing and decimated enemy flocks retreating to keep yourself alive.
Flock Together was made using P5Play, a Javascript game engine that expands upon the p5.js library. It also utilizes both the popular Boids algorithm, sometimes known as the flocking algorithm, to manage the flocks and Perlin noise to generate the landscape.
This game was made in a couple of weeks for a university course, aiming to combine several simulation algorithms into a fun game loop. On top of these algorithms, however, Flock Together explores many other ideas, such as making a game that is quick to learn and easy to play, has a sleek and understandable UI, and provides the player with unique challenges with both small and large flock sizes.
This project builds off of preexisting libraries and algorithms, focusing on combining these resources in a unique way to create a game that is not only functional, but fun for the player.
The embed below should load shortly. If not, try refreshing the page or playing the game on Itch.io through the button above.
Play the game here!
Controls
Space - Start, unpause
E - Pause
Left or right arrow keys - Resolution slider
WASD - Movement
Mouse - Guide flock
Click and hold - Dash