Convert a Twine game to a gamebook
How to use this tool
-
Use Twine to write an adventure:
-
Don't use any features that don't translate to print media: e.g. video, custom javascript, etc.
-
Use Markdown to format your text.
-
Consider putting links at the bottom of each passage and wording them appropriately, e.g.
Do you [[fight the orc->fight]] or [[run away->run]].
Twinebook will add text after each link e.g. (turn to 17)
for you.
-
When you're happy with your story, use "Publish to file" to make a HTML file.
-
Upload that HTML file using the form above to receive a printable "gamebook" version!
-
The passage marked "start story here" will always be the first entry in your gamebook. The other
passages will be shuffled randomly.
Advanced usage
-
If making a PDF version for screen (rather than print) use, set the link text format to
{{text}} (turn to <strong><a href="#{{link}}">{{link}}</a></strong>)
to make passage cross-references clickable.
-
To create chapters before or after the "gamebook" portion (e.g. instructions, glossary of spells, etc.), create passages disconnected from the main story and give them the tag
twinebook-pre
or twinebook-post
respectively. You should probably start these passages with a <h2>
/##
heading.
-
Force a passage to be placed at a particular number by giving the tag
always-123
(where 123
is the number you want it to have): this is useful for if you have puzzles of the form "If you know the code to the safe, turn to that passage number: if it begins with the words 'The safe clicks open...' you're correct; otherwise carry on reading this passage." It can also be useful if you want to force the "good" ending to appear at the end of the book. Take care to ensure that you don't specify a value higher than the number of passages your story has.