Csc 474 Final Project: Zomboids!

Description:

Zomboids is a 2D boids simulation which models crowd behavior using a particle system. Zombies are drawn at the location of each particle and given a run animation to create a horde of zombies that group together, chase a target, and avoid collisions.
Zomboids!

Features:

Zombie AI:

Each boid (Zombie) follows five rules for flocking behavior.
  1. Try to move toward the perceived center of the horde (the average position of all other boids).
  2. Try to align velocity with average velocity of all other boids.
  3. Avoid colliding with nearby flockmates.
  4. Avoid colliding with nearby obstacles.
  5. Move toward the goal.
The acceleration of each boid is determined by a linear combination of the acceleration dictated by each of the five rules. The linear combination is weighted (i.e boids try harder to avoid nearby obstacles than to move toward the goal). These weights can be changed to determine how the flock will behave overall.

Video Download

This video demonstrates the functionality of the program: Download video. (Right-click link and select "save link as") The video is quite a bit slower than the actual program because screen recording slows down my computer a lot.

Skinned Zombie

I originally planned on having the zombies be skinned, but had trouble exporting my rigged model from Blender (I found the model online and rigged it myself). For this reason I ended up using simple textured geometry modeled hierarchically to model my zombies. For anyone interested, here is the blender file containing my rigged zombie plus the textures it used: Download blender zombie.