Behavior middleware
-
Easy State Machine
A lightweight, modular state machine system designed for clean and flexible state handling. With signal-driven architecture and built-in state switching and binding, this plugin makes managing game states intuitive and easy.
Behavior Godot -
Finite State Machine
A better state machine for Godot 4.x (GDScript). Nesting states supported. Designed with developer experience in mind, this plugin provides editor warnings, automated tree scanning, hierarchical lifecycle propagation, and runtime flexibility for both static and dynamic setups.
Behavior Godot -
gd-YAFSM(Finite State Machine)
Designer-friendly Finite State Machine implemented in "Godotic" way This version is only compatible with Godot 4.x, check out godot3(https://github.com/imjp94/gd-YAFSM/tree/godot3) branch for older version - Design StateMachine in a flowchart-like editor - Visualize flow of StateMachine & inspect parameters in realtime - Visualize game/UI state from flowchart - Similar workflow as using AnimationTree, and not required to inherit any custom class, just plug and play - Nested Finite State Machine workflow supported to create complex state machine with ease - As a Resource, StateMachine can be used repeatedly in different scenarios(StateMachinePlayer) and provide different outcome based on the input. - Compact data structure for StateMachine resource file v0.6.2: Fixes StateMachineEditor is_instance_valid check on reconnection Fix StateDirectory.get_current_end() doesn't work as expected Fix FlowChartGrid draw_multiline_colors error Fix StateDirectory.get_current_end() and StateMachinePlayer.path_end_dir( Remove some super._init() for godot 4.1.3 v0.6.1: Fix _on_update params error, flowchart grid and popup menus v0.6.0: Port to Godot 4.0 v0.5.2: Support sorting transitions. Fix "entered" signal is not emitted and trigger is flushed when StateMachinePlayer started. v0.5.1: Fix condition label in graph not removed as deleted from inspector. Fix output flooded with null exception, when stopping scene in remote debug and when switching between local/remote StateMachinePlayer node. v0.5.0: Support remote debug, simply select any StateMachinePlayer node in remote scene tree to view flow of StateMachine in realtime. Fix StateMachinePlayer's nested triggers are not flushed and some UI bugs. v0.4.1: Fix possible to connect to self when reconnecting, validate StateMachine Resource everytime loaded in editor, and minor improve on UI. v0.4.0: gd-YAFSM now support nested FSM workflow in 0.4.0 & fixed various annoying UI bugs Check out CHANGELOG(https://github.com/imjp94/gd-YAFSM/blob/master/CHANGELOG.md) for more details *Always backup project files before update
Behavior Godot -
Godot State Charts
Godot State Charts is an extension for Godot Engine 4 or later that allows you to use state charts in your game. State Charts are similar to finite state machines, but they are more powerful and avoid the state explosion problem of traditional FSMs. To get started, check out the manual at: https://github.com/derkork/godot-statecharts/blob/main/manual/manual.md
Behavior Godot -
LimboAI: Behavior Trees & State Machines (Godot 4.3)
LimboAI is an open-source C++ module for Godot 4 providing a combination of Behavior Trees and State Machines for crafting your game’s AI. It comes with a behavior tree editor, built-in documentation, visual debugger, and more! While it is implemented in C++, it fully supports GDScript for creating your own tasks and states. The full list of features is available on the LimboAI GitHub page: https://github.com/limbonaut/limboai Behavior Trees are powerful hierarchical structures used to model and control the behavior of agents in a game (e.g., characters, enemies, entities). They are designed to make it easier to create complex and highly modular behaviors for your games. This release works with Godot 4.3. GDExtension version supports exports for Linux, Windows, macOS, Web, iOS and Android.
-
Node Based Finite State Machine
Node Based Finite State Machine for Godot A plugin for easily creating a highly extensible Node Based Finite State Machine with Godot. Note: The plugin is still in alpha. Using it in commercial projects is not recommended. You can help by reporting any bugs to the Github repo.
Behavior Godot -
Node Based Finite State Machine 4
A finite state machine, which uses nodes as states.
Behavior Godot -
Object State Machine
Full documentation available in the repository: https://github.com/lowlevel-1989/object_state_machine A hybrid state machine solution for Godot - Single node in scene tree - Add just one NodeStateMachine node to your scene - No node-based states - States are pure GDScript objects (not scene nodes) - Optimized performance - Avoids scene tree overhead for state transitions - Clean architecture - Keep your scene tree simple while managing complex behaviors How It Works - Add a single node to your scene (NodeStateMachine) - Define states as scripts (extending StateAbstract) - Manage transitions through lightweight objects - Keep your scene tree clean - no nested state nodes Where to Use This? (Great for Complex Behaviors!) - Player behaviors: Idle, Run, Jump, Attack, Crouch - Enemy AI: Patrol, Chase, Attack, Flee - UI Systems: Main menu, Pause screen, Inventory - Game Flow: Level loading, Cutscenes, Dialogue - Complex object states: Treasure chest (locked, unlocking, open, empty), Security system (armed, disarmed, triggered) - Building mechanics: Placement, Rotation, Connection, Demolition modes Includes examples, documentation, and a clean architecture for handling transitions and input in pure script-based states.
-
Saturn - Simple Cascade State Machine
Saturn is a versatile addon crafted for the Godot game engine, designed to streamline and simplify the management of states within your game projects. At its core, Saturn serves as a robust state management tool, offering developers a straightforward solution for organizing and transitioning between different states within their games.
Behavior Godot -
State Machine
A simple node base finite state machine inspired by ShaggyDev's state machine.
Behavior Godot -
State Machine Lite
Lightweight finite state machine autoload for Godot 4. Free version. Upgrade to PRO for hierarchical states, transitions guards, history and visual debugger.
Behavior Godot -
Statechart Sharp: a state machine plugin
A simple statechart plugin for Godot, implemented in C#. Statechart is a state machine, supports hierarchy states, and has various state mode. This plugin provides basic nodes to build statechart in Godot editor.
Behavior Godot -
Visual State Machine
A State Nachine whit visual nodes and connections for your game
Behavior Godot