Wednesday, March 28, 2018

State of the Game #4

Captain's log 29th of March 2018
Its the early morning and I'm working on the enemy AI.
I've managed to make it walk randomly in other words its patrolling the area it's in.
The only problem is that it doesn't see the player immediately.
After a while staring at the player, it accelerates the walking speed and it growls.
Once it sees you, it doesn't go back to the idle state and stays in the chasing state.
No idea yet on how to fix it but I still got time.
In other news, I managed to use ray-casting for its vision in the script so that's one component down.

Aside from the enemy Ai I added more objects in the environment and another key to find.
Next on my list is creating an game over scene, death scene and pause screen.
On the list for enemy AI is for it to attack you and kill you.


Source:  Unity tutorial monster Ai (https://www.youtube.com/watch?v=8DZAXuIUgvY)

No comments:

Post a Comment