private void t小文字表示V2(int x, int y, long n, bool score, EPhaseV2 phase_v2, int nPlayer) { if (phase_v2 > ephase_v2) { return; } else if (phase_v2 == ephase_v2) { if (score) { float ratio = (float)Math.Sin(this.ct文字V2用.n現在の値 / 180f * Math.PI) * 0.4f + 1f; TJAPlayer3.Tx.Result_v2_Number.vcScaling.X = ratio; TJAPlayer3.Tx.Result_v2_Number.vcScaling.Y = ratio; } else { float ratio = Math.Max(1f, (float)Math.Cos(this.ct文字V2用.n現在の値 / 180f * Math.PI) * 0.4f + 1f); TJAPlayer3.Tx.Result_v2_Number.vcScaling.X = ratio / 1.6f; TJAPlayer3.Tx.Result_v2_Number.vcScaling.Y = ratio / 1.6f; } } else { if (score) { TJAPlayer3.Tx.Result_v2_Number.vcScaling.X = 1f; TJAPlayer3.Tx.Result_v2_Number.vcScaling.Y = 1f; } else { TJAPlayer3.Tx.Result_v2_Number.vcScaling.X = 0.625f; TJAPlayer3.Tx.Result_v2_Number.vcScaling.Y = 0.625f; } } for (int index = 0; index < n.ToString().Length; index++) { int Num = (int)(n / Math.Pow(10, index) % 10); if (TJAPlayer3.Tx.Result_v2_Number != null) { Rectangle rectangle = new Rectangle(TJAPlayer3.Tx.Result_v2_Number.szTextureSize.Width / 10 * Num, 0, TJAPlayer3.Tx.Result_v2_Number.szTextureSize.Width / 10, TJAPlayer3.Tx.Result_v2_Number.szTextureSize.Height); if (TJAPlayer3.Tx.Result_v2_Number != null) { TJAPlayer3.Tx.Result_v2_Number.t2D拡大率考慮描画(TJAPlayer3.app.Device, CTexture.RefPnt.Center, x, y, rectangle); } if (score) { x -= TJAPlayer3.Tx.Result_v2_Number.szTextureSize.Width / 10; } else { x -= TJAPlayer3.Tx.Result_v2_Number.szTextureSize.Width / 16; } } } }
private void NextPhaseV2() { ephase_v2 += 1; for (int index = 0; index < this.ToNextPhase.Length; index++) { this.ct文字V2用.n現在の値 = 0; this.ct文字V2用.t時間Reset(); this.ToNextPhase[index] = false; } }