Game AI - Lecture Exercise : Behavior Tree

Student: Matthew Bonnecaze

I followed the tutorial provided in the assignment to implement a behavior tree in Unity. 

Below are the following changes I made to the resulting implementation: 

  • Changed camera position to give a better view of the Robber's path
  • Reset the Robber's speed back to 3.5 to make the Robber's movement more controlled
  • Made the Robber only steal the diamond and not the whole plinth
  • Added a button ("DECREASE MONEY") to decrease the Robber's money to demonstrate the conditions part of tutorial (top-left corner of the screen)
    • Like in the tutorial, if "money" is less than $500, the Robber will steal the diamond.
    • Button decreases this money variable to be $400 (displayed in the top-left textbox)
    • When the robber returns to the car with the diamond, the money variable increases by $300 (displayed in the top-left textbox)

Leave a comment

Log in with itch.io to leave a comment.