There are some special commands you can include in your script to make your stories interactive.  We have some examples of this in the Example Script: Basic Choices.

 

The most basic concept is “choice” which allows the user to make a choice by tapping buttons on screen. When the user makes a choice, they will then only see the part of the script associated with that choice.  Example:

 

HAYES

Hi there.

 

choice

“Hi” {

 

SARAH

Hi back

 

HAYES

You’re friendly.

 

} “Go away” {

 

SARAH

Leave me alone Hayes.

I have to study.

Plus you smell.

}

 

HAYES

Alright. Talk to you later

 

The text in quotes will appear on the buttons for the player to tap. The dialog in-between the braces will be shown if the player makes the corresponding choice. After the choice, the two separate branches merge back together, so no matter what you choose all users will see the “Alright. Talk to you later line.”