{"repo":"lowlevel-1989/object_state_machine","free":true,"listed":false,"github":"https://github.com/lowlevel-1989/object_state_machine","clone":"git clone https://github.com/lowlevel-1989/object_state_machine.git","description":"A hybrid state machine solution for Godot","language":"GDScript","stars":25,"topics":["godot","godot-asset","godot-asset-library","godot3","godot4","state-machine"],"license":"MIT","category":"game-templates","readme_excerpt":"Object State Machine 1.0.0 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 1. Add a single node to your scene ( NodeStateMachine ) 2. Define states as scripts (extending StateAbstract ) 3. Manage transitions through lightweight objects 4. Keep your scene tree clean - no nested state nodes Where to Use This? (Great for Complex Behaviors!) Create state machines to control: - 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 Installation 1. Asset Library : Install directly from Godot Asset Library or 2. Manual : - Download repository - Copy addons/object state machine to your project - Enable in Project Settings → Plugins Getting Started in 3 Steps 1. Add NodeStateMachine to your scene 2. Design your state flow 3. Create state classes NodeStateMachine - To create a state machine add the NodeStateMachine to the desired object as shown i","default_branch":null,"files":null,"tree":[],"storefront":"/r/lowlevel-1989","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lowlevel-1989/object_state_machine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}