• Register
Post news Report RSS Game? Retro. AI? Modernized

Beyond Sunset is a retro game but it can’t play like a retro game 👾 Today, simplified AI behavior just wouldn’t fly. Enemies can’t stumble around half-randomly. So what did we do? Read more in the post 👇

Posted by on

Hi all!

Beyond Sunset is a retro game at core, yes, but it can’t play like a retro game. Today, simplified AI behavior just wouldn’t fly. Enemies can’t stumble around half-randomly, with their only objective being looking for you. This “stumbling” is something you can notice easily in the original Doom. We wanted to avoid it. So what did we do?

1

We focused on changing the pathfinding and in general, on letting our enemies make decisions.


Their choices are made via a behavior tree: a branching path of actions that an actor can take, resulting from each other. It’s a standard thing in gaming, but not in retro games, and not in games based on the Doom engine. We believe that we are the first to implement Behavior Trees in GZDoom.

Why is it important? Not just because the effect is visible: our enemies are smarter, react to your actions instead of following a simple pattern. Also, for us, their actions are much easier to program. We use a visual editor to create their branching behavioral paths. This makes creating their “personalities” much, much more convenient. See how it looks:

2 1

As a result, you can experience much more exciting (and vertical) combat scenarios than in older Doom-based games.


We also use these trees to create the AI for non-combatants so that we can add life to our game world. Not everyone is your enemy, not everyone is there to kill. This design concept was first used in the underrated gem Strife many years ago, but we hope to take it to the next level.

If you’re a modder or a GZDoom game creator, here’s something important for you: we’ll make our behavior trees open source very soon. It’s one of the best things about Doom and GZDoom: we can share our knowledge and findings, and help each other create better, more amazing games!

Wishlist and follow us for more Beyond Sunset and GZDoom goodness on Steam.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: