Add prologue, two story boxes
This commit is contained in:
parent
8119482922
commit
3b9a6f361d
10 changed files with 87 additions and 13 deletions
30
Assets/Story/Scenes/Scene_Prologue_First.cs
Normal file
30
Assets/Story/Scenes/Scene_Prologue_First.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Scene_Prologue_First: StoryScene {
|
||||
public override IEnumerator Play(StoryDisplay storyDisplay) {
|
||||
yield return new WaitForSeconds(1f);
|
||||
yield return storyDisplay.DisplayText("Are you going out again?", DialogPosition.Left);
|
||||
yield return new WaitForSeconds(1f);
|
||||
yield return storyDisplay.DisplayText("Yes.", DialogPosition.Right);
|
||||
yield return new WaitForSeconds(1f);
|
||||
yield return storyDisplay.DisplayText(
|
||||
"Do you not get bored of doing the same things over and over? Seeing the same people, dealing with the same problems?",
|
||||
DialogPosition.Left);
|
||||
yield return new WaitForSeconds(1f);
|
||||
yield return storyDisplay.DisplayText(
|
||||
"Sometimes I feel like I'm imprisoned in my own life. Like I'm stuck in it, passing the time, until it ends.",
|
||||
DialogPosition.Left);
|
||||
yield return storyDisplay.DisplayText(
|
||||
"Life is finite, after all. There is only so much you can do in it.",
|
||||
DialogPosition.Left);
|
||||
yield return new WaitForSeconds(2f);
|
||||
yield return storyDisplay.DisplayText(
|
||||
"Finite in time, yes. But infinite in possibilities.",
|
||||
DialogPosition.Right);
|
||||
yield return new WaitForSeconds(2f);
|
||||
|
||||
// TODO: Transition to Chapter 1.
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue