Hi everyone,
I was just wondering if there's any way at the moment to port old macros into 2. I like 2 especially since I just set my laptop to linux, so I want to keep using it, but I don't really know if it's possible to do anything like replace and cycle in the new system.
Edit: revised title for better specificity, forum etiquette lapse.
Comments
The Story Format you select controls the format of a macro and what built-in macros exist, currently none of the 1.4.2 story formats have been converted to work with the alpha version of Twine 2.
Consider this: This can be written in Twine 2 as: The intended advantage of the second form is that the initial state of the sentence ("Goldstein! You're beside yourself with shock.") is more easily visible in Twine 2. The passage code thus reads more like how the reader will perceive it. (You may note, however, that the first form still seems a little easier to dash off from an authorly perspective. I'm still considering how to approach this.)
Although, some macros don't quite have fitting equivalents yet: This can sort-of be done using this: but this is unsightly code which I do not recommend.
The main issue with implementing <<cycle>> and <<cyclinglink>> is determining how the 'state' would be stored. In the above, the author must manage the state manually, regrettably.
I might in future versions implement this as a possibility: