示例#1
0
        public override void Shoot()
        {
            BulletGuidance bulletGuidance = new BulletGuidance(this.StageData, "子机子弹", this.Position, 8f, -1.0 * Math.PI / 2.0);

            bulletGuidance.TransparentValueF = 150f;
            bulletGuidance.Angle             = 3.14159274101257;
        }
示例#2
0
文件: Shinmyoumaru.cs 项目: THSJF/sjf
 public override void Shoot()
 {
     if (KClass.Key_Shift)
     {
         BaseMyBullet_Touhou baseMyBulletTouhou1 = new BaseMyBullet_Touhou(StageData, "MaruBullet", OriginalPosition, 18f, ShootDirection + Math.PI / 60.0)
         {
             Angle  = 1.57079637050629,
             Damage = 5
         };
         BaseMyBullet_Touhou baseMyBulletTouhou2 = new BaseMyBullet_Touhou(StageData, "MaruBullet", OriginalPosition, 18f, ShootDirection - Math.PI / 60.0)
         {
             Angle  = 1.57079637050629,
             Damage = 5
         };
     }
     else
     {
         BulletGuidance bulletGuidance = new BulletGuidance(StageData, "ReimuSubBullet", Position, 8f, ShootDirection)
         {
             TransparentValueF = 180f,
             Angle             = 1.57079637050629,
             Damage            = 9
         };
     }
 }
示例#3
0
 public override void Shoot()
 {
     if (this.KClass.Key_Shift)
     {
         BaseMyBullet_Touhou baseMyBulletTouhou = new BaseMyBullet_Touhou(this.StageData, "AyaBullet10", this.OriginalPosition, 12f, this.ShootDirection);
         baseMyBulletTouhou.Angle  = 1.57079637050629;
         baseMyBulletTouhou.Damage = 4;
     }
     else
     {
         BulletGuidance bulletGuidance = new BulletGuidance(this.StageData, "AyaBullet10", this.Position, 8f, this.ShootDirection);
         bulletGuidance.TransparentValueF = 180f;
         bulletGuidance.Angle             = 1.57079637050629;
     }
 }
示例#4
0
 public override void Shoot()
 {
     if (this.KClass.Key_Shift)
     {
         BaseMyBullet_Touhou baseMyBulletTouhou1 = new BaseMyBullet_Touhou(this.StageData, "MaruBullet", this.OriginalPosition, 18f, this.ShootDirection + Math.PI / 60.0);
         baseMyBulletTouhou1.Angle  = 1.57079637050629;
         baseMyBulletTouhou1.Damage = 5;
         BaseMyBullet_Touhou baseMyBulletTouhou2 = new BaseMyBullet_Touhou(this.StageData, "MaruBullet", this.OriginalPosition, 18f, this.ShootDirection - Math.PI / 60.0);
         baseMyBulletTouhou2.Angle  = 1.57079637050629;
         baseMyBulletTouhou2.Damage = 5;
     }
     else
     {
         BulletGuidance bulletGuidance = new BulletGuidance(this.StageData, "ReimuSubBullet", this.Position, 8f, this.ShootDirection);
         bulletGuidance.TransparentValueF = 180f;
         bulletGuidance.Angle             = 1.57079637050629;
         bulletGuidance.Damage            = 9;
     }
 }