Simple game inspired by Vampire Survivors which will make use of a flocking system and will be built using SDL2.
Enemies will appear on the arena’s edge and head towards the player, who’s goal is to survive for as long as possible. The game progresses in waves, with each wave increasing enemy numbers and health. Players can dodge enemies, wield weapons to damage and kill them, and collect food items that restore health. Enemies will maintain separation to remain visible and avoid overlap, and alignment to steer towards the player. Cohesion could keep certain enemy types in groups.
SDL2 for window context and sdl2-image library used for image handling. RapidJSON for json file handling.
./vcpkg install SDL2
./vcpkg install sdl2-image
./vcpkg install rapidjson
mkdir build && cd build
cmake ..
make
- Reynolds, C.W., 1987. Flocks, Herds, and Schools: A Distributed Behavioral Model. In: Computer Graphics (SIGGRAPH '87 Conference Proceedings), pp.25-34. Available at: http://www.red3d.com/cwr/boids/ [Accessed 30 November 2024].