Customizable flock/swarm simulation. TARGET SPEED - changes speed all boids end up at. RESOLVE - changes how fast they get to their target speed. RANGE - changes the range at which other boids see each other. This affects their separation, cohesion, and alignment. Also affects the mouse's ability to herd boids. SEPARATION - affects how much boids avoid other boids. COHESION - affects how much boids flock to other boids. ALIGNMENT - affects how much boids flow in the same direction.
Made using griffpatch's tutorial. Most of the code is him, but I customized the graphics myself. The scanlines effect is made myself. #Games #Simulation #Sim #Griffpatch