limboai icon indicating copy to clipboard operation
limboai copied to clipboard

GUI for creating and editing HSM

Open bits-by-brandon opened this issue 1 year ago • 2 comments

Problem statement

Currently the only way to create and edit a HSM is with code. For larger and more complex HSM's it can be difficult to get a quick understanding of the structure of the HSM. A graph-based or otherwise visual HSM would be really helpful for both understanding and debugging the HSM, but also for less technical people to contribute and build these state machines.

Proposed solution

LimboAI could utilize Godot's graph functionality to create tools that allow GUI creation and debugging of state machines. Here are some examples from gd-YAFSM for inspiration

image image

Alternatives

The alternative is just not using a GUI.

bits-by-brandon avatar Sep 24 '24 14:09 bits-by-brandon

I have a few enhancements in mind for HSMs. It was always my intention to have a GUI editor. However, I'd like the form and function of HSMs to be fully established before GUI is considered. Godot graphs can be utilized, but they are limiting, so maybe a custom solution would be better. I'd have to take another look at graphs to see if they fit the job well today.

limbonaut avatar Sep 28 '24 19:09 limbonaut

I know the Godot graphs have received a bit of an overhaul in 4.1+, but I'm not sure if necessarily made them better. I'd be excited to see what you come up with for this, if it's anywhere close to how nice the debugger for the BT is

bits-by-brandon avatar Sep 29 '24 01:09 bits-by-brandon