Devlog W7 Thor


Hello!

This week a lot of progress has been made on the game, though quite a bit still remains for MOJO on monday. I continued from where I left off last week, completing the different sensor scripts for the AI. Now it has vision, hearing, and proximity sensors. These all feed into an awareness system, so that it can be both aware of the player but also other objects. I then integrated this system with the NpcMovement to make different states, such as searching, chasing, and hunting. If the NPC has detected a player, they will not be distracted by other items regardless. Also, I completed the sleeping dust want so that the NPC will sleep upon being hit by such a particle. Different particles are also emitted by the NPC to indicate its state (searching, hunting, sleeping etc.). I added a trigger on the NPC so that it will cause a game over state on the player when they are caught. A game over screen is also quickly implemented with a restart mechanic. Furthermore, I added objects that emit sound when the player steps/lands on them. Another sound emitter is also added where the player can press a button to emit sound from it.

Now I plan to integrate the AI with different models and animations in order to make it more believable. Sounds are also to be added on the and meshes to the different obstacles.

Have a nice weekend!

Get Tooth Fairy

Leave a comment

Log in with itch.io to leave a comment.