AI Steering Behaviour Visualisation v7: Swarm Behaviour @s0lly
AI Steering Behaviour Visualisation v7: Swarm Behaviour  @s0lly
Uploaded April 2019 | Updated September 2026, 2 hours ago
This engine aims to allow the user to visualise various AI behaviour types - how they interact with their environment, what is used in their "decision making", and to test adjustments to those AI in real-time.

This video demonstrates the addition of more-swarm like behaviour creatures (in yellow). The approach I've used to include different types of creatures with different AI "personalities" really paid off here - all that was required was setting up one new entity type, adding in the right set of behaviours, and tweaking the behaviour parameters to get the motion I was looking for. In fact, the motion here exceeded my expectations - it looks pretty cool!

These yellow fish have 5 behaviours set up: Seek other yellow fish, avoid green fish and the red shark, wander, and slow down. I scaled up the speed for this fish type too, and removed alignment,, so it acts in a more "swarmlike" manner.

This video follows one particular fish but maintains a fixed angle of perspective - which makes understanding of what is going on, on a group scale, much simpler.

The next updates will be (in no particular order):
- Addition of more behaviours (e.g. pursuit / evade, wall avoidance)
- The ability to turn on / off behaviours
- The ability to adjust the intensity of the various behaviours
- Ability to view the vantage point to different creatures
- And any others that you may have in mind! Please let me know!!

Please find the current codebase at github.com/s0lly/Steering-Behaviours - but note that this is still a work in progress.

Hopefully this project will allow for the quick creation of multiple AI types by allowing live-editing of various parameters, and give a very deep sense into how the various AIs would respond to different stimuli.

Please let me know how if you have any suggestions on things to add!

Acknowledgements:

This was made using the Chili Framework: http://wiki.planetchili.net/index.php... - thanks Chili!

The ideas of using steering behaviours came about while reading Mat Buckland's book "Programming Game AI by Example", which has proved invaluable in building this visualisation.

Intro music by Eric Skiff, song "All of Us" (Available at EricSkiff.com/music)
AI Steering Behaviour Visualisation v7: Swarm BehaviourSimple 2D Game Engine in C++: Draft 3 - Advanced Player Movement2D Game Engine in C++: [8] 2D Normal Maps2D Game Engine in C++: [5] Alpha BlendingFirst Games in C++ - PacMan! (First Draft)Creating a Positioning System in Racing Games (as used in Krazy Karts)Raytracing in Excel - Using the GPU!AI Steering Behaviours (v8: Toggle Behaviours)Game Engine 14: Atmospheric ScatteringRaytracing - in Excel!!Project Overlay 06: Slideshows & MoreGame Engine 16: Planet-Bound Camera
s0lly |

AI Steering Behaviour Visualisation v7: Swarm Behaviour

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER