Skip to content

A powerful and easy-to-use Godot plugin for Hierarchical Finite State Machine with visual editing.

License

Notifications You must be signed in to change notification settings

Daylily-Zeleen/HierarchicalFiniteStateMachine

Repository files navigation

Hierarchical Finite State Machine - v 1.3

​ As we all know, state machine is a very common design pattern. Here provide a powerful and easy-to-use Godot plugin for Hierarchical Finite State Machine with visual editing.

Features

  1. Perfect visual editor
  2. Supports hierarchical nesting and can be used in complex situations
  3. Diversified transition plans
  4. Two development modes: signal callback and attached state script
  5. Develop base GDscript, compatible with Godot basic version and mono version
  6. Allows C#script to attached as state script.
  7. Suppoets GDscript and C# script to implement the logic of transition( full version only).
  8. Has ability of working with animaions( Can be an Animation State Mechine)( New).

Full version links:

  1. https://afdian.net/@Daylily-Zeleen
  2. https://godotmarketplace.com/?post_type=product&p=37138

HFSM structure:

Installation

​ Clone this repo and copy "addons" folder in your project,then Activate this plugin in Project Settings -> Plugins.

NOTE:

​ Please obey the license(read LICENSE.md for more) when you using this plugin.

  • The full version is under a custom license.
  • The trial version is under the GNU Lesser General Public License v3.0.

Tutorial

​ Demos are in res://addons/hierarchical_finite_state_machine/demo/.

Note:

  1. If you using standard version Godot, you can't run C# script's demo( may lost dependencies of .tscn).

  2. Only full version have follow demos: 1. new_corss_language_scriptint_2d_platiform_player 2. new_feature_csharp_script_condition_transition_2d_platiform_player 3. new_feature_gd_script_condition_transiton_2d_platform_player

Read document for more.

​ Demo 位于 res://addons/hierarchical_finite_state_machine/demo/

注意:

  1. 如果你使用的是标准版Godot, 你将不能运行含有 C#脚本的demo(打开.tscn有可能丢失依赖关系)
  2. 只有完整版才会附带以下Demo:
  3. new_corss_language_scriptint_2d_platiform_player
  4. new_feature_csharp_script_condition_transition_2d_platiform_player
  5. new_feature_gd_script_condition_transiton_2d_platform_player

中文文档请点击这里

About

A powerful and easy-to-use Godot plugin for Hierarchical Finite State Machine with visual editing.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published