Last week we talked about points and how to use them to branch. Today we will talk about gains which can be used to branch as well. I will show you a couple of ways you can branch gains and gotos. Remember we did use gotos to branch as well last week.
Let's set up a scenario. Our MC (Hadley) has a chance to go to three different locations and based on where she went other characters later on can ask her questions. HADLEY (think) (Where do I want to go?) choice "The park"{ goto park gain park } "Shopping"{ goto shopping gain shopping } "Beach"{ goto beach gain beach } label park Write whatever happens at the park here label shopping Write whatever happens at the mall. label beach Write whatever happens at the beach. Now let's us skip ahead a week. JAZZY (talk_excited) Where did you go last week? if (park) { HADLEY (talk_apathetic) I went to the park. } elif (shopping) HADLEY (talk_apathetic) I went to the mall. } else { HADLEY (talk_apathetic) I went to the beach.
0 Comments
|
AuthorsWe will be posting everything from updates to in depth writing and directing tips on here. ArchivesCategories |