Example ProtoFlux Node: Difference between revisions

From Resonite Wiki
add examples tab
Added instructions for handling variant type nodes
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Name":"Input", "Type":"Impulse"}
{"Name":"Input", "Type":"Impulse"},
{"Name":"Dummy", "Type":"Dummy"}
]
]
|Outputs=
|Outputs=
Line 23: Line 24:


When a new page for a node is created, the name of the wiki page needs to follow <code>I Am A Flux Node (ProtoFlux)</code>. In this example, the node would appear as <code>IAmAFluxNode</code> in the ProtoFlux node browser.
When a new page for a node is created, the name of the wiki page needs to follow <code>I Am A Flux Node (ProtoFlux)</code>. In this example, the node would appear as <code>IAmAFluxNode</code> in the ProtoFlux node browser.
Currently, the system in place for dealing with nodes that can have a select few different inputs/outputs, label the connector in the page with a "Sudo-Generic" type, and give the [[Module:ProtoFlux | ProtoFlux module]] on the page the type "Dummy" like on this page, and list or describe the types it can take.
If the node has an input/output that takes any type, give the [[Module:ProtoFlux | ProtoFlux module]] on the page the type "Dummy" like on this page. Then label the connector on the page with a "Generic" type.


== Inputs ==
== Inputs ==

Revision as of 19:35, 14 January 2024

ProtoFlux Node
Input
Output
Dummy
Woah, globals
null
Wiki
This page is meant for wiki editors to have a standard, this node doesn't actually exists in Resonite; instead look at the ProtoFlux category for documentation!

This page shows an example of a ProtoFlux node page. Do not hesitate to look at the source of this page and use it as a template. If using this page as a template, you will need to remove the tags <nowiki></nowiki> around the category part at the bottom.

ProtoFlux node pages are using the ProtoFlux module to generate the visuals.

When a new page for a node is created, the name of the wiki page needs to follow I Am A Flux Node (ProtoFlux). In this example, the node would appear as IAmAFluxNode in the ProtoFlux node browser.

Currently, the system in place for dealing with nodes that can have a select few different inputs/outputs, label the connector in the page with a "Sudo-Generic" type, and give the ProtoFlux module on the page the type "Dummy" like on this page, and list or describe the types it can take.

If the node has an input/output that takes any type, give the ProtoFlux module on the page the type "Dummy" like on this page. Then label the connector on the page with a "Generic" type.


Inputs

Input

This is the description for the input.

Outputs

Output

This is the description for the output.

Globals

Woah Globals

This is the description of the global.

Examples

Put example pics here in a gallery.

[[Category:ProtoFlux:Position:In:Node:Picker]]