Pathfinding progress


Creature Waves

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.

First pass

Jan 20, 2022

Demo showing nav pathing with randomized steering and collision!

Second pass

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.

Get Camp Fire Craft

Leave a comment

Log in with itch.io to leave a comment.