Twine is an excellent tool for creating branching narratives. These narratives can be as simple as choice-based narratives a la Choose Your Own Adventure books or deep interactive media-based experiences.
This comprehensive tutorial series aims to teach you Twine from the ground up. The series assumes you have no Twine experience or even coding experience. Follow along at your leisure.
While you can jump around, the tutorials are meant to be followed in sequential order.
Note: Since I started this tutorial series, Twine had a major user interface upgrade. I am in the process of updating all the screenshots. That said – the code still works fine.
Getting Started
- Twine Overview
- Your First Story
- Adding More Locations
- Coding with Variables
- Getting the Player’s Name
Adding Complexity
- Creating a Basic Inventory
- Branching Your Narrative in Code
- Getting Loopy with Loops
- Defining In-Game Objects
- Building an Advanced Inventory
Building Out the Story
- Linking Inventory Items
- Picking up & Placing Items
- Randomizing Object Locations
- Using Game Objects
- Creating a Wandering NPC
- Winning and Losing
Finishing Touches
- Adding Images
- Incorporating Music and Sound Effects
- Changing the Story Appearance
- Saving and Loading the Story
- Understanding Twine Documentation