Finite state machine plugin for Godot. It allows you to setup your states easily inside your project. Basically it consist of "Finite state machine" node which is able to hold child nodes that are representing individual states and transitions. It's created with the ease of additional states creation in mind, it will create for you script files for states and transitions. The file will be created in special "FSM" folder inside directory that's holding currently edited scene.
This plugin have also visual graph tool for creating fast fast prototyping :)
For more info check Video, Github and FSM.gd readme section.
-1.0.0 Alpha -
* Visual graph!
* Support for transitions!
* Helper dictionary for less error prone setState() use. Now you can use it like this: fsm.changeState(fsm.STATE.YOUR_STATE_NAME)
- 0.9.2 -
* FSM node have new default settings in inspector. Recheck FSM nodes settings in your project since default behavior have changed!
* It's possible to pass additional parameters to fsm.update(). They will be transfered to states update funciton.
- 0.9.1 -
* Fixed crash when user never changed initial scene
KEEP IN MIND that while we are using this plugin and it should be well tested, we take no responsibility for potential damage caused by this code. You should always use Version control systems in your project.