Enemy AI – setting up patrol points
- zm02stor
- Dec 21, 2022
- 1 min read
The enemy right now is able to seek out the player but is still static until the player enters it's line of sight. Since it is quite lifeless it was time to add some movement to make gameplay more interesting.
I started off by adding patrol points around the level. I have also revamped the basic lelvel by adding in some walls for basic rooms. These patrol points would go around different rooms, visit them etc. I then made the enemy seek these while the player was not in their sight (for more than a couple of seconds so they don't immediately retreat).
Now the enemy will chase the player while going about their day to day life


Comments