anxiety/scenes/intro.md

105 lines
2.7 KiB
Markdown
Raw Normal View History

2019-03-17 18:41:19 +00:00
# intro
2019-04-18 11:40:22 +00:00
`SceneSetup.intro();`
# intro-play-button
2019-09-06 17:34:09 +00:00
```
_.PLAYED_BEFORE = !!window.localStorage.continueChapter;
```
{{if !_.PLAYED_BEFORE}}
`Game.OVERRIDE_FONT_SIZE=30;`
{{/if}}
{{if !_.PLAYED_BEFORE}}
[PLAY!](#intro-start) `publish("intro-to-game-1"); Game.OVERRIDE_CHOICE_LINE=true;`
{{/if}}
{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="act2"}}
[CONTINUE: The Party](#act2) `publish("LOAD_GAME", ["act2"]); Game.OVERRIDE_CHOICE_LINE=true;`
{{/if}}
{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="act3"}}
[CONTINUE: The Other Party](#act3) `publish("LOAD_GAME", ["act3"]); Game.OVERRIDE_CHOICE_LINE=true;`
{{/if}}
{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="act4"}}
[CONTINUE: The Other Sandwich](#act4) `publish("LOAD_GAME", ["act4"]); Game.OVERRIDE_CHOICE_LINE=true;`
{{/if}}
{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="replay"}}
2019-07-30 20:17:36 +00:00
`Game.OVERRIDE_FONT_SIZE=30;`
2019-09-06 17:34:09 +00:00
{{/if}}
{{if _.PLAYED_BEFORE && window.localStorage.continueChapter=="replay"}}
[REPLAY!](#intro-start) `publish("intro-to-game-1"); Game.OVERRIDE_CHOICE_LINE=true;`
{{/if}}
{{if _.PLAYED_BEFORE}}
[Chapter Select](#chapter-select) `Game.OVERRIDE_CHOICE_LINE=true;`
{{/if}}
[(content notes)](#content-notes) `Game.OVERRIDE_CHOICE_LINE=true;`
# chapter-select
`publish("HACK_chselect");`
[I. The Sandwich](#intro-start) `publish("HACK_chselect_end"); publish("intro-to-game-1"); Game.OVERRIDE_CHOICE_LINE=true;`
[II. The Party](#act2) `publish("HACK_chselect_end"); publish("LOAD_GAME", ["act2"]); Game.OVERRIDE_CHOICE_LINE=true;`
{{if window.localStorage.act3}}
[III. The Other Party](#act3) `publish("HACK_chselect_end"); publish("LOAD_GAME", ["act3"]); Game.OVERRIDE_CHOICE_LINE=true;`
{{/if}}
{{if !window.localStorage.act3}}
[III. The Other Party]()
{{/if}}
{{if window.localStorage.act4}}
[IV. The Other Sandwich](#act4) `publish("HACK_chselect_end"); publish("LOAD_GAME", ["act4"]); Game.OVERRIDE_CHOICE_LINE=true;`
{{/if}}
{{if !window.localStorage.act4}}
[III. The Other Sandwich]()
{{/if}}
[V. Credits](#credits) `publish("HACK_chselect_end"); stopAllSounds(); Game.OVERRIDE_CHOICE_LINE=true;`
2019-05-05 19:56:00 +00:00
2019-09-06 17:34:09 +00:00
[(main menu)](#intro-play-button) `publish("HACK_chselect_end"); Game.OVERRIDE_CHOICE_LINE=true;`
2019-04-18 11:40:22 +00:00
# intro-start
2019-04-29 15:35:25 +00:00
(...500)
`clearText()`
2019-08-24 16:57:09 +00:00
n3: Welcome! This is less of a "game", more of an interactive story. Hope you like reading, sucka!
2019-04-29 15:35:25 +00:00
2019-05-02 15:55:41 +00:00
n3: So before we start, how would *you* like to read?
2019-04-29 15:35:25 +00:00
`publish("show_options_bottom")`
# intro-start-2
2019-05-05 19:56:00 +00:00
n3: Great! Note: you can always change text/audio options with the ⚙ icon below.
2019-04-29 15:35:25 +00:00
2019-05-02 15:55:41 +00:00
n3: Now, let's begin our story...
2019-04-24 19:42:13 +00:00
`clearText()`
2019-04-18 11:40:22 +00:00
2019-04-29 15:35:25 +00:00
(...1000)
`publish("intro-to-game-2")`
n2: THIS IS A HUMAN
2019-04-18 11:40:22 +00:00
(...600)
`clearText()`
(...300)
2019-05-06 00:53:36 +00:00
`publish("intro-to-game-3")`