Twine Example

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.

This includes-

-Custom CSS for individual passages

-Images

-Audio playback across the whole story

-Additional scripts like timed passages

HOWEVER!

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.

Screen Shot 2015-09-12 at 12.06.05 AM

Open it, and click ‘Add new format’

Screen Shot 2015-09-12 at 12.07.00 AM

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-

file:///Users/you/desktop/twine example/format.js

If you are on windows, it will look more like this-

file:///C:/Users/you/documents/twine example/format.js

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).

On Mac you can see the path of your file by right clicking and selecting get info (don't forget to add file:// at the beginning and format.js ad the end)
On Mac you can see the path of your file by right clicking and selecting get info (don’t forget to add file:// at the beginning and format.js ad the end). Twine may get stuck in loading state forever, but it should install the format correctly

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.

Screen Shot 2015-09-12 at 12.15.40 AM

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.

So go ahead-

Download a zip file containing a twine example using sugarcube and additional macros

And feel free to email me with any questions over the weekend- katierosepipkin @ gmail