Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a subgraphing system to visual scripting #596

Closed
sps014 opened this issue Mar 18, 2020 · 9 comments
Closed

Add a subgraphing system to visual scripting #596

sps014 opened this issue Mar 18, 2020 · 9 comments

Comments

@sps014
Copy link

sps014 commented Mar 18, 2020

Current Scenario:

The essential missing feature in Visual Scripting is the ability to collapse a selection of nodes into a function, expand them and then store them in an accessible function library. This function library is retrievable as a resource to be shared in plugins and the current project.
Imagine if I have to do a repeated operation multiple times for some different inputs.
Currently we can not reuse the nodes for a different set of input values.
problem

Idea

For reusing these set of the node the idea is to isolate the set of nodes
Capture
We will box reusable Nodes within the function, with a validated function unit name.
Input and output are connected to Input function and Output function Nodes.
This approach is inspired by the working of functions that enables modularity.

And we can generate a custom node at design time similar to
capt2

It can be used multiple times and we can also make it exportable as a Library so it can be called from other Godot supported language runtime if we will be able to bind or transpile it.

My Background With VS Systems

I had developed a VS System from Scratch in C++, even wrote controls myself here.

Thanks

Your feedback will be certainly valuable to me.

@girng
Copy link

girng commented Mar 18, 2020

Not a visual programmer, however, whatever makes life better for you guys, I support 100%.

@sps014
Copy link
Author

sps014 commented Mar 18, 2020

Thanks @girng

@willnationsdev
Copy link
Contributor

iirc, @fire was helping to put together this exact topic as a proposal for GSoC.

@Calinou Calinou changed the title Sub Graphing in Visual Scripting System. Add a subgraphing system to visual scripting May 5, 2020
@fire
Copy link
Member

fire commented Sep 22, 2020

PR for Reviewing VisualScript Module(aka Submodules) Patch

swarnimarun/godot#7

Here's a notification for those who are interested.

@fire
Copy link
Member

fire commented Jan 27, 2021

Here's the newer module waiting to be completed. @swarnimarun godotengine/godot#45294

@theoway
Copy link

theoway commented Mar 8, 2022

@sps014 If you're a student & meet the GSoC eligibility, you can also apply for this proposal for GSoC '22. A PR has already been made, it needs major refactoring and bug fixing.
You might wanna check this PR

@sps014
Copy link
Author

sps014 commented Mar 8, 2022

@sps014 If you're a student & meet the GSoC eligibility, you can also apply for this proposal for GSoC '22. A PR has already been made, it needs major refactoring and bug fixing.
You might wanna check this PR

Thanks for opportunity, i do not meet the eligibility criteria now, Will keep contributing in my free time though.

@fire
Copy link
Member

fire commented Mar 9, 2022

Read carefully, the eligibility criteria changed and you do not need to be a student.

@Geometror
Copy link
Member

Geometror commented Sep 18, 2023

Just for reference: The equivalent to this for VisualShader will be discussed at #7730.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants