Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Finite State Machine

An asset by mechPenSketch
The page banner background of a mountain and forest
Finite State Machine hero image

Quick Information

0 ratings
Finite State Machine icon image
mechPenSketch
Finite State Machine

A plugin with FSM and its component State and Transitions as Nodes.

Supported Engine Version
3.5
Version String
1.2.3
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

FiniteStateMachine

A Plugin with an FSM and its components State and Transition as Nodes.

Getting Started

Requirement

  • Godot Engine v3.2+

Installation

After downloading, move the folder "addons/fsm-node" to your project folder.

Usage

After adding FSM, add States and Transitions as its children Nodes.

  • A State can run its logic by calling _process(delta), _physics_process(delta) and/or _input(event)
  • Other Nodes can connect their signals to a Tranistion using a method, _condition(). This is to prompt the FPS to change State.

Upon running the project, all States deactivate their process functions, and all Transitions disconnect their incoming signals. The FSM will keep one State activated and re-connect the incoming signals of the Transitions connected to the State.

Author

  • mechPenSketch

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgements

  • GDQuest and PigDev's youtube videos for helping me understand the concept of FSM better.
  • Using FSM by kubecz3k also helps me understand the concept better.

A plugin with FSM and its component State and Transitions as Nodes.

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
Finite State Machine icon image
mechPenSketch
Finite State Machine

A plugin with FSM and its component State and Transitions as Nodes.

Supported Engine Version
3.5
Version String
1.2.3
License Version
MIT
Support Level
community
Modified Date
2 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