-
Notifications
You must be signed in to change notification settings - Fork 92
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
electron: Add option to disable auto-creation of nodes #90
Comments
Are you using yarn spinner or bondage.js? Your function call syntax is very odd. We use I am planning to add support for yarn to write a config file where the exectuable is. Then with that config file be able to disable things like automatic node creation for corner cases like yours - all corner cases will be relegated to a config file, so as to avoid cluttering the ui too much. But that is not high on priorities at the moment, you are probably the only person in the universe who uses node connection syntax to call functions. Alternatively I can add a rule to yarn to not auto-create a new node if in its name has a In any case, you can submit a pull request if you want to add the option to disable it :) I can look into this once I finish I few pulls on gdevelop |
I'm using a Yarn interpreter that I implemented in Godot. It has the ability to load multiple yarn files at once and call nodes in any of them. I have an 'os' yarn that holds base functionality -- but even if I created an "os_e_go" node there, the editor would create an empty node in any yarn that called it. I'd be more than willing to use the call syntax -- it's clearer, in any case, and I can just use a temporary interpreter node to run it. One of the great points of yarn, from a toolkit standpoint, is that it leaves the disposition of output and choices to the calling program. An assumption that the target of a link has to be a node is a bit limiting. In any case, thanks for looking at this. |
Oh, yeah, and trust me -- as a total Javascript newbie, you wouldn't want any pull requests from me! |
Can you link us to your interpreter, Please when you write and share plugins to interpret yarn files, follow the syntax rules. I quickly learned that we need to follow them, especially to be compatible with bondage.js and yarnspinner. The more consistent we are across the board, the better for the file standard |
Oh, dangit, I came here to post about how it's not ready for use and it's not going to support dialog shortcuts anyhow, and then I thought of a nifty dumb way to get them to work and grr. If I can get that to work and I can get some sort of error messaging going and tighten down the type checking for operators to a sane level, I'll open up the repository. |
sweet =) |
@rdominick I added this now via: Download and build the latest from the electron branch, then extract this to your windows home folder: |
This works well, too. I've even added another option in my local copy: to turn off the preview mode altogether. I just want to see the code I've written as it is. Thanks for this. |
Please do a pull request and will see to merge it :) |
ok scrap that for now, I am going to replace the ini file with a json one - to make it easier to maintain |
I'll hold off until I see that as a commit, then. |
@rdominick give it a try now :) |
My yarn interpreter has support for function calls instead of node names when making a choice -- i.e., [[Fight!|!e_go]]. Every time I edit a node with this feature in it, a node is created for the function and any choice that calls this function is linked to it, and it kind of makes this version of Yarn unusable for me. It'd be nice to be able to turn it off like the other auto-complete options.
The text was updated successfully, but these errors were encountered: