Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daylily-zeleen/hierarchicalfinitestatemachine
A powerful and easy-to-use Godot plugin for Hierarchical Finite State Machine with visual editing.
https://github.com/daylily-zeleen/hierarchicalfinitestatemachine
csharp fsm gdscript godot hfsm state-machine
Last synced: 18 days ago
JSON representation
A powerful and easy-to-use Godot plugin for Hierarchical Finite State Machine with visual editing.
- Host: GitHub
- URL: https://github.com/daylily-zeleen/hierarchicalfinitestatemachine
- Owner: Daylily-Zeleen
- License: lgpl-3.0
- Created: 2021-04-17T06:27:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-31T07:07:57.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T11:12:17.940Z (about 1 month ago)
- Topics: csharp, fsm, gdscript, godot, hfsm, state-machine
- Language: GDScript
- Homepage:
- Size: 1.95 MB
- Stars: 45
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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:
![](DOCUMENT.assets/strusture.png)
# 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](Document_en.md) for more.**
Demo 位于 `res://addons/hierarchical_finite_state_machine/demo/`
> 注意:
>
> 1. 如果你使用的是标准版Godot, 你将不能运行含有 C#脚本的demo(打开`.tscn`有可能丢失依赖关系)
> 2. 只有完整版才会附带以下Demo:
> 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` **[中文文档](Document_cn.md)请点击这里**