Twee2 is a system for writing web-based interactive fiction in the "Choose Your Own Adventure" style (but it can do a lot more than that, too). It's built on top of Twine, but instead of Twine's graphical editing system Twee2 works with your favourite text editor and tools, making it more-suitable for power users, advanced Twine authors, and those with a programming background.
::StoryTitle Choosing Your Own CYOA ::Start ### Choose Your Own CYOA #### A demonstrative adventure You sit at your computer and contemplate how you're going to write your next HTML adventure game. You wrote your last one [using Twine->Twine], but you've heard good things about [Twee2], as well. ::Twine You decide to stick with what you know and use Twine. That's fine: it's a great system and it's easy to use, especially for beginners. Maybe next time you'll be ready to try Twee2! **THE END** [Play again?->Start] ::Twee2 You decide to write your latest adventure using Twee2. You find that you're able to use all of the things you're familiar with from Twine, but you also get to use your favourite text editor, break up your work into multiple files, mark up content using modern languages, and preview in a separate browser while you work. **THE END** [Play again?->Start]
Twee2 and Twine 2 produce the same output. They differ only in how you, the author, work to produce that output:
Feature | Twine 2 | Twee2 |
---|---|---|
Editor | Web-based "drag-and-drop" editor | Your favourite text editor |
Story formats supported | Harlowe, Paperthin, Snowman, SugarCube, and any custom ones you add | Harlowe, Paperthin, Snowman, SugarCube, and any custom ones you add |
Files saved to... | Twine 2's own store (can be exported elsewhere) | Wherever you like |
Inputs | Twine 2 files | Twee2 files, Twee files, Twine 2 files (except on Windows) |
Outputs | Twine 2 web pages | Twine 2 web pages |
Supported formatting languages | Markdown | Markdown, HAML |
Supported additional languages | CSS, Javascript | CSS, Javascript, SASS/SCSS, Coffeescript |
Simultaneous working | No | Yes, using includes and/or source control |
Source control support | No/barely | Yes, use your favourite source control |
Can split work into multiple files | No | Yes |
Regeneration-on-save | No | Yes, with 'watch' command |