creating a visual scripting editor #4094
quantumgames-studiosinc
started this conversation in
Show and tell
Replies: 2 comments
-
You are more than welcome to make a PR to the engine for it when your visual editor is ready. Having a quick look, you may be able to make the integration a separate library / file such as how 8th Wall and Zappar have done theirs. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just some random thoughts:
(function(global) {
var LiteGraph = global.LiteGraph;
// ...
})(this);
var A = this.getInputData(0);
if( A === undefined )
A = 0;
var B = this.getInputData(1);
if( B === undefined )
B = 0; Which is e.g. the same as: const A = this.getInputData(0) ?? 0;
const B = this.getInputData(1) ?? 0; I worked out something similiar some time ago, maybe you get some UI ideas: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am creating a visual scripting editor for this. devs, i would love to see this incorporated to the engine once it is done, so if you could reply, that would be great! github link for information and updates: https://github.com/quantumgames-studiosinc/flowcanvas-playcanvas-visual-scripting-system
Beta Was this translation helpful? Give feedback.
All reactions