XSM eXtended State Machine's icon

XSM eXtended State Machine 1.5.1 Tools 3.2 Community

Submitted by user atn; MIT; 2021-11-13

A freely inspired implementation of StateCharts (complex state machines) for Godot. This plugin provides States composition with subStates (and sub-...-sub-States), regions (ie parallel States), history (you can store the last active states easily) and helper functions in the "easy-to-use nodes that I move around" philosophy of Godot.
Timers and easy animation playing as a bonus!

Now with a StateRoot, pending States, substates call, an active states list, arguments to a state_change, some debug help and an active States history ! (look in the readme on gitlab)

Last edit: 1.5.1:
- Small bug correction: error on initialization, no enter() and _after_enter were called
- Complete change on how the active state is handled to allow for complex behaviour like change a state during you enter another state.
- Added a debug boolean to help debugging your XSM (shows explicitly which state is changing in the console

View files Download Submit an issue Recent Edits