Exemplo n.º 1
0
    public void Setup(StoryboardObjectGenerator generator, FontGenerator font, int startTime, int endTime, string layerText, float x, float y, bool originCentre,
                      int fontSize, float textFade, int FadeIn, int FadeOut, Color4 textColor, bool showBox, float boxFade, Color4 boxColor, string layerBox, int sampleDelay, string sampleName,
                      DialogBoxes.Pointer pointer, DialogBoxes.Push push)
    {
        this.generator = generator;
        this.font      = font;

        this.x            = x;
        this.y            = y;
        this.fontSize     = fontSize;
        this.layerText    = layerText;
        this.layerBox     = layerBox;
        this.startTime    = startTime;
        this.endTime      = endTime;
        this.originCentre = originCentre;
        this.textColor    = textColor;
        this.boxColor     = boxColor;
        this.showBox      = showBox;
        this.boxFade      = boxFade;
        this.textFade     = textFade;
        this.sampleDelay  = sampleDelay;
        this.sampleName   = sampleName;
        this.pointer      = pointer;
        this.push         = push;
        this.FadeIn       = FadeIn;
        this.FadeOut      = FadeOut;

        // Generate(sentences, FadeIn, FadeOut);
    }
Exemplo n.º 2
0
        /* |||||||||||||||||||||||||||||||||||||||||||| ENGLISH SECTIONS |||||||||||||||||||||||||||||||||||||||||||| */

        public void EN_Section1()
        {
            this.fadeOutDelay = 50;
            this.timing       = new Timing();
            var font = FontGenerator("sb/dialog/txt/1", fontEN);

            this.font = font;

            // DIALOG 1 -----------------------------------------
            string[] sentence = { "Hello, and welcome to World TQR-f3!",
                                  "My name is -Tochi, and I will serve as",
                                  "your assistant for today's missions!" };

            this.showBox      = true;
            this.timing.start = 3245;
            this.timing.end   = 12475;
            this.position     = new Vector2(150, 190);
            this.push         = DialogBoxes.Push.Right;
            Dialog(sentence);

            // DIALOG 2 -----------------------------------------
            string[] sentence2 = { "Please, follow me!" };

            this.showBox      = true;
            this.timing.start = 14495;
            this.timing.end   = 15822;
            this.position     = new Vector2(370, 200);
            this.push         = DialogBoxes.Push.Left;
            Dialog(sentence2);

            // DIALOG 3 -----------------------------------------
            string[] sentence3 = { "I have assembled a team of mappers for you ",
                                   "that will help you complete this map. Do",
                                   "acquaint with them well, as your synergy will",
                                   "determine the final grading of your performance." };

            this.showBox      = true;
            this.timing.start = 16399;
            this.timing.end   = 26437;
            this.position     = new Vector2(390, 170);
            this.push         = DialogBoxes.Push.Left;
            Dialog(sentence3);

            // DIALOG 4 -----------------------------------------
            string[] sentence4 = { "In accordance to your performance on each section,",
                                   "points will be awarded. You can only complete the ",
                                   "map if your score surpasses 30,000." };

            this.fadeOutDelay = 100;
            this.showBox      = true;
            this.timing.start = 26783;
            this.timing.end   = 37168;
            this.position     = new Vector2(400, 170);
            this.push         = DialogBoxes.Push.Left;
            Dialog(sentence4);
        }
Exemplo n.º 3
0
    public DialogManager(StoryboardObjectGenerator generator, FontGenerator font, int startTime, int endTime, string layerText, float x, float y, bool originCentre,
                         int fontSize, float textFade, int FadeIn, int FadeOut, Color4 textColor, bool showBox, float boxFade, Color4 boxColor, string layerBox, int sampleDelay, string sampleName,
                         DialogBoxes.Pointer pointer, DialogBoxes.Push push, string[] sentences)
    {
        Setup(generator, font, startTime, endTime, layerText, x, y, originCentre,
              fontSize, textFade, FadeIn, FadeOut, textColor, showBox, boxFade, boxColor, layerBox, sampleDelay, sampleName,
              pointer, push);

        Generate(sentences, FadeIn, FadeOut);
    }
Exemplo n.º 4
0
        /* |||||||||||||||||||||||||||||||||||||||||||| JAPANESE SECTIONS |||||||||||||||||||||||||||||||||||||||||||| */

        public void JP_Section1()
        {
            this.fadeOutDelay = 50;
            this.timing       = new Timing();
            var font = FontGenerator("sb/dialog/txt/1/jp", fontJP);

            this.font = font;

            // DIALOG 1 -----------------------------------------
            string[] sentence = { "こんにちは、そして異世界TQR-f3にようこそ!",
                                  "私の名前は-Tochi、今日のミッションのために",
                                  "あなたのアシスタントを努めます!" };

            this.showBox      = true;
            this.timing.start = 3245;
            this.timing.end   = 12475;
            this.position     = new Vector2(130, 190);
            this.push         = DialogBoxes.Push.Right;
            Dialog(sentence);

            // DIALOG 2 -----------------------------------------
            string[] sentence2 = { "では、ついてきてください!" };

            this.showBox      = true;
            this.timing.start = 14322;
            this.timing.end   = 17091;
            this.position     = new Vector2(370, 205);
            this.push         = DialogBoxes.Push.Left;
            Dialog(sentence2);

            // DIALOG 3 -----------------------------------------
            string[] sentence3 = { "この譜面を終わらせるためにマッパーのチームを構成しました。",
                                   "彼たちと仲間になり、全員の協力によりあなたの業績が最終評価になります。" };

            this.showBox      = true;
            this.timing.start = 18476;
            this.timing.end   = 27706;
            this.position     = new Vector2(430, 170);
            this.push         = DialogBoxes.Push.Left;
            Dialog(sentence3);

            // DIALOG 4 -----------------------------------------
            string[] sentence4 = { "各セクションのあなたのプレイに従い、ポイントが与えられます。",
                                   "合計点数が30,000を超えるのみに譜面を完成出来ます。" };

            this.showBox      = true;
            this.timing.start = 28206;
            this.timing.end   = 37168;
            this.position     = new Vector2(400, 170);
            this.push         = DialogBoxes.Push.Left;
            Dialog(sentence4);
        }
Exemplo n.º 5
0
        public void JP_System()
        {
            this.timing = new Timing();
            var font = FontGenerator("sb/dialog/txt/system/jp", fontJP);

            this.font = font;

            // DIALOG 1 -----------------------------------------
            string[] sentence = { "準備してください!",
                                  "あなたのミッションはもうすぐ始まります。" };

            this.showBox      = true;
            this.timing.start = 40630;
            this.timing.end   = 48937;
            this.position     = new Vector2(40, 430);
            this.push         = DialogBoxes.Push.Right;
            Dialog(sentence);
        }
Exemplo n.º 6
0
        /* |||||||||||||||||||||||||||||||||||||||||||| SYSTEM DIALOGUES |||||||||||||||||||||||||||||||||||||||||||| */

        public void EN_System()
        {
            this.timing = new Timing();
            var font = FontGenerator("sb/dialog/txt/system", fontEN);

            this.font = font;

            // DIALOG 1 -----------------------------------------
            string[] sentence = { "Get ready!",
                                  "Your mission is about to begin." };

            this.showBox      = true;
            this.timing.start = 40630;
            this.timing.end   = 48937;
            this.position     = new Vector2(40, 430);
            this.push         = DialogBoxes.Push.Right;
            Dialog(sentence);
        }
Exemplo n.º 7
0
        public override void Generate()
        {
            langClass = new Language();

            if (Language == language.English)
            {
                langClass.chooseLanguage(true);

                if (langClass.setEnglish == true)
                {
                    Noffy();
                    this.fontSize     = 20;
                    this.glowRadius   = 0;
                    this.originCentre = true;
                    this.boxColor     = Color4.Black;
                    this.fontStyle    = FontStyle.Regular;
                    EN_System();

                    this.boxColor = Color4.White;
                    EN_Section1();

                    this.fontSize     = 15;
                    this.glowRadius   = 15;
                    this.fontStyle    = FontStyle.Bold;
                    this.glowColor    = new Color4(150, 150, 150, 255);
                    this.push         = DialogBoxes.Push.None;
                    this.showBox      = false;
                    this.originCentre = false;
                    EN_Section2();
                    EN_Section3();
                    EN_Section4();
                    EN_Section5();
                    EN_Section6();
                    EN_Section7();
                    EN_Section8();
                    EN_Section9();

                    Log("LANGUAGE ............ English");
                }
            }

            else if (Language == language.Japanese)
            {
                langClass.chooseLanguage(false);

                if (langClass.setEnglish == false)
                {
                    Reey();
                    this.fontSize     = 15;
                    this.glowRadius   = 0;
                    this.originCentre = true;
                    this.boxColor     = Color4.Black;
                    this.fontStyle    = FontStyle.Regular;
                    JP_System();

                    this.boxColor = Color4.White;
                    JP_Section1();

                    this.fontSize     = 13;
                    this.glowRadius   = 15;
                    this.fontStyle    = FontStyle.Bold;
                    this.glowColor    = new Color4(150, 150, 150, 255);
                    this.push         = DialogBoxes.Push.None;
                    this.showBox      = false;
                    this.originCentre = false;
                    JP_Section2();
                    JP_Section3();
                    JP_Section4();
                    JP_Section5();
                    JP_Section6();
                    JP_Section7();
                    JP_Section8();
                    JP_Section9();

                    Log("LANGUAGE ............ Japanese");
                }
            }
        }