Howdy, Stranger!

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

JavaScript

Anybody know any working JavaScript for Twine 2.0?I have already tried:
localStorage.getItem('var')
but that didn't work.

Comments

  • Are you storing the variable to local storage first?
  • edited May 2015
    Are you trying to use Javascript to modify the Twine 2 application itself or a story built using the application?

    If it is a story built with Twine 2 then which story format are you using?
    Because the way you access $variables via Javascript depends on which story format you are using.
Sign In or Register to comment.