Add prologue, two story boxes

This commit is contained in:
henriquenakashima 2020-09-27 22:36:10 -04:00
parent 8119482922
commit 3b9a6f361d
10 changed files with 87 additions and 13 deletions

View 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.
}
}