Doss Academy
Skip to learning content

Lesson Notes — Building a Branching Story in Twine

Course 2: Game Design & Development Principles / Unit 5: Game Design Storytelling & Nonlinear Narratives / Lesson 6: Building a Branching Story in Twine

Save your work every day: Export your story and save it to Google Drive at the end of every class. Twine only saves your story in the browser on the laptop you are using, and you may not get the same laptop next time.

Lesson overview

Twine is a free tool for building non-linear, branching stories. A Twine story is made of passages. Each passage holds some story text and the choices the player can pick. Each choice leads to another passage. Today you watch a walkthrough using a trip to the DMV, then start your own game.

Step 1: Create a new story

Go to twinery.org (opens in a new tab), open Twine, and create a new story.

Step 2: Write the first passage

Start with the moment the story begins. In the example, you are arriving at the DMV to get your learner’s permit. Describe:

  • The excitement of the day.
  • The preparation that went into getting ready.
  • Who drove you.
  • What the day was like: what you see, hear and smell.

Step 3: Add choices

After the dialogue, add choices for the player. A choice starts with [[ and ends with ]]. Each choice creates a new passage that branches from the original passage.

Example from the DMV story:

  • [[Get out of the car and join the line]]
  • [[Go back home and study more]]
  • [[Skip the line and ask someone what to do]]
  • [[Check if anyone had made an appointment]]

Make your choices meaningful

  • Give the player 4 choices.
  • The choices need to be meaningfully different from each other. Each should send the story somewhere new.
  • Some choices can lead into mysteries. In the example, the last choice hints at a problem ahead: what if no one made an appointment?

Step 4: Build out the new passages

Open each of the 4 new passages. Write its dialogue and give it more choices.

Step 5: Send a choice to a passage that already exists

Two paths can lead to the same outcome. To point a choice at a passage you already made, put the choice text, then ->, then the exact name of that passage:

[[Wait for your name to be called->Get out of the car and join the line]]

Step 6: Export and save to Google Drive

  1. Export your story from Twine as an .html file (in current versions of Twine: Build, then Publish to File).
  2. Upload the file to your Google Drive.

Twine in a web browser saves your work in that browser only. Export and save to Google Drive at the end of every class so you do not lose your work.

Your turn

Use the time left in class to start your own Twine game.

Check your understanding

  1. What symbols do you put around a choice in Twine?
  2. What happens in your story map when you add a new choice?
  3. Write 4 choices for the opening of your own story. How is each one different?
  4. How do you send a choice to a passage that already exists?

Use this lesson’s Key Terms page to build your glossary.

Discuss and submit in Google Classroom

Use this site to read, watch, and get shared learning materials. Keep completed work, questions, and comments in your class on Google Classroom.

Open Google Classroom

Choose your class and the assignment named by your teacher.