Example #1
0
 public override void Ctrl()
 {
     base.Ctrl();
     if (this.Time == this.NameTime && this.LastTime < this.Time)
     {
         this.CharN = new CharacterName(this.StageData, "ename_Seiryuu");
         StoryEmitterStar storyEmitterStar = new StoryEmitterStar(this.StageData, this.CharN.Position, 0.0f, 0.0);
         this.LastTime = this.Time;
     }
     else if (this.Time == this.MusicTime && this.LastTime < this.Time)
     {
         this.StageData.ChangeBGM(".\\BGM\\Boss03.wav", 0, 0, (int)byte.MaxValue, 1286397, 6275430);
         this.LastTime = this.Time;
     }
     else
     {
         if (this.Time != this.Conv.Count)
         {
             return;
         }
         MusicTitle musicTitle = new MusicTitle(this.StageData, "青柳传说", new Point(this.BoundRect.Width, this.BoundRect.Height - 16));
         musicTitle.OriginalPosition = new PointF((float)this.BoundRect.Width, (float)(this.BoundRect.Height + 100));
         musicTitle.Scale            = 0.5f;
         this.Boss.Enabled           = true;
         this.SBox.Dispose();
         this.Story = (BaseStory)null;
         EmitterBossFire emitterBossFire = new EmitterBossFire(this.StageData, this.Boss.OriginalPosition, Color.FromArgb(40, (int)byte.MaxValue, 20));
         new MagicCircle(this.StageData, "MagicCircleSix").Scale = 1.5f;
         this.Background3D.WarpEnabled = true;
     }
 }
Example #2
0
        public Story_SSS02_01(StageDataPackage StageData)
            : base(StageData)
        {
            CharacterR_Touhou characterRTouhou = new CharacterR_Touhou(StageData, "FaceRakuki_no");

            characterRTouhou.TxtureObject2    = this.TextureObjectDictionary[" "];
            characterRTouhou.OriginalPosition = new PointF((float)(this.BoundRect.Width - 60), 380f);
            this.CharR = characterRTouhou;
            CharacterL_Touhou characterLTouhou = new CharacterL_Touhou(StageData, "FaceAya_no");

            characterLTouhou.TxtureObject2 = this.TextureObjectDictionary["FaceAya_base"];
            this.CharL = characterLTouhou;
            this.SBox  = new StoryBox(StageData);
            this.CharN = new CharacterName(StageData, "ename_Rakuki");
            StoryEmitterStar storyEmitterStar = new StoryEmitterStar(StageData, this.CharN.Position, 0.0f, 0.0);

            this.Conv.Add(new Conversation("。。。", false, true, "FaceAya_no", "FaceRakuki_no"));
            this.Conv.Add(new Conversation("。。。。。。", true, false, "FaceAya_no", "FaceRakuki_no"));
            this.Conv.Add(new Conversation("四只老鼠在吹牛:", false, true, (string)null, "FaceRakuki_no2"));
            this.Conv.Add(new Conversation("甲:我每天都拿鼠药当糖吃;", false, true, (string)null, "FaceRakuki_hp"));
            this.Conv.Add(new Conversation("乙:我一天不踩老鼠夹脚发痒;", false, true, (string)null, "FaceRakuki_no"));
            this.Conv.Add(new Conversation("丙:我每天不过几次大街不踏实;", false, true, (string)null, "FaceRakuki_an"));
            this.Conv.Add(new Conversation("丁:时间不早了,回家抱猫去咯。", false, true, (string)null, "FaceRakuki_bk"));
            this.Conv.Add(new Conversation("@画师,我需要一个泪奔的表情", true, false, "FaceAya_lo", (string)null));
        }
Example #3
0
        public Story_SSS01_01(StageDataPackage StageData)
            : base(StageData)
        {
            CharacterR_Touhou characterRTouhou = new CharacterR_Touhou(StageData, "FaceAmi01");

            characterRTouhou.TxtureObject2    = this.TextureObjectDictionary[" "];
            characterRTouhou.OriginalPosition = new PointF((float)(this.BoundRect.Width - 60), 380f);
            this.CharR = characterRTouhou;
            CharacterL_Touhou characterLTouhou = new CharacterL_Touhou(StageData, "FaceAya_no");

            characterLTouhou.TxtureObject2 = this.TextureObjectDictionary["FaceAya_base"];
            this.CharL = characterLTouhou;
            this.SBox  = new StoryBox(StageData);
            this.CharN = new CharacterName(StageData, "ename_Ami");
            StoryEmitterStar storyEmitterStar = new StoryEmitterStar(StageData, this.CharN.Position, 0.0f, 0.0);

            this.Conv.Add(new Conversation("。。。", false, true, "FaceAya_no", "FaceAmi01"));
            this.Conv.Add(new Conversation("。。。。。。", true, false, "FaceAya_no", (string)null));
            this.Conv.Add(new Conversation("从前有座山,", false, true, (string)null, "FaceAmi01"));
            this.Conv.Add(new Conversation("山上有座庙,", false, true, (string)null, "FaceAmi01"));
            this.Conv.Add(new Conversation("庙里有只文文在卖报,", false, true, (string)null, "FaceAmi01"));
            this.Conv.Add(new Conversation("。。。。。。", true, false, "FaceAya_sw", (string)null));
            this.Conv.Add(new Conversation("报上写着,", false, true, (string)null, "FaceAmi02"));
            this.Conv.Add(new Conversation("从前有座山,山上有座庙,庙里有只文文在卖报", false, true, (string)null, "FaceAmi03"));
            this.Conv.Add(new Conversation("报上写着,", false, true, (string)null, "FaceAmi04"));
            this.Conv.Add(new Conversation("从前有座山,山上有座庙,庙里有只文文在卖报", false, true, (string)null, "FaceAmi05"));
            this.Conv.Add(new Conversation("报上写着,", false, true, (string)null, "FaceAmi06"));
            this.Conv.Add(new Conversation("喂,有完没完了", true, false, "FaceAya_sw", (string)null));
            this.Conv.Add(new Conversation("好了,开打吧", false, true, (string)null, "FaceAmi07"));
        }
Example #4
0
        public override void Ctrl()
        {
            base.Ctrl();
            if (this.Time == 3 && this.LastTime < this.Time)
            {
                this.LastTime = this.Time;
                this.CharN    = new CharacterName(this.StageData, "ename_Ami");
                StoryEmitterStar storyEmitterStar = new StoryEmitterStar(this.StageData, this.CharN.Position, 0.0f, 0.0);
            }
            if (this.Time == 15 && this.LastTime < this.Time)
            {
                this.LastTime = this.Time;
                this.StageData.ChangeBGM(".\\BGM\\Boss01.wav", 0, 0, (int)byte.MaxValue, 754110, 3294270);
            }
            if (this.Time != this.Conv.Count)
            {
                return;
            }
            StageDataPackage stageData = this.StageData;
            Rectangle        boundRect = this.BoundRect;
            int width1 = boundRect.Width;

            boundRect = this.BoundRect;
            int        y           = boundRect.Height - 16;
            Point      DestPoint   = new Point(width1, y);
            MusicTitle musicTitle1 = new MusicTitle(stageData, "喧闹吧!在这不眠之夜", DestPoint);
            MusicTitle musicTitle2 = musicTitle1;

            boundRect = this.BoundRect;
            double width2 = (double)boundRect.Width;

            boundRect = this.BoundRect;
            double num    = (double)(boundRect.Height + 100);
            PointF pointF = new PointF((float)width2, (float)num);

            musicTitle2.OriginalPosition = pointF;
            musicTitle1.Scale            = 0.5f;
            this.Boss.Enabled            = true;
            this.SBox.Dispose();
            this.Story = (BaseStory)null;
            EmitterBossFire emitterBossFire = new EmitterBossFire(this.StageData, this.Boss.OriginalPosition, Color.FromArgb(40, (int)byte.MaxValue, 20));

            new MagicCircle(this.StageData, "MagicCircleSix").Scale = 1.5f;
            this.Background3D.WarpEnabled = true;
        }
Example #5
0
        public Story_SSS03_01X(StageDataPackage StageData)
            : base(StageData)
        {
            CharacterR_Touhou characterRTouhou = new CharacterR_Touhou(StageData, "FaceSeiryuu_no");

            characterRTouhou.TxtureObject2    = this.TextureObjectDictionary[" "];
            characterRTouhou.OriginalPosition = new PointF((float)(this.BoundRect.Width - 60), 380f);
            this.CharR = characterRTouhou;
            CharacterL_Touhou characterLTouhou = new CharacterL_Touhou(StageData, "Myplane");

            characterLTouhou.TxtureObject2 = this.TextureObjectDictionary["Myplane"];
            this.CharL = characterLTouhou;
            this.SBox  = new StoryBox(StageData);
            this.CharN = new CharacterName(StageData, "ename_Seiryuu");
            StoryEmitterStar storyEmitterStar = new StoryEmitterStar(StageData, this.CharN.Position, 0.0f, 0.0);

            this.Conv.Add(new Conversation("。。。", false, true, "Myplane", "FaceSeiryuu_no"));
            this.Conv.Add(new Conversation("。。。。。。", true, false, "Myplane", "FaceSeiryuu_no"));
        }