Beispiel #1
0
        // コンストラクタ

        public CAct演奏Combo共通()
        {
            this.b活性化してない = true;

            // 180度分のジャンプY座標差分を取得。(0度: 0 → 90度:-15 → 180度: 0)
            for (int i = 0; i < 180; i++)
            {
                this.nジャンプ差分値[i] = (int)(-15.0 * Math.Sin((Math.PI * i) / 180.0));
            }
            演奏判定ライン座標 = new C演奏判定ライン座標共通();
        }
Beispiel #2
0
 public virtual int t進行描画(C演奏判定ライン座標共通 演奏判定ライン座標共通)
 {
     return(0);
 }
Beispiel #3
0
 public override int t進行描画(C演奏判定ライン座標共通 演奏判定ライン座標)
 {
     if (!base.b活性化してない)
     {
         for (int i = 0; i < 12; i++)
         {
             if (!base.st状態[i].ct進行.b停止中)
             {
                 base.st状態[i].ct進行.t進行();
                 if (base.st状態[i].ct進行.b終了値に達した)
                 {
                     base.st状態[i].ct進行.t停止();
                     base.st状態[i].b使用中 = false;
                 }
                 int num2 = base.st状態[i].ct進行.n現在の値;
                 if (base.st状態[i].judge != E判定.Great)
                 {
                     base.st状態[i].n相対X座標 = 0;
                     base.st状態[i].n相対Y座標 = 15;
                     base.st状態[i].n透明度   = 0xff;
                 }
                 if ((base.st状態[i].judge != E判定.Miss) && (base.st状態[i].judge != E判定.Bad))
                 {
                     if (num2 < 20)
                     {
                         base.st状態[i].n相対X座標 = 0;
                         base.st状態[i].n相対Y座標 = 0;
                         base.st状態[i].n透明度   = 0xff;
                     }
                     else if (num2 < 40)
                     {
                         base.st状態[i].n相対X座標 = 0;
                         base.st状態[i].n相対Y座標 = 5;
                         base.st状態[i].n透明度   = 0xff;
                     }
                     else if (num2 >= 60)
                     {
                         base.st状態[i].n相対X座標 = 0;
                         base.st状態[i].n相対Y座標 = 10;
                         base.st状態[i].n透明度   = 0xff;
                     }
                     else
                     {
                         base.st状態[i].n相対X座標 = 0;
                         base.st状態[i].n相対Y座標 = 15;
                         base.st状態[i].n透明度   = 0xff;
                     }
                 }
                 if (num2 < 20)
                 {
                     base.st状態[i].n相対X座標 = 0;
                     base.st状態[i].n相対Y座標 = 0;
                     base.st状態[i].n透明度   = 0xff;
                 }
                 else if (num2 < 40)
                 {
                     base.st状態[i].n相対X座標 = 0;
                     base.st状態[i].n相対Y座標 = 5;
                     base.st状態[i].n透明度   = 0xff;
                 }
                 else if (num2 >= 60)
                 {
                     base.st状態[i].n相対X座標 = 0;
                     base.st状態[i].n相対Y座標 = 10;
                     base.st状態[i].n透明度   = 0xff;
                 }
                 else
                 {
                     base.st状態[i].n相対X座標 = 0;
                     base.st状態[i].n相対Y座標 = 15;
                     base.st状態[i].n透明度   = 0xff;
                 }
             }
         }
         for (int j = 0; j < 12; j++)
         {
             if (!base.st状態[j].ct進行.b停止中)
             {
                 int baseX = 370;
                 //int baseY = 135;
                 int baseY = CDTXMania.Skin.nScrollFieldY[base.st状態[j].nPlayer] - 53;
                 int x     = CDTXMania.Skin.nScrollFieldX[0] - CDTXMania.Tx.Judge.szテクスチャサイズ.Width / 2;
                 int y     = (baseY + base.st状態[j].n相対Y座標);
                 if (CDTXMania.Tx.Judge != null)
                 {
                     CDTXMania.Tx.Judge.t2D描画(CDTXMania.app.Device, x, y, base.st判定文字列[(int)base.st状態[j].judge].rc);
                 }
             }
         }
     }
     return(0);
 }
Beispiel #4
0
 public abstract void Start(int nLane, C演奏判定ライン座標共通 演奏判定ライン座標);
Beispiel #5
0
        // メソッド

        public virtual void Start(int nLane, int n中央X, int n中央Y, C演奏判定ライン座標共通 演奏判定ライン座標)
        {
        }