WritingFantasy is a twine story format inspired by old-school adventure gamebooks, specifically the Fighting Fantasy series.
The main features of WritingFantasy are that it:
<ul><li>Displays twine stories as a series of numbered passages, all shuffled (apart from the starting passage)</li><li>Converts passage links to a "turn to XYZ" format)</li></ul>
This essentially takes twine stories and displays them in a way that can be printable, but also (by default) includes in-page hyperlinks which makes it easier for people to follow when playing the story as a webpage or ebook.
For help with:
[[Converting to EPUB]].
To get WritingFantasy, you can get the latest version here:
<a href="http://sophiehoulden.com/twine/writingfantasy_1.js">writingfantasy_1.js</a>Text style markup is largely the same as Harlowe (the default story format for Twine 2), allowing:
As well as <a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">html tags</a>.
In addition, you can also `__`__underline__`__` text with a double underscores.
Formatting can be escaped using backticks, each backtick in a passage toggles whether following markup will be ignored.
[[->Intro]]Writing passage links is the same as normal, two "[" brackets on either side of your text will turn it into a link.
You can also use both "->" and "<-" links for text that describes something other than a passage title.
This even works with //completely blank// text links, which WritingFantasy will use to insert a simple turn instruction like this:
[[->Intro]]It is possible to take the generated html from WritingFantasy and put it into a .html file that you convert to epub, preserving the hyperlinks.
Instead, you must //inspect// in your browser the WritingFantasy page, and copy html from within the ''id="storyhere"'' paragraph.
[[Intro<-]] Passages with the "hidden" tag won't be displayed by WritingFantasy.
If you have any passage nodes you don't want to be visible (e.g: a "notes" node) make sure to mark them as hidden, or they will be shuffled into the list of passages and displayed with all the others.
[[->Intro]]This passage won't be displayed, because it has the "hidden" tag.
Hello to people who dug into the data and found this passage, you're a cool nerd!
Anyway this is my to-do list I use when working on Writing Fantasy:
- Find a way to specify the formatting tips within twine for when a passage has no text
- Make an explicit twine-epub converter sometime, if it will save work vs copy/pasting the generated html
- make it so epub chapter titles don't read as 'turn to X' in ibooks (is there some html a property I need to set for the in-page links?)