1
0
mirror of synced 2024-11-28 09:20:53 +01:00
This commit is contained in:
0aubsq 2021-11-02 16:39:49 +01:00
parent 336ca86cb2
commit 09c73a8313
2 changed files with 37 additions and 23 deletions

View File

@ -44,6 +44,12 @@ namespace TJAPlayer3
TJAPlayer3.Tx.Challenge_Select[1].t2D描画(TJAPlayer3.app.Device, 0, 0);
if (TJAPlayer3.stage段位選択.ct待機.b開始した)
return base.On進行描画();
#region [Key bindings]
if (ctBarIn.b終了値に達した && !TJAPlayer3.stage段位選択.b選択した)
{
if (TJAPlayer3.Input管理.Keyboard.bキーが押された((int)Key.RightArrow) ||
@ -83,6 +89,8 @@ namespace TJAPlayer3
}
}
}
#endregion
}
return base.On進行描画();

View File

@ -419,18 +419,21 @@ namespace TJAPlayer3
#region [Score rank apparition]
if (ct全体進行.n現在の値 <= ScoreApparitionTimeStamp + 1180)
for (int i = 0; i < 3; i++)
{
TJAPlayer3.Tx.Result_ScoreRankEffect.Opacity = (int)((ct全体進行.n現在の値 - (ScoreApparitionTimeStamp + 1000)) / 180.0f * 255.0f);
TJAPlayer3.Tx.Result_ScoreRankEffect.vc拡大縮小倍率.X = 1.0f + (float)Math.Sin((float)(ct全体進行.n現在の値 - (ScoreApparitionTimeStamp + 910)) / 1.5f * (Math.PI / 180)) * 1.4f;
TJAPlayer3.Tx.Result_ScoreRankEffect.vc拡大縮小倍率.Y = 1.0f + (float)Math.Sin((float)(ct全体進行.n現在の値 - (ScoreApparitionTimeStamp + 910)) / 1.5f * (Math.PI / 180)) * 1.4f;
}
else if (ct全体進行.n現在の値 <= ScoreApparitionTimeStamp + 1270)
for (int i = 0; i < 3; i++)
{
TJAPlayer3.Tx.Result_ScoreRankEffect.vc拡大縮小倍率.X = 0.5f + (float)Math.Sin((float)(ct全体進行.n現在の値 - (ScoreApparitionTimeStamp + 1180)) * (Math.PI / 180)) * 0.5f;
TJAPlayer3.Tx.Result_ScoreRankEffect.vc拡大縮小倍率.Y = 0.5f + (float)Math.Sin((float)(ct全体進行.n現在の値 - (ScoreApparitionTimeStamp + 1180)) * (Math.PI / 180)) * 0.5f;
}
else
{
TJAPlayer3.Tx.Result_ScoreRankEffect.vc拡大縮小倍率.X = 1f;
TJAPlayer3.Tx.Result_ScoreRankEffect.vc拡大縮小倍率.Y = 1f;
}
if (TJAPlayer3.stage選曲.n確定された曲の難易度[0] != (int)Difficulty.Dan && TJAPlayer3.stage結果.nスコアランク > 0)
{
@ -463,18 +466,21 @@ namespace TJAPlayer3
#region [Crown apparition]
if (ct全体進行.n現在の値 <= ScoreApparitionTimeStamp + 2680)
for (int i = 0; i < 3; i++)
{
TJAPlayer3.Tx.Result_CrownEffect.Opacity = (int)((ct全体進行.n現在の値 - (ScoreApparitionTimeStamp + 2500)) / 180.0f * 255.0f);
TJAPlayer3.Tx.Result_CrownEffect.vc拡大縮小倍率.X = 1.0f + (float)Math.Sin((float)(ct全体進行.n現在の値 - (ScoreApparitionTimeStamp + 2410)) / 1.5f * (Math.PI / 180)) * 1.4f;
TJAPlayer3.Tx.Result_CrownEffect.vc拡大縮小倍率.Y = 1.0f + (float)Math.Sin((float)(ct全体進行.n現在の値 - (ScoreApparitionTimeStamp + 2410)) / 1.5f * (Math.PI / 180)) * 1.4f;
}
else if (ct全体進行.n現在の値 <= ScoreApparitionTimeStamp + 2770)
for (int i = 0; i < 3; i++)
{
TJAPlayer3.Tx.Result_CrownEffect.vc拡大縮小倍率.X = 0.5f + (float)Math.Sin((float)(ct全体進行.n現在の値 - (ScoreApparitionTimeStamp + 2680)) * (Math.PI / 180)) * 0.5f;
TJAPlayer3.Tx.Result_CrownEffect.vc拡大縮小倍率.Y = 0.5f + (float)Math.Sin((float)(ct全体進行.n現在の値 - (ScoreApparitionTimeStamp + 2680)) * (Math.PI / 180)) * 0.5f;
}
else
{
TJAPlayer3.Tx.Result_CrownEffect.vc拡大縮小倍率.X = 1f;
TJAPlayer3.Tx.Result_CrownEffect.vc拡大縮小倍率.Y = 1f;
}
int ClearType = TJAPlayer3.stage結果.nクリア - 1;