Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

[Harlowe] Example of Text Input, and calling twine script from JS

Here's a minimal project showing a couple of hacks I ended up using in a recent project.

It isn't pretty, but might be useful to others.

You can see the demo here, and the code here.

It contains an example of multi-text field input, and calling into twine script from JavaScript by synthesizing clicks using JS.

Tim

Comments

  • Awesome! Does this have any dependencies? I'm having trouble getting the verbatim code to work. Console doesn't show any errors either. I'd love to use this to pass macros into Twine from onclick events.
  • Shouldn't have any dependencies.

    You're having issues just running the demo locally?
Sign In or Register to comment.