Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Re-implement VisualScript using a 'block and wire' system #29

Open
Labels
enhancementNew feature or request

Description

The system is very straightforward in concept:
Scratch-style puzzle-blocks with the flexibility of Blueprint-style node-wiring.

Visual scripting seems to be dominated by a node-wiring paradigm throughout the biggest game-engines, which is great for flexibility and seeing the flow of process logic, however it quickly becomes visually busy and unappealing to work with as scripts become larger and more complicated.

Partly, this complexity can be addressed with an abstraction feature which can encapsulate complicated logic into a simple new node, however, I feel an even more clean approach would be to embrace the verti-linear structure of code blocks as seen implemented with Scratch, and Googles 'Blockly' system. https://developers.google.com/blockly/

Essentially. Wiring would be limited to just the types of blocks necessary to implement the continuation of program flow. That is, most of the program would be written as vertical 'clusters' of code-blocks representing some portion of the necessary logic (ie. a step in whatever process is being achieved), and then wiring would connect that cluster to the next which represents the next step.

For example, when one finds the need to do some complicated process inside a loop or nested loop structure, but would otherwise complicate the present cluster, the wiring flow could break away to a cluster dedicated to the loop, and then come back from the loop to a new cluster which can be directly below the inital cluster before the break-away.

This allows for cleanly putting code aside, while also using the visual layout to describe continuity. It may even be preferable for the first and third cluster to reconnect in a distinct manner to explicitly describe the continuity.

EDIT:
This is a very rudimentary mockup that just shows how clusters of blocks can have verti-linear flow much like text-based scripting, but still benefit from wiring flow, allow for a more freeform organization of code.
note the verti-linear flow would also help visual scripters transition to text-based scripting
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /