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

Allow to create custom more complex nodes #1606

Closed
crisestudio opened this issue Oct 4, 2020 · 2 comments
Closed

Allow to create custom more complex nodes #1606

crisestudio opened this issue Oct 4, 2020 · 2 comments

Comments

@crisestudio
Copy link

crisestudio commented Oct 4, 2020

Describe the project you are working on:
2D fighter

Describe the problem or limitation you are having in your project:
It's very bothersome to not be able to create quickly new custom nodes to reuse scenes between projects/levels and upload them to the asset store so can be used by others or reused by myself.

Describe the feature / enhancement and how it helps to overcome the problem or limitation:
Allow to create custom nodes easily, improve the export keyword functionality, so It can be used to create custom interfaces in a scene, which you can later save as a single node, but in reality is just a scene made from basic nodes.

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
Allow the root node to have some script with export variables, that allow to create a custom interface, similar to unity component system (which is just an interface of inner nodes), allowing for reusal of scenes between users/projects, and allow it to be uploaded to the asset store.

If this enhancement will not be used often, can it be worked around with a few lines of script?:
No, requires some improvements to the export keyword.

Is there a reason why this should be core and not an add-on in the asset library?:
No, It's a core editor issue to export to the asset library.

@KoBeWi
Copy link
Member

KoBeWi commented Oct 4, 2020

This is already possible. You can add a tool script to a scene, which can modify children nodes dynamically based on inpsector actions.

Although you can't make it into a single class without something like godotengine/godot#21187 Or actually you can, but you need to create the whole scene from scrip. It's perfectly possible, but you can't tweak the scene visually in the editor. Something like godotengine/godot#26552 could be useful too.

@Calinou
Copy link
Member

Calinou commented Dec 25, 2021

Closing per KoBeWi's comment (and overall lack of support on this proposal).

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

3 participants