Hello! Hope everyone’s work with their twine projects is going well. I made an example game with a few additional options that people were asking about in class on Wednesday.
-Custom CSS for individual passages
-Audio playback across the whole story
-Additional scripts like timed passages
To use all of these features (except for custom CSS for tagged passages), you will need to use a story format that does not come installed with Twine 2. It is included in the ZIP file I’ve attached below- the file is called ‘format.js’. Installing it is pretty easy! On the home page of twine, you’ll click the menu item called ‘formats’ in the right-hand sidebar.
Open it, and click ‘Add new format’
Now, you’ll need to paste where the file is on your computer. If you are on a Mac (or Linux), the path will look something like this-
If you are on windows, it will look more like this-
But remember each path is specific to where it is on your machine! You can usually look at a file’s info to get its path. (If you have trouble with this, feel free to get in touch with me via email).
That’s it! Now that your new story format is installed, it is available in a list of options when you change your story format. You’ll want to pick Sugarcube 2.
You can now use advanced macros, music, and other neat things built into this story format. Full documentation is available here – or you can just download my example and play around with some options.