public BackgroundBossEx(StageDataPackage StageData) : base(StageData, (string)null, new PointF(0.0f, 0.0f), 0.0f, 0.0) { new BackgroundMove2(StageData, "底面").DirectionDegree = 90.0; BackgroundSC backgroundSc = new BackgroundSC(StageData, "中层"); BackgroundRotate backgroundRotate1 = new BackgroundRotate(StageData, "最上"); backgroundRotate1.DirectionDegree = 90.0; backgroundRotate1.TransparentValueF = 128f; backgroundRotate1.Scale = 1f; backgroundRotate1.Active = false; backgroundRotate1.AngularVelocityDegree = 0.5f; BackgroundRotate backgroundRotate2 = backgroundRotate1; backgroundRotate2.EventGroupList = new List <EventGroup>(); backgroundRotate2.EventsExecutionList = new List <Execution>(); EventGroup eventGroup = new EventGroup(); eventGroup.index = 0; eventGroup.tag = "0"; eventGroup.t = 200; eventGroup.addtime = 200; Event @event = new Event(); @event.EventString = "当前帧=1:不透明度变化到5,正弦,200"; @event.String2BulletEvent(); eventGroup.EventList.Add(@event); backgroundRotate2.EventGroupList.Add(eventGroup); }
public SpellCard_SSS03_02(StageDataPackage StageData) : base(StageData) { if (this.Difficulty < DifficultLevel.Hard) { this.SC_Name = "火光「火精灵之灾」"; } else { this.SC_Name = "火光「午夜的大火灾」"; } this.BaseScore = 20000000L; this.Boss.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 120); this.Boss.Velocity = 4f; StageData.SoundPlay("se_cat00.wav"); BackgroundRotate backgroundRotate1 = new BackgroundRotate(StageData, "Card03b"); backgroundRotate1.Scale = 1.3f; backgroundRotate1.TransparentValueF = (float)byte.MaxValue; backgroundRotate1.AngularVelocityDegree = -0.5f; BackgroundRotate backgroundRotate2 = new BackgroundRotate(StageData, "Card03a"); backgroundRotate2.DirectionDegree = 90.0; backgroundRotate2.TransparentValueF = 155f; backgroundRotate2.Scale = 1f; backgroundRotate2.Active = false; backgroundRotate2.AngularVelocityDegree = 0.0f; BackgroundRotate backgroundRotate3 = backgroundRotate2; backgroundRotate3.EventGroupList = new List <EventGroup>(); backgroundRotate3.EventsExecutionList = new List <Execution>(); EventGroup eventGroup = new EventGroup(); eventGroup.index = 0; eventGroup.tag = "0"; eventGroup.t = 200; eventGroup.addtime = 200; Event @event = new Event(); @event.EventString = "当前帧=1:不透明度变化到60,正弦,400"; @event.String2BulletEvent(); eventGroup.EventList.Add(@event); backgroundRotate3.EventGroupList.Add(eventGroup); BackgroundRotate backgroundRotate4 = new BackgroundRotate(StageData, "Card03c"); backgroundRotate4.Scale = 0.7f; backgroundRotate4.Active = true; backgroundRotate4.AngularVelocityDegree = 0.2f; BulletTitle bulletTitle = new BulletTitle(StageData, this.SC_Name); SpellCardAttack spellCardAttack = new SpellCardAttack(StageData); new FullPic2(StageData, "FaceKoreirei_ct").Scale = 0.8f; }
public SpellCard_SSS02_03(StageDataPackage StageData) : base(StageData) { if (this.Difficulty < DifficultLevel.Hard) { this.SC_Name = "使魔「自动狩猎装置」"; } else { this.SC_Name = "魔狩「星夜的狩猎舞曲」"; } this.BaseScore = 15000000L; this.Boss.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 120); this.Boss.Velocity = 4f; StageData.SoundPlay("se_cat00.wav"); BackgroundRotate backgroundRotate1 = new BackgroundRotate(StageData, "Card02b"); backgroundRotate1.Scale = 1.3f; backgroundRotate1.TransparentValueF = (float)byte.MaxValue; backgroundRotate1.AngularVelocityDegree = -0.5f; BackgroundMove2 backgroundMove2_1 = new BackgroundMove2(StageData, "Card02a"); backgroundMove2_1.DirectionDegree = -80.0; backgroundMove2_1.TransparentValueF = 155f; backgroundMove2_1.Scale = 1f; backgroundMove2_1.Active = false; BackgroundMove2 backgroundMove2_2 = backgroundMove2_1; backgroundMove2_2.EventGroupList = new List <EventGroup>(); backgroundMove2_2.EventsExecutionList = new List <Execution>(); EventGroup eventGroup = new EventGroup(); eventGroup.index = 0; eventGroup.tag = "0"; eventGroup.t = 200; eventGroup.addtime = 200; Event @event = new Event(); @event.EventString = "当前帧=1:不透明度变化到60,正弦,400"; @event.String2BulletEvent(); eventGroup.EventList.Add(@event); backgroundMove2_2.EventGroupList.Add(eventGroup); BackgroundRotate backgroundRotate2 = new BackgroundRotate(StageData, "Card02c"); backgroundRotate2.Scale = 0.7f; backgroundRotate2.Active = true; backgroundRotate2.AngularVelocityDegree = 0.2f; BulletTitle bulletTitle = new BulletTitle(StageData, this.SC_Name); SpellCardAttack spellCardAttack = new SpellCardAttack(StageData); FullPic2 fullPic2 = new FullPic2(StageData, "FaceRakuki_ct"); }
public BackgroundBoss04(StageDataPackage StageData) : base(StageData, (string)null, new PointF(0.0f, 0.0f), 0.0f, 0.0) { BackgroundSC backgroundSc = new BackgroundSC(StageData, "Card04c"); BackgroundRotate backgroundRotate1 = new BackgroundRotate(StageData, "Card04a"); backgroundRotate1.DirectionDegree = 90.0; backgroundRotate1.TransparentValueF = 128f; backgroundRotate1.Scale = 1f; backgroundRotate1.Active = false; backgroundRotate1.AngularVelocityDegree = 0.0f; BackgroundRotate backgroundRotate2 = backgroundRotate1; backgroundRotate2.EventGroupList = new List <EventGroup>(); backgroundRotate2.EventsExecutionList = new List <Execution>(); EventGroup eventGroup1 = new EventGroup(); eventGroup1.index = 0; eventGroup1.tag = "0"; eventGroup1.t = 200; eventGroup1.addtime = 200; Event event1 = new Event(); event1.EventString = "当前帧=1:不透明度变化到5,正弦,200"; event1.String2BulletEvent(); eventGroup1.EventList.Add(event1); backgroundRotate2.EventGroupList.Add(eventGroup1); BackgroundRotate backgroundRotate3 = new BackgroundRotate(StageData, "Card04b"); backgroundRotate3.DirectionDegree = 90.0; backgroundRotate3.TransparentValueF = 128f; backgroundRotate3.Scale = 1f; backgroundRotate3.Active = false; backgroundRotate3.AngularVelocityDegree = 0.0f; BackgroundRotate backgroundRotate4 = backgroundRotate3; backgroundRotate4.EventGroupList = new List <EventGroup>(); backgroundRotate4.EventsExecutionList = new List <Execution>(); EventGroup eventGroup2 = new EventGroup(); eventGroup2.index = 0; eventGroup2.tag = "0"; eventGroup2.t = 200; eventGroup2.addtime = 200; Event event2 = new Event(); event2.EventString = "当前帧=1:不透明度变化到255,正弦,200"; event2.String2BulletEvent(); eventGroup2.EventList.Add(event2); backgroundRotate4.EventGroupList.Add(eventGroup2); }
public override void Drama() { if (this.TimeMain == 1) { this.StageData.SetReplayInfo(this.StageName); if (this.MyPlane == null) { StageDataPackage stageData = this.StageData; Rectangle boundRect = this.BoundRect; int width = boundRect.Width; boundRect = this.BoundRect; int y = boundRect.Height - 50; Point Position = new Point(width, y); this.MyPlane = new BaseMyPlane(stageData, Position); } BackgroundRotate backgroundRotate1 = new BackgroundRotate(this.StageData, "Card02b"); backgroundRotate1.Scale = 1.3f; backgroundRotate1.TransparentValueF = (float)byte.MaxValue; backgroundRotate1.AngularVelocityDegree = -0.5f; BackgroundRotate backgroundRotate2 = new BackgroundRotate(this.StageData, "Card02a"); backgroundRotate2.DirectionDegree = 90.0; backgroundRotate2.TransparentValueF = 155f; backgroundRotate2.Scale = 1f; backgroundRotate2.Active = false; backgroundRotate2.AngularVelocityDegree = 0.0f; BackgroundRotate backgroundRotate3 = backgroundRotate2; backgroundRotate3.EventGroupList = new List <EventGroup>(); backgroundRotate3.EventsExecutionList = new List <Execution>(); EventGroup eventGroup = new EventGroup(); eventGroup.index = 0; eventGroup.tag = "0"; eventGroup.t = 200; eventGroup.addtime = 200; Event @event = new Event(); @event.EventString = "当前帧=1:不透明度变化到60,正弦,400"; @event.String2BulletEvent(); eventGroup.EventList.Add(@event); backgroundRotate3.EventGroupList.Add(eventGroup); BackgroundRotate backgroundRotate4 = new BackgroundRotate(this.StageData, "Card02c"); backgroundRotate4.Scale = 0.7f; backgroundRotate4.Active = true; backgroundRotate4.AngularVelocityDegree = 0.2f; } if (this.TimeMain != 50) { } if (this.TimeMain % 400 != 100) { } }
public MenuGroup_GameOver(StageDataPackage StageData) { this.StageData = StageData; MenuSelectIndex = 0; MenuItemList = new List <BaseMenuItem>(); if (!StageData.GlobalData.LastState.StageData.OnReplay) { MenuItemList.Add(new BaseMenuItem(StageData, "Menu_再试一次")); if (StageData.GlobalData.LastState.StageData.ContinueTimes == 0) { MenuItemList.Add(new BaseMenuItem(StageData, "Menu_保存录像")); } } else { StageData.OnReplay = false; } MenuItemList.Add(new BaseMenuItem(StageData, "Menu_返回主菜单")); MenuItemList.Add(new BaseMenuItem(StageData, "Menu_从头开始")); int num1 = 62; int num2 = 300; int num3 = -200; foreach (BaseMenuItem menuItem in MenuItemList) { menuItem.DestPoint = new PointF(num1, num2); menuItem.Position = new PointF(num1 + num3, 150f); num2 += 30; num3 -= 50; } MenuItemList[MenuSelectIndex].Selected = true; BackgroundRotate backgroundRotate = new BackgroundRotate(StageData, "Menu_图案") { OriginalPosition = new PointF(120f, 340f), Scale = 1f, TransparentValueF = 0.0f, TransparentVelocity = 10f }; }
public BackgroundBoss05(StageDataPackage StageData) : base(StageData, (string)null, new PointF(0.0f, 0.0f), 0.0f, 0.0) { BackgroundRotate backgroundRotate1 = new BackgroundRotate(StageData, "card05b"); backgroundRotate1.Scale = 1.3f; backgroundRotate1.TransparentValueF = (float)byte.MaxValue; backgroundRotate1.AngularVelocityDegree = -0.5f; BackgroundMove2 backgroundMove2_1 = new BackgroundMove2(StageData, "card05c"); backgroundMove2_1.DirectionDegree = -180.0; backgroundMove2_1.TransparentValueF = 155f; backgroundMove2_1.Scale = 1f; backgroundMove2_1.Active = false; BackgroundMove2 backgroundMove2_2 = backgroundMove2_1; backgroundMove2_2.EventGroupList = new List <EventGroup>(); backgroundMove2_2.EventsExecutionList = new List <Execution>(); EventGroup eventGroup = new EventGroup(); eventGroup.index = 0; eventGroup.tag = "0"; eventGroup.t = 200; eventGroup.addtime = 200; Event @event = new Event(); @event.EventString = "当前帧=1:不透明度变化到60,正弦,400"; @event.String2BulletEvent(); eventGroup.EventList.Add(@event); backgroundMove2_2.EventGroupList.Add(eventGroup); BackgroundRotate backgroundRotate2 = new BackgroundRotate(StageData, "card05a"); backgroundRotate2.Scale = 0.7f; backgroundRotate2.Active = true; backgroundRotate2.AngularVelocityDegree = 0.2f; }
public SpellCard_SSS03_04(StageDataPackage StageData) : base(StageData) { if (this.Difficulty < DifficultLevel.Hard) { this.SC_Name = "妖符「柳下妖蝉」"; } else { this.SC_Name = "妖符「柳下妖蝉」"; } this.BaseScore = 20000000L; this.Boss.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 120); this.Boss.Velocity = 4f; StageData.SoundPlay("se_cat00.wav"); BackgroundRotate backgroundRotate = new BackgroundRotate(StageData, "Card03f"); backgroundRotate.Scale = 1f; backgroundRotate.AngularVelocityDegree = 0.0f; backgroundRotate.AngleDegree = 90.0; backgroundRotate.AngleWithDirection = false; BackgroundMove2 backgroundMove2_1 = new BackgroundMove2(StageData, "Card03d"); backgroundMove2_1.Velocity = 1f; backgroundMove2_1.DirectionDegree = 0.0; backgroundMove2_1.TransparentValueF = 155f; backgroundMove2_1.Scale = 1f; backgroundMove2_1.Active = false; backgroundMove2_1.AngularVelocityDegree = 0.0f; BackgroundMove2 backgroundMove2_2 = backgroundMove2_1; backgroundMove2_2.EventGroupList = new List <EventGroup>(); backgroundMove2_2.EventsExecutionList = new List <Execution>(); EventGroup eventGroup1 = new EventGroup(); eventGroup1.index = 0; eventGroup1.tag = "0"; eventGroup1.t = 200; eventGroup1.addtime = 200; Event event1 = new Event(); event1.EventString = "当前帧=1:不透明度变化到60,正弦,400"; event1.String2BulletEvent(); eventGroup1.EventList.Add(event1); backgroundMove2_2.EventGroupList.Add(eventGroup1); BackgroundMove2 backgroundMove2_3 = new BackgroundMove2(StageData, "Card03e"); backgroundMove2_3.Velocity = 1f; backgroundMove2_3.DirectionDegree = 180.0; backgroundMove2_3.TransparentValueF = 60f; backgroundMove2_3.Scale = 1f; backgroundMove2_3.Active = false; backgroundMove2_3.AngularVelocityDegree = 0.0f; BackgroundMove2 backgroundMove2_4 = backgroundMove2_3; backgroundMove2_4.EventGroupList = new List <EventGroup>(); backgroundMove2_4.EventsExecutionList = new List <Execution>(); EventGroup eventGroup2 = new EventGroup(); eventGroup2.index = 0; eventGroup2.tag = "0"; eventGroup2.t = 200; eventGroup2.addtime = 200; Event event2 = new Event(); event2.EventString = "当前帧=1:不透明度变化到155,正弦,400"; event2.String2BulletEvent(); eventGroup2.EventList.Add(event2); backgroundMove2_4.EventGroupList.Add(eventGroup2); BulletTitle bulletTitle = new BulletTitle(StageData, this.SC_Name); SpellCardAttack spellCardAttack = new SpellCardAttack(StageData); FullPic2 fullPic2 = new FullPic2(StageData, "FaceSeiryuu_ct"); }