AI Sight, Hearing, and Damage


In this update, we made a functioning AI Base that can see, hear , attack, patrol, and take damage. Other changes include: 

  • Adding a new "AI test" level to experiment in. 
  • AI attacks the player with an animation. 
  • AI attacks the player with a fire particle that is attached to their palm. 
  • When AI is done attacking, the fire particles turn off. 
  • AI is given a patrol route to follow along spline points. 
  • AI walks during its "patrolling" state. 
  • AI can see player in their vision. 
  • AI attacks player when they are spotted. 
  • AI runs to player in their "attacking" state. 
  • AI can investigate sounds made by the player, causing them to leave their original patrol route. 
  • AI returns to patrolling when they find nothing from their investigation. 
  • AI can be damaged by the player and attacks the player when taking damage. 

Get Game Design III/Coding II

Leave a comment

Log in with itch.io to leave a comment.