Giter Site home page Giter Site logo

daylily-zeleen / hierarchicalfinitestatemachine Goto Github PK

View Code? Open in Web Editor NEW
42.0 2.0 4.0 1.99 MB

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

License: GNU Lesser General Public License v3.0

GDScript 91.19% C# 8.81%
csharp fsm gdscript godot hfsm state-machine

hierarchicalfinitestatemachine's Introduction

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

中文文档请点击这里

hierarchicalfinitestatemachine's People

Contributors

daylily-zeleen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hierarchicalfinitestatemachine's Issues

v 0.8 full critical bug

Hey,

I just bought the full version from godotmarketplace and there's a critical bug with godot 3.5.1.
When you attach scripts to states, whenever you click a state, the script gets reverted to the last loaded version.
That happens to me on the demo project, here's examples:

First step:

I have the idle state selected and the idle script opened.

https://i.imgur.com/hcE39iV.png

Second step :

I edit the script and save:

https://i.imgur.com/v2XJOQT.png

I click on the jump state. Notice the script has reverted back:

https://i.imgur.com/fdyiSxJ.png

Any help would be appreciated.

Inspector Bug in Godot 3.5.stable official

Hi,
really cool plugin, but unfortunately i found a critical bug in the inspector of the hfsm editor :
image

Changing the transition type doesnt do anything and if i click somewhere else and back on the transition, its back to delay.

Also btw. What are the differences between trial and payed version?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.