Posted February 16, 2022 by GomaGames
#godot
Each night, creatures will come to your camp and steal food.
Players can build a fence around camp to protect the food from creatures since a Lose condition is that “If a player cannot eat in the morning, the game is over”.
These creatures need to perform pathfinding around solid objects, steal food, then follow a path back to their spawn point.
A fellow software engineer helped out with implementing the pathfinding feature.
Jan 20, 2022
Demo showing nav pathing with randomized steering and collision!
Jan 21, 2022
Created different steering behaviors that can be controlled at the scene level to affect mob movement. In the clip I’m triggering the modes with my mouse button. (wander and thrash) Wander is slower and has a randomized wait time. Thrash is increased speed. Also, added a simple damage system to show how it might work with structures. You can see the damage dealt in the logging. Structures die when their heath is gone.