After a bit of a debate, it was decided to split the work on the robbery phase between Benoit & I.
Benoit is going to tackle the Mercenary movement and actions as well as the interactable objects in the level.
I am going to focus on the guards behavior from now on.
The Guard Behavior
Have you played an stealth game ? It’s doesn’t get more complicated than that.
We need the guards to be able to patrol between points, stand still and watch around, notice the mercenaries and chase them. That’s all for now.
To do this, I’m using a Finite State Machine to give each guard their current action and what conditions leads to each states. It’s a simple and known system. I was considering using a behavior tree but I wanted to do this by hand.
That’s the most basic functions right here. I’ll talk more about it later.
Stay tuned
In the couple of gifs I put above, you can see a bit of the level design and environment. That’s the subject of the next post. See you there !
Here is an glimpse of what to expect :
Be First to Comment