Of course – I’m in!

My flock algorithm. It's constantly changing shape.

My flock algorithm. It’s constantly changing shape.

And there is first progress – Flock algorithm. Boids are following mouse.
Flock algorithm can be described as:
1. Cohere – long range attraction – steer towards average position of others.

2. Separate – avoid others.

3. Align – steer towards average heading of others.

(4.) Controll – follow the mouse.

So let’s imagine our birds. “Find food”, “Avoid predators”, “Go from A to B”, “Be responsible for your flock”.
What do you think?

Tags: 2D, flock, game, html5, pixijs, progress

Comments

varuns
16. Apr 2016 · 12:49 UTC
Also let the flock “squeeze” through obstacles while the enemy keeps getting closer. It could be fun!