public SpellCard_SSS04_04C(StageDataPackage StageData) : base(StageData) { if (this.Difficulty < DifficultLevel.Hard) { this.SC_Name = "秘术「遗忘之封印」"; } else { this.SC_Name = "秘术「遗忘之封印」"; } this.BaseScore = 25000000L; this.Boss.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 100); this.Boss.Velocity = 4f; StageData.SoundPlay("se_cat00.wav"); BackgroundBoss04 backgroundBoss04 = new BackgroundBoss04(StageData); BulletTitle bulletTitle = new BulletTitle(StageData, this.SC_Name); SpellCardAttack spellCardAttack = new SpellCardAttack(StageData); FullPic2 fullPic2 = new FullPic2(StageData, "FaceKage_ct"); }
public SpellCard_SSS05_03(StageDataPackage StageData) : base(StageData) { if (this.Difficulty < DifficultLevel.Hard) { this.SC_Name = "混沌「守护的心意」"; } else { this.SC_Name = "混沌「守护之心」"; } this.BaseScore = 30000000L; this.Boss.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 120); this.Boss.Velocity = 4f; StageData.SoundPlay("se_cat00.wav"); BackgroundBoss05 backgroundBoss05 = new BackgroundBoss05(StageData); BulletTitle bulletTitle = new BulletTitle(StageData, this.SC_Name); SpellCardAttack spellCardAttack = new SpellCardAttack(StageData); FullPic2 fullPic2 = new FullPic2(StageData, "FaceRakukun_ct"); }
public SpellCard_SSS06_03(StageDataPackage StageData) : base(StageData) { if (this.Difficulty < DifficultLevel.Hard) { this.SC_Name = "星雨「故乡之星」"; } else { this.SC_Name = "星雨「故乡之星」"; } this.BaseScore = 35000000L; this.Boss.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 120); this.Boss.Velocity = 4f; StageData.SoundPlay("se_cat00.wav"); BackgroundBoss06 backgroundBoss06 = new BackgroundBoss06(StageData); BulletTitle bulletTitle = new BulletTitle(StageData, this.SC_Name); SpellCardAttack spellCardAttack = new SpellCardAttack(StageData); FullPic3 fullPic3 = new FullPic3(StageData, "FaceTensei_ct2"); }
public override void HitCheckAll() { for (int index = this.MyBulletList.Count - 1; index >= 0; --index) { if (this.HitCheck(this.MyBulletList[index])) { if (this.MyPlane.EnchantmentState == EnchantmentType.Red) { this.HealthPoint -= (float)this.MyBulletList[index].Damage * 1.25f; } else { this.HealthPoint -= (float)this.MyBulletList[index].Damage; } this.MyBulletList[index].GiveEndEffect(); this.MyBulletList.RemoveAt(index); this.MyPlane.Score += 10L; PointF originalPosition; if ((double)this.HealthPoint <= 0.0) { this.GiveEndEffect(); this.GiveItems(); this.EnemyPlaneList.Remove(this); StageDataPackage stageData = this.StageData; originalPosition = this.OriginalPosition; double num = (double)originalPosition.X / (double)this.BoundRect.Width; stageData.SoundPlay("se_enep00.wav", (float)num); break; } StageDataPackage stageData1 = this.StageData; originalPosition = this.OriginalPosition; double num1 = (double)originalPosition.X / (double)this.BoundRect.Width; stageData1.SoundPlay("se_damage01.wav", (float)num1); } } if (!this.MyPlane.HitEnabled || !this.HitCheck((BaseObject)this.MyPlane)) { return; } this.MyPlane.PreMiss(); }
public BulletGroupCircle( StageDataPackage StageData, BaseObject bullet, PointF OriginalPosition, double Direction, int Count, int Radius, byte ColorType) { double num = Direction; for (int index = 0; index < Count; ++index) { PointF OriginalPosition1 = new PointF(OriginalPosition.X + (float)Radius * (float)Math.Cos(num), OriginalPosition.Y + (float)Radius * (float)Math.Sin(num)); BaseBullet_Touhou baseBulletTouhou = new BaseBullet_Touhou(StageData, (string)null, OriginalPosition1, 0.0f, 0.0, ColorType); baseBulletTouhou.Copy(bullet); baseBulletTouhou.OriginalPosition = OriginalPosition1; baseBulletTouhou.Direction = num; num += 2.0 * Math.PI / (double)Count; } StageData.SoundPlay("se_tan00a.wav"); }
public SpellCard_SSS01_FSC(StageDataPackage StageData) : base(StageData) { if (this.Difficulty < DifficultLevel.Hard) { this.SC_Name = "夜风「轮回的幸运之星」"; } else { this.SC_Name = "夜风「轮回的幸运之星」"; } this.Boss.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 120); this.Boss.Velocity = 4f; StageData.SoundPlay("se_cat00.wav"); new BackgroundMove2(StageData, "Card01b").DirectionDegree = 270.0; BackgroundMove2 backgroundMove2 = new BackgroundMove2(StageData, "Card01a"); backgroundMove2.DirectionDegree = -80.0; backgroundMove2.Length = 1024; backgroundMove2.TransparentValueF = 80f; BulletTitle bulletTitle = new BulletTitle(StageData, this.SC_Name); SpellCardAttack spellCardAttack = new SpellCardAttack(StageData); FullPic2 fullPic2 = new FullPic2(StageData, "FaceAmi_ct"); }
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"); }