This is an old revision of the document!
Twine 2 wishlist
This is a private page for Leon to brainstorm the features he wants in Twine 2, then frown discontentedly at them.
Syntax highlighting that is equivalent to Twine 1.
The passage editor's “Silent Area” - a section separate from the main text of a passage, where macros can be run with impugnity. Works very well with the “separation of text and control” that hooks afford - the notion of setting up hooks, then defining functionality to them.
A possible tags alternative: regions. Anything within a specific drawn rectangle on the Story Map is considered to be “tagged” with that rectangle's name.
Game Engine (Harlowe)
Some way of specifying stretchtext on a per-passage basis, or possibly a per-link basis. If a passage is a “stretch”, it appears below the last, instead of replacing and removing it.
Less ugly macro syntax than « and », maybe. Nothing springs to mind, though. Maybe Smalltalk's (|set $a to 1|) ? or ~set $a to 1~ ?
“Block syntax” for macros - using multiple macros in a row without opening and closing symbols separating them.
Named parameters for macro parameters? «cyclinglink var:$red text:[“Cool”, “Warm”, “Hot”]» ? (It worked for HTML
A sigil for passages
- a way of passing passages around as easily as variables - «print»ing them akin to «display», eliminating the need for separate macros.
"Passage the Ultimate"
Passage the Ultimate Template
: this already exists in Twine 1 in the form of the “widget pattern” popularised by SugarCube, and canonised by Twine 1.4's shorthand <<display>>
and parameter() function
. Whether or not people are using it, though…
Passage the Ultimate Array
: An immutable array of strings in the form of a passage.
Obviously impractical for one-use datasets, but for multi-use data…
Passage the Ultimate Documentation
: See annotation
s in Twine 1.
Passage the Ultimate Stylesheet
: a passage full of «render» macros that get used for the whole story. Not a CSS
alternative, but an accessible alternative.
Passage the Ultimate Abstract Asset: Twine 1 already regards images, stylesheets and scripts as passages.