Steering Behaviours

One of the most fun assignment in the coding class was to implement different steering behaviours that would result in interesting interactions between the actors. In particular, I implemented a small simulation where the “patrol”, composed by a leader and two other members, is following a predefined path. The leader is the one following the path, while the other two follow the leader within certain constraint. There is also another actor that follows a random path. If the patrol intercepts the intruder, changes behaviour to pursue and, when they are close enough, they will try to eliminate the intruder. Once the enemy is down, they will resume their patrolFor another assignment, I implemented the A* algorithm. Both assignments where coded using C# and XNA.

ImagiNote ImagiNote

Thoughts, suggestions, criticism? Let me know!