blurymind / YarnClassic

A tool for writing interactive dialogue in games!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Editor won’t preview Shortcuts

alakoring opened this issue · comments

Although the editor can preview multi-node choices, it will not preview if a node has shortcuts.

Repro
Open a new document in Editor
Copy & paste text from the “Shortcut scope” section of the documentation into the node
Click the ▶️ button to Preview

Actual
No text is displayed.
2clicking exits Preview mode.

Expected
Initial text displays.
Responses are displayed.
Choosing one displays its text.

Alternately
An error message if I misunderstand the -> syntax.

Note
I have attached a file that doesn’t work, and one that does (because it is not using shortcuts).
I am using Version 0.4.44 (0.4.44) on macOS 10.14.6. (I have not tried this in Unity, but I don’t imagine the bug exists in Yarn, just the Editor.)

ShortcutsPreviewBUG.zip

I just noticed this is buried in #153 — I would keep it as a separate issue though because it might be fixed without needing to other features in that issue.

yes unfortunately this is a bondagejs bug
hylyh/bondage.js#53
hylyh/bondage.js#31

we use bondagejs because yarnSpinner does not have a javascript runtime

closing this since its out of the scope of yarn editor. Its a bondagejs bug