Edit of asset "Object State Machine" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Object State Machine | |
Description |
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. |
state machine without node for godot 3/4 Documentation in the repository: https://github.com/lowlevel-1989/object_state_machine # Changelog ## [0.7.2] - 2023-03-10 ### Changed - Fix Version plugin ## [0.7.1] - 2023-03-10 ### Added - Debug Comming Soon ### Changed - Fix remote debug ## [0.7.0] - 2023-03-04 ### Added - Graphical state machine for the reference model ### Changed - KinematicBody2D platform demo for Godot v3 (update) - CharacterBody2D platform demo for Godot v4 (update) ## [0.6.1] - 2023-02-28 ### Changed - KinematicBody2D platform demo for Godot v3 (update) - CharacterBody2D platform demo for Godot v4 (update) ## [0.6.0] - 2023-02-28 ### Added - LICENSE - README.md - support Godot v3 - KinematicBody2D platform demo for Godot v3 - CharacterBody2D platform demo for Godot v4 - new node -> node_state_machine - new method -> void StateAbstract::confirm_transition() - new method -> void StateAbstract::create(name : String) - new method -> void StateMachine::create(name : String) ### Changed - plugin.gd -> commend for support godot v3, default support v4 |
Category | Scripts | |
License | MIT | |
Repository Provider | GitHub | |
Repository Url | https://github.com/lowlevel-1989/object_state_machine | |
Issues Url | https://github.com/lowlevel-1989/object_state_machine/issues | |
Godot version | Godot 4.0 | |
Version String | 1.0.0 | 0.7.2 |
Download Commit | 9bd528837c0b62ad1d540d3598fe24f8afa68a50 | bf0301ea0301cf5c71b631a2083fc005da0030a8 |
Download Url (Computed) | https://github.com/lowlevel-1989/object_state_machine/archive/9bd528837c0b62ad1d540d3598fe24f8afa68a50.zip | https://github.com/lowlevel-1989/object_state_machine/archive/bf0301ea0301cf5c71b631a2083fc005da0030a8.zip |
Icon Url |
https://raw.githubusercontent.com/lowlevel-1989/object_state_machine/master/addons/object_state_machine/icon.jpg
![]() |