Devlog #9: A* pathfinding


Hi guys,

I got an okay amount done today. I added in code for enemies and mostly implemented their pathfinding using A*. Just missing the final step, which is actually moving to follow the path, but I am going to do that tomorrow. Honestly not much more to say than that.

Other than that, tomorrow I also want to do some stuff with enemy's line of sight. I want them to follow the player down a path, but if they get to a crossroads and they can't see the player, they will either give up or choose randomly. Of course, some enemies will be able to smell, hear or notice the player's tracks, but I'll get to that after I do collecting corpses.

Okay, see you tomorrow! 

Leave a comment

Log in with itch.io to leave a comment.