godotengine / godot-visual-script

VisualScript as a Godot Engine c++ module
MIT License
121 stars 29 forks source link

Add a VisualScript state node #14

Open fire opened 4 years ago

fire commented 4 years ago

Describe the project you are working on:

Godot Engine (proposal from reduz)

Describe the problem or limitation you are having in your project:

Users can not make visual state flows

Describe the feature / enhancement and how it helps to overcome the problem or limitation:

The goal for this node is so users can make visual state flows for games, like screen interface chart, or a state chart during a level.

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:

State Node

If this enhancement will not be used often, can it be worked around with a few lines of script?:

Not a few lines of code.

Is there a reason why this should be core and not an add-on in the asset library?:

Visual Script is coded in c++. Might be possible to be a gdscript node, except this function is special due to the fact it calls _process and _physics_process.

Gallilus commented 3 years ago

Do you mean a VS_Node that selects a path depending on a bitflag or enumeration?

fire commented 2 years ago

@Gallilus Something like that. Maybe we can design it together.