Edit of asset "Object State Machine" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Object State Machine | 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 |
Category | Scripts | Scripts |
License | MIT | MIT |
Repository Provider | GitHub | GitHub |
Repository Url | https://github.com/lowlevel-1989/object_state_machine | https://github.com/lowlevel-1989/object_state_machine |
Issues Url | https://github.com/lowlevel-1989/object_state_machine/issues | https://github.com/lowlevel-1989/object_state_machine/issues |
Godot version | Godot 4.0 | Godot 4.0 |
Version String | 1.0.0 | 0.6.1 |
Download Commit | 9bd528837c0b62ad1d540d3598fe24f8afa68a50 | 6ca0c7c61a2eaabcef1cf57f80f55ea527e4bb32 |
Download Url (Computed) | https://github.com/lowlevel-1989/object_state_machine/archive/9bd528837c0b62ad1d540d3598fe24f8afa68a50.zip | https://github.com/lowlevel-1989/object_state_machine/archive/6ca0c7c61a2eaabcef1cf57f80f55ea527e4bb32.zip |
Icon Url |
https://raw.githubusercontent.com/lowlevel-1989/object_state_machine/master/addons/object_state_machine/icon.jpg
![]() |
https://raw.githubusercontent.com/lowlevel-1989/object_state_machine/master/addons/object_state_machine/icon.jpg
![]() |
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/lowlevel-1989/object_state_machine/master/addons/object_state_machine/demo/screenshot/screen_01.png
![]() |
|
Thumbnail |
Editor Demo
|
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/lowlevel-1989/object_state_machine/master/addons/object_state_machine/demo/screenshot/screen_02.png
![]() |
|
Thumbnail |
Properties
|
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/lowlevel-1989/object_state_machine/master/addons/object_state_machine/demo/screenshot/screen_03.png
![]() |
|
Thumbnail |
Walk State
|