3 ms·
For people who prefer the ol' text-editor-and-compiler workflow to a pretty web-based tool, there's a command-line compiler for Twine stories called Tweego[1].
by thristian 7y ago
For people who prefer the ol' text-editor-and-compiler workflow to a pretty web-based tool, there's a command-line compiler for Twine stories called Tweego[1]. It can compile a source file in the Twee v3 format[2] to a single HTML file that includes the plain-text markup and the JS "story format" engine that parses the markup, renders it to HTML, maintains state, etc.
Tweego comes with the same three default story formats that Twine comes with: Harlowe[3], the basic default; Sugarcube[4], designed to provide a smooth upgrade from Twine v1; and Snowman[5], designed to be extended with JavaScript and CSS. I've dabbled a bit with Harlowe, and while it's flexible and powerful, I found it a bit underwhelming as an actual markup language, especially after growing used to Markdown.
If I ever write another Twine story, I'm going to try Chapbook[5], which is actually based on Markdown, or maybe event try writing my own engine.
[1]: https://www.motoslave.net/tweego/ https://www.motoslave.net/tweego/
[2]: https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md https://github.com/iftechfoundation/twine-specs/blob/master/...
[3]: https://twine2.neocities.org/ https://twine2.neocities.org/
[4]: https://www.motoslave.net/sugarcube/2/docs/ https://www.motoslave.net/sugarcube/2/docs/
[5]: https://klembot.github.io/chapbook/guide/ https://klembot.github.io/chapbook/guide/
- vidugavia 7y agoChapbook looks nice, but even after first glance I see a lot of things potentially missing, such as possibility to redirect to "death passage" from each passage if health drops below zero. Maybe it will be developed in that direction, but for now I feel Snowman should be a default choice for any developer trying out Twine, because you basically code everything in JS.