Twine: Difference between revisions

From IFWiki

No edit summary
No edit summary
Line 20: Line 20:
Twine 1 story files have a <tt>.tws</tt> file extension; output files are saved with a <tt>.html</tt> extension. Twine 2 uses HTML files as both source files and playable output files.
Twine 1 story files have a <tt>.tws</tt> file extension; output files are saved with a <tt>.html</tt> extension. Twine 2 uses HTML files as both source files and playable output files.


Twine 1 is also released with '''Twee''', the command-line version of Twine. This allows Twine authors to use their own editors instead of Twine's interface, if they prefer. Twine 2-compatible HTML files can be compiled from twee source using [https://www.motoslave.net/tweego/ tweego].
Twine 1 is also released with '''Twee''', the command-line version of Twine. This allows Twine authors to use their own editors instead of Twine's interface, if they prefer. In 2019, the Twee 3 specification was [https://intfiction.org/t/twee3-draft-specification/41472 released as a draft]. Twine 2-compatible HTML files can be compiled from twee 3 source using [https://www.motoslave.net/tweego/ tweego].
 
==Story Formats==
 
Twine requires [https://twinery.org/cookbook/terms/terms_storyformats.html story formats] in order to produce playable HTML files. Story formats provide different ways to display text and links in the browser, and special markup (or macros) in the source code to aid authors.
 
The default story formats for Twine 2 are:
 
* [https://twine2.neocities.org/ Harlowe]
* [https://www.motoslave.net/sugarcube/2/ Sugarcube]
* [https://videlais.github.io/snowman/#/ Snowman]
* [https://klembot.github.io/chapbook/ Chapbook]


{{stub}}
{{stub}}
Line 34: Line 45:
** [https://twinery.org/wiki/ Twine Wiki]
** [https://twinery.org/wiki/ Twine Wiki]
** [https://twinery.org/cookbook/ Twine Cookbook]
** [https://twinery.org/cookbook/ Twine Cookbook]
** [http://twinery.org/1/doc/ Writing With Twee]
** [http://twinery.org/1/doc/ Twee 1 docs]
** [https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md Twee 3 specification]
** [https://twinery.org/questions/ Twine Q&A]
** [https://twinery.org/questions/ Twine Q&A]
* [http://nickm.com/post/2009/07/twine-is-rolled-out/ Twine is Rolled Out] - Announcement on [[Nick Montfort]]'s Post Position blog; July 1, 2009.
* [http://nickm.com/post/2009/07/twine-is-rolled-out/ Twine is Rolled Out] - Announcement on [[Nick Montfort]]'s Post Position blog; July 1, 2009.

Revision as of 23:23, 4 August 2023

Twine
Authoring system
[[File:|385px|center]]
Links Home page Download Run online
Developer Chris Klimas
Format HTML
Interaction style Choice
Systems Browser, Windows, macOS, Linux
System details
Latest version 2.7.0 / 8 Jul 2023
Status Stable
Implements
Uses
Multimedia support same as HTML5
License GPL-3.0
Notes
Browse the software database
Edit this infobox

Twine is an authoring system for choice-based interactive fiction, developed by Chris Klimas. It outputs stories as HTML/CSS web pages.

Twine 2 is a browser-based app, while Twine 1 is a desktop app. Source files are not compatible between the two versions. Only Twine 2 is in active development as of 2023.

Twine 1 story files have a .tws file extension; output files are saved with a .html extension. Twine 2 uses HTML files as both source files and playable output files.

Twine 1 is also released with Twee, the command-line version of Twine. This allows Twine authors to use their own editors instead of Twine's interface, if they prefer. In 2019, the Twee 3 specification was released as a draft. Twine 2-compatible HTML files can be compiled from twee 3 source using tweego.

Story Formats

Twine requires story formats in order to produce playable HTML files. Story formats provide different ways to display text and links in the browser, and special markup (or macros) in the source code to aid authors.

The default story formats for Twine 2 are:

This article is a stub. You can help IFWiki by expanding it.

See also

Links

Authoring systems
By style ParserChoiceParser-choice hybrid
By system BrowserAndroidiOSLinuxmacOSWindows
Browse Stable authoring systemsSearch formDrilldown
Other software InterpretersUtilities