FSM (Finite State Machine)

An asset by kubecz3k
The page banner background of a mountain and forest
FSM (Finite State Machine) thumbnail image
FSM (Finite State Machine) thumbnail image
FSM (Finite State Machine) thumbnail image
FSM (Finite State Machine) hero image

Quick Information

0 ratings
FSM (Finite State Machine) icon image
kubecz3k
FSM (Finite State Machine)

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. If you are not sure what Finite Machine state is, you can read about them here: http://www.gameprogrammingpatterns.com/state.htmlKEEP IN MIND that while we are using this plugin and it should be well tested, we take no responsibility for any damage caused by this code. You should always use Version control systems in your project.

Supported Engine Version
3.1
Version String
1.0.4 alpha
License Version
MIT
Support Level
community
Modified Date
4 years ago
Git URL
Issue URL

Finite state machine plugin for Godot engine

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. It's created with the ease of additional states creation in mind, you can create them automatically from FSM node inspector, you just need to write new state name and proper script file will be created automatically, and node will be added as a child to the FSM node. The file will be created in special "states" folder inside folder that's holding currently edited scene.

There are couple of options inside FSM node:

  • one of the most interesting one is to automatically remove non active states from scene tree in runtime. This way you can attach various visuals to individuals states, which visuals wont be present if you decide to change state. State will be automatically readded to the scene if you decide to activate it.
  • additionally you can choose where to write state transition logic, in manual mode you can manually change states from every point of your code. Or you can choose to hardcode transitions inside state scripts. In this scenario FSM after updating current state logic will ask this state if transition should happen. In this case you need to implement computeNextState() function and return next state name.

For more informations on various options and how to use this node, check readme section of FSM node script. Before downloading please check branch! Master is for Godot 3.1

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.
If you are not sure what Finite Machine state is, you can read about them here: http://www.gameprogrammingpatterns.com/state.html

KEEP IN MIND that while we are using this plugin and it should be well tested, we take no responsibility for any damage caused by this code. You should always use Version control systems in your project.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
FSM (Finite State Machine) icon image
kubecz3k
FSM (Finite State Machine)

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. If you are not sure what Finite Machine state is, you can read about them here: http://www.gameprogrammingpatterns.com/state.htmlKEEP IN MIND that while we are using this plugin and it should be well tested, we take no responsibility for any damage caused by this code. You should always use Version control systems in your project.

Supported Engine Version
3.1
Version String
1.0.4 alpha
License Version
MIT
Support Level
community
Modified Date
4 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers