 |
Dodge the Predator Cubes! Move your target around and try to dodge the five vectoragent cubes. Each vectoragent cube is programmed to seek your position. Each will turn towards and move towards you at all times.
As they get closer to you, they will decelerate into your position and settle down precisely where you lie. (To reset the 'game', press F5 or "refresh")
You can adjust the maximum speed and the nimbleness (the quickness by which they can change direction to point towards you) of all of the vectoragents by sliding the faders at the bottom.
This movie is still in progress, but there have been a lot of major changes to the math since the last version. As I add nuances to each behavior of the vectoragent, I find opportunties to streamline code in the lower levels.
I feel like I'm programming the basic motor mechanisms of a microorganism like a paramecium or something.
Download .FLA
This feels almost like a game already! Next time I will try to add a new behavior, maybe "flee". Cheers!
|