Teaching Twine: Part 2

I think I’m probably going to make two more videos in this series. As it is, I’m quickly running out of material to cover other than combinations of what I have shown so far and some tricks for changing the visual style I’ve learn. Most of the work for creating an interesting story, I’ve found, comes not from learning more tools, but finding creative ways to work with the ones you have.

That written, in this video I cover choices, variables, and basic conditional statements. In my opinion, choices are very straight-forward and act exactly as you think they would. Variables and conditionals, on the other hand, can be trickier. Twine adds some non-standard tokens into basic JavaScript that can make some tasks easier, but makes others very hard. (For the full list of the additional conditionals, go here.)

(Note: Like you, I’m learning Twine as I make more projects too. The latest one can be found here. And, of course, I’m releasing weekly projects on my Tumblr account too.)

2 thoughts on “Teaching Twine: Part 2

  1. David

    Do you know if Twine can do (Greater than) or (Less than) conditionals? It doesn’t seem to work to include a “>” instead of “eq”, mostly likely due to the use of <> which is confusing it. How do I get around this?

    1. Dan Cox

      I just realized I never answered your question here. If you haven’t already seen it, the Twine documentation has a list of the keywords to use for less-than and greater-than. Basically, just “lt” and “gt” for less-than and greater-than respectively.

Comments are closed.