示例#1
0
        public override void Ctrl()
        {
            base.Ctrl();
            if (this.Time != this.Conv.Count)
            {
                return;
            }
            this.Boss.Enabled = true;
            this.StageData.ChangeBGM(".\\BGM\\Boss03.wav", 0, 0, (int)byte.MaxValue, 1286397, 6275430);
            StageDataPackage stageData  = this.StageData;
            Rectangle        boundRect1 = this.BoundRect;
            int width1 = boundRect1.Width;

            boundRect1 = this.BoundRect;
            int        y           = boundRect1.Height - 16;
            Point      DestPoint   = new Point(width1, y);
            MusicTitle musicTitle1 = new MusicTitle(stageData, "青柳传说", DestPoint);
            MusicTitle musicTitle2 = musicTitle1;
            Rectangle  boundRect2  = this.BoundRect;
            double     width2      = (double)boundRect2.Width;

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

            musicTitle2.OriginalPosition = pointF;
            musicTitle1.Scale            = 0.5f;
            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;
        }
示例#2
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;
     }
 }
示例#3
0
        public override void Ctrl()
        {
            ++this.tCount;
            if (this.Time < this.tCount / this.circle)
            {
                ++this.Time;
            }
            base.Ctrl();
            if (this.Time == this.NameTime && this.LastTime < this.Time)
            {
                this.LastTime = this.Time;
            }
            else if (this.Time == this.MusicTime && this.LastTime < this.Time)
            {
                this.LastTime = this.Time;
            }
            if (this.Time != this.Conv.Count)
            {
                return;
            }
            this.Boss.Enabled = true;
            this.SBox.Dispose();
            this.Story = (BaseStory)null;
            EmitterBossFire emitterBossFire = new EmitterBossFire(this.StageData, this.Boss.OriginalPosition, Color.FromArgb(144, (int)byte.MaxValue, 120));

            new MagicCircle(this.StageData, "MagicCircleSix").Scale = 1.5f;
            this.Background3D.WarpColorKey = 2;
            this.Background3D.WarpEnabled  = true;
        }
示例#4
0
        public override void Ctrl()
        {
            base.Ctrl();
            if (this.Time == this.NameTime && this.LastTime < this.Time)
            {
                this.CharN    = new CharacterName(this.StageData, "ename_Rika");
                this.LastTime = this.Time;
            }
            else if (this.Time == this.MusicTime && this.LastTime < this.Time)
            {
                this.StageData.ChangeBGM(".\\BGM\\BossEx.wav", 0, 0, (int)byte.MaxValue, 1125873, 10783332);
                this.LastTime = this.Time;
            }
            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.Yellow);

            new MagicCircle(this.StageData, "MagicCircleSix").Scale = 1.5f;
            this.Background3D.WarpEnabled = true;
        }
示例#5
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;
        }