The passage marked as the 'start of the story' in twine will always be the first numbered passage, like this one is.
For help with:
[[Converting to EPUB]].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.
[[->learning how to use Writing Fantasy]]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 with no accompanying text.
Examples of passage link formatting and how they appear:
<ul><li>`[[Passage Links]]` = [[Passage Links]]</li>
<li>`[[display text->Passage Links]]` = [[display text->Passage Links]]</li>
<li>`[[Passage Links<-display text]]` = [[Passage Links<-display text]]</li>
<li>`[[Passage Links<-]]` = [[Passage Links<-]]</li>
<li>`[[->Passage Links]]` = [[->Passage Links]]</li>
<li>`[[#->Passage Links]]` = [[#->Passage Links]]</li></ul>
[[->learning how to use Writing Fantasy]]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.
[[learning how to use Writing Fantasy<-]] 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.
You can disable hyperlinks too: When you publish your twine story to html, in the exported file search for "var usePassageLinks = true;" and replace it with to be "var usePassageLinks = false;".
[[->learning how to use Writing Fantasy]]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?)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 shuffled numbered passages</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.
To begin [[learning how to use Writing Fantasy]]
To use WritingFantasy, you can get the latest version here:
or the minified version:
<a href="writingfantasy_1.js">writingfantasy_1_min.js</a>Passages are shuffled randomly for the most part, with a few exceptions:
<ul><li>The passage marked as the 'start' in twine will always be the first numbered passage</li>
<li>A passage with the tag "ending" will always be the last numbered passage (just like this one)</li>
<li>Passages with the tag "frontmatter" will always appear before numbered passages</li>
<li>Passages with the tag "backmatter" will always appear after numbered passages</li>
<li>Passages with a tag formatted like "fixednumber_123" will be given the specified passage number, provided there are enough passages (otherwise it will be placed at the end)</li></ul>
The order of front and back matter passages cannot be specified yet, WritingFantasy will put them in whichever order they are found.
Also, only one passage marked with the "ending" tag will be used, others will be disregarded and not included.
Passage links work even when linking outside of the numbered passages, for example: [[->Thanks]].Thanks for your interest in WritingFantasy, and especially thanks to all of my patrons whose support allows me to make things like this.
If you would like to support me on patreon, you can find me here: