#TwineTuesday: Twine 2.0: Using JavaScript in different story formats (videos)

Harlowe


An overview of using JavaScript in the Twine 2.0 story format Harlowe. Details how to call the built-in JavaScript functionality from TwineScript, and how to use the “Edit Story JavaScript” window.

Snowman


An overview of using JavaScript in the Twine 2.0 story format Snowman. Details how to create user-defined functions, run them, and the various commons issues with function scope between passages and from the “Edit Story JavaScript” window.

SugarCube


 
An overview of using JavaScript in the Twine 2.0 story format SugarCube. Details how to create user-defined macros, run them, and how, generally, to invoke other macros in the SugarCube format.