itch.io is community of indie game creators and players

Devlogs

AI Sensing and Navigation

In Development-A Log of Coding and Game Design
A downloadable game for Windows

This devlog is the showcase Ai created with a Behavior Tree. Within this code, the Ai can do the following:

  1. Attacks the player with an animation
  2. Turns attacking "fire particles" on and off
  3. Patrols along the route of a spline
  4. Walks during the patrol
  5. Runs while attacking or returning to patrol
  6. Attacks when seeing the player
  7. Attacks when being damaged by the player
  8. Investigates sounds and hears player

Within the level, the player is tasked with getting to the other side of the wearhouse/training grounds without being attacked by the patrolling Ai. The only task listed above that so not completely finished is the investigating sound. The Ai does indeed hear the player but does not act on it other than standing still and waiting (hits a couple enemies just standing). Other than that, the Ai will patrol its route till it sees the player, than acts on it by attacking with a fiery fist!

Link to video of Code: 

Download In Development-A Log of Coding and Game Design
Leave a comment