GOAP Module

GOAP Module

Bioblaze Payne
–

Introducing the GOAP Module: native Goal-Oriented Action Planning for smarter agents, dynamic goals, and inspectable AI behavior in Blazium Game Engine.

Introducing the GOAP Module

Blazium Game Engine now includes a native GOAP module for building flexible, goal-driven AI directly inside your projects. Goal-Oriented Action Planning lets an agent decide what it wants to accomplish, inspect the current world state, and build a sequence of actions that moves the game toward that goal.

The module exposes a small set of focused engine classes, including BlaziumGoapAgent, BlaziumGoapGoal, BlaziumGoapAction, BlaziumGoapWorldState, and BlaziumGoapActionPlanner. Together they provide a scene-friendly workflow where designers and programmers can organize goals and actions as nodes, define preconditions and effects with dictionaries, and let the planner choose the lowest-cost valid path at runtime.

Key Features

Why Add GOAP to Your Blazium Project?

GOAP is useful when an AI character needs to respond to changing conditions without every possible decision being scripted by hand. Instead of writing a fixed chain like "find wood, walk to fire pit, light fire," you describe the desired state and the actions that can create it. The planner then works out which actions are currently possible and how expensive each route is.

For Games

For Applications & Tools

Because goals, actions, and world facts are exposed through engine objects and dictionaries, teams can start simple and add complexity gradually. A small prototype can use fixed preconditions and effects, while a larger project can compute costs, validity, and action preparation dynamically from gameplay data.

Documentation & Next Steps

The module is already available in the latest nightly of Blazium and includes a dedicated test project (see goap_module_tests for examples).

For full technical details head over to the official Blazium Documentation at docs.blazium.app.

Whether you are building smarter NPCs, systemic simulations, or inspectable AI tools, the GOAP module gives Blazium projects a native planning foundation that fits naturally into the engine workflow.


Jump into our Discord for real-time chats, dev support and feedback

Or follow us everywhere else: