Exemplo n.º 1
0
        public void Bucket()
        {
            string[] messageArray = new string[]
            {
                "How did I not see that it is broken. I’m an idiot."
            };

            SoundManager.PlaySound(SoundManager.Sound.bucket2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.03f, true, true);
        }
Exemplo n.º 2
0
        public void Cup()
        {
            string[] messageArray = new string[]
            {
                "There must have been something wrong with this water as well. I have been hallucinating since I had a sip."
            };

            SoundManager.PlaySound(SoundManager.Sound.cup3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.03f, true, true);
        }
Exemplo n.º 3
0
        public void Last()
        {
            string[] messageArray = new string[]
            {
                "There must be a way out of this valley. I will try the same spot I came from, I have no other chance."
            };

            SoundManager.PlaySound(SoundManager.Sound.last, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.03f, true, true);
        }
Exemplo n.º 4
0
        public void Change()
        {
            string[] messageArray = new string[]
            {
                "This area is haunted for sure. I have never seen anything like this. Are the plants grey? I HAVE to leave now."
            };

            SoundManager.PlaySound(SoundManager.Sound.grey, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.03f, true, true);
        }
Exemplo n.º 5
0
        public void Pear()
        {
            string[] messageArray = new string[]
            {
                "Did the same that happened to the plants also happen to the family?"
            };

            SoundManager.PlaySound(SoundManager.Sound.pear3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 6
0
        public void Trees()
        {
            string[] messageArray = new string[]
            {
                "What has happened out here? The trees are moving... but I cannot feel any wind! Wait! - Did the colours around me change? Maybe a thunderstorm is coming."
            };

            SoundManager.PlaySound(SoundManager.Sound.trees, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 7
0
        public void Cup()
        {
            string[] messageArray = new string[]
            {
                "Is this water making me feel strange? I hope it is not from the well…. No, the bottle was closed when I got here"
            };

            SoundManager.PlaySound(SoundManager.Sound.cup2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.03f, true, true);
        }
Exemplo n.º 8
0
        public void Crocus()
        {
            string[] messageArray = new string[]
            {
                "Ok, the flora around the house is going crazy.. I wonder... "
            };

            SoundManager.PlaySound(SoundManager.Sound.crocus2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 9
0
        public void Cemetery()
        {
            string[] messageArray = new string[]
            {
                "I feel like I saw something move. Wait, are the trees in the cemetery moving? I wonder who is buried there, but I am too scared to walk up to the gravestones!"
            };

            SoundManager.PlaySound(SoundManager.Sound.cemetery2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 10
0
        public void Pear()
        {
            string[] messageArray = new string[]
            {
                "These pears look as strange and disgusting as the apples... I cannot believe I ate one of these earlier.. wuaaah."
            };

            SoundManager.PlaySound(SoundManager.Sound.pear2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 11
0
        public void Tulip()
        {
            string[] messageArray = new string[]
            {
                "Such extraordinary colors! But it freaks me out...this area seems to be contaminated."
            };

            SoundManager.PlaySound(SoundManager.Sound.tulip2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 12
0
        public void Scene()
        {
            string[] messageArray = new string[]
            {
                "What is going on now? Everything is so colorful! It's sparkling and dancing. It looks beautiful but totally wrong. Is there radiation around here? Is that what the family was affected by? ",
            };

            SoundManager.PlaySound(SoundManager.Sound.szene2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 13
0
        public void Cemetery()
        {
            string[] messageArray = new string[]
            {
                "Well, if this whole valley is haunted I should definitley stay away from the cemetery. What if the family is buried right here next to me.. I need to get out of here!"
            };

            SoundManager.PlaySound(SoundManager.Sound.cemetery3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 14
0
        public void Bucket()
        {
            string[] messageArray = new string[]
            {
                "This broken bucket saved my life! Thank goodness I never got water out of the well."
            };

            SoundManager.PlaySound(SoundManager.Sound.bucket3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.03f, true, true);
        }
Exemplo n.º 15
0
        public void Tulip()
        {
            string[] messageArray = new string[]
            {
                "Black and rotten, like everything else around here. Everything is affected...I am scared. "
            };

            SoundManager.PlaySound(SoundManager.Sound.tulip3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 16
0
        public void Scene()
        {
            string[] messageArray = new string[]
            {
                "Oh my... things are getting serious. What the hell? How did I get into this. The colour... it looks like it sucked the life out of everything like a vampire.",
            };

            SoundManager.PlaySound(SoundManager.Sound.szene3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 17
0
        public void Crocus()
        {
            string[] messageArray = new string[]
            {
                "Ugh... no! This is way too creepy... "
            };

            SoundManager.PlaySound(SoundManager.Sound.crocus3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 18
0
        public void Diary()
        {
            string[] messageArray = new string[]
            {
                "I think I finally understand. They were haunted by this color. It creeped into them and made them go crazy. It nurtured from them like a parasite.",
            };
            SoundManager.PlaySound(SoundManager.Sound.book, control.GetPosition());
            SoundManager.PlaySound(SoundManager.Sound.diarypickup3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 19
0
        public void Letter()
        {
            string[] messageArray = new string[]
            {
                "This meteorite is the reason for all of it.",
            };
            SoundManager.PlaySound(SoundManager.Sound.book, control.GetPosition());
            SoundManager.PlaySound(SoundManager.Sound.letterpickup3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 20
0
        public void Apple()
        {
            string[] messageArray = new string[]
            {
                "The apple looks rotten and grey. Oh my... it looks like life got sucked out of it.",
            };

            SoundManager.PlaySound(SoundManager.Sound.apple3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 21
0
        public void Water()
        {
            string[] messageArray = new string[]
            {
                "Never again. It creeps inside you.",
            };


            SoundManager.PlaySound(SoundManager.Sound.water3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 22
0
        public void Water()
        {
            string[] messageArray = new string[]
            {
                "Since I drank this water, something is definitely different. There must be something in the well!",
            };


            SoundManager.PlaySound(SoundManager.Sound.water2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 23
0
        public void Letter()
        {
            string[] messageArray = new string[]
            {
                "I wonder if the meteorite has something to do with the absurd situation here. So many abnormal things are happening. But how could a meteorite affect nature like this? ",
            };

            SoundManager.PlaySound(SoundManager.Sound.book, control.GetPosition());
            SoundManager.PlaySound(SoundManager.Sound.letterpickup2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 24
0
        public void Something()
        {
            string[] messageArray = new string[]
            {
                "The whole flora seems to be affected by this mysterious hue. It looks like a whirlwind of color, it gives me the chills.",
            };

            SoundManager.PlaySound(SoundManager.Sound.pickup, control.GetPosition());
            SoundManager.PlaySound(SoundManager.Sound.flower2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 25
0
        public void Apple()
        {
            string[] messageArray = new string[]
            {
                "Now it looks as disgusting as it tastes. How did it change so quickly? ",
            };


            SoundManager.PlaySound(SoundManager.Sound.apple2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 26
0
        public void Diary()
        {
            string[] messageArray = new string[]
            {
                "I bet they suffered from the same illusions - am I hallucinating? Am I getting crazy just like them?",
            };

            SoundManager.PlaySound(SoundManager.Sound.book, control.GetPosition());
            SoundManager.PlaySound(SoundManager.Sound.diarypickup2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 27
0
        public void Key()
        {
            string[] messageArray = new string[]
            {
                "Nobody needs this anymore. No one should enter the house.",
            };

            SoundManager.PlaySound(SoundManager.Sound.pickup, control.GetPosition());
            SoundManager.PlaySound(SoundManager.Sound.key3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 28
0
        public void Something()
        {
            string[] messageArray = new string[]
            {
                "Everything is grey and dry. Spooky.",
            };

            SoundManager.PlaySound(SoundManager.Sound.pickup, control.GetPosition());
            SoundManager.PlaySound(SoundManager.Sound.flower3, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 29
0
        public void Key()
        {
            string[] messageArray = new string[]
            {
                "Now I get why they left the key... they just wanted to get away as fast as they could... "
            };

            SoundManager.PlaySound(SoundManager.Sound.pickup, control.GetPosition());
            SoundManager.PlaySound(SoundManager.Sound.key2, control.GetPosition());
            string message = messageArray[Random.Range(0, messageArray.Length)];

            textwriterSingle = Textwriter.AddWriter_Static(displayText, message, 0.05f, true, true);
        }
Exemplo n.º 30
0
    public void AddWriter(TextMeshProUGUI uiText, string textToWrite, float timePerCharacter, bool invisibleCharacter, Action onComplete)
    {
        TextWriterSingle text = new TextWriterSingle(uiText, textToWrite, timePerCharacter, invisibleCharacter, onComplete);

        textWriterSingleList.Add(text);
    }