A downloadable simulation for Windows

In this setup, I have created a virtual environment with two distinct AI agents, the Blue Agent and the Green Agent. The Green Agent patrols three different waypoints, and when it sees the Blue Agent, turns towards the Blue Agent (with a random deviation of 5 added to the angle to create the illusion of it not being 100% accurate) and fires 3 bullets, checks if the Blue Agent is still in range, and continue firing, and if it not, resumes it’s patrol. The Blue Agent wanders aimlessly through the virtual world, exploring houses, collecting Health Packs, Ammo and Coins along the way. When it sees the Green Agent, it goes through the same combat sequence as the Green Agent. If the Blue Agent does not have Ammo, it flees in the opposite Direction. The AI behaviour was set up using Behaviour Trees; a staple of modern Game Programming.

Download

Download
Behaviour Trees.rar 2.3 MB

Install instructions

Simply extract the .rar file and run the .exe

Leave a comment

Log in with itch.io to leave a comment.