1
0
mirror of synced 2025-02-17 19:09:25 +01:00

Make multiple textures from 5_Game non-mandatory

This commit is contained in:
0aubsq 2022-05-01 21:19:48 +02:00
parent 72e34c42d6
commit 98322ffba9
13 changed files with 260 additions and 143 deletions

View File

@ -332,7 +332,9 @@ namespace TJAPlayer3
#endregion
#region 5_
#region
#region General
Notes = TxC(GAME + @"Notes.png");
Judge_Frame = TxC(GAME + @"Notes.png");
SENotes = TxC(GAME + @"SENotes.png");
@ -347,7 +349,8 @@ namespace TJAPlayer3
#endregion
#region
#region Dancer
TJAPlayer3.Skin.Game_Dancer_Ptn = TJAPlayer3.t連番画像の枚数を数える(CSkin.Path(BASE + GAME + DANCER + @"1\"));
if (TJAPlayer3.Skin.Game_Dancer_Ptn != 0)
{
@ -361,19 +364,27 @@ namespace TJAPlayer3
}
}
}
#endregion
#region
#region Mob
TJAPlayer3.Skin.Game_Mob_Ptn = TJAPlayer3.t連番画像の枚数を数える(CSkin.Path(BASE + GAME + MOB));
Mob = new CTexture[TJAPlayer3.Skin.Game_Mob_Ptn];
for (int i = 0; i < TJAPlayer3.Skin.Game_Mob_Ptn; i++)
{
Mob[i] = TxC(GAME + MOB + i.ToString() + ".png");
}
#endregion
#region
#region Footer
Mob_Footer = TxC(GAME + FOOTER + @"0.png");
#endregion
#region
#region Background
Background = TxC(GAME + Background + @"0\" + @"Background.png");
@ -403,7 +414,9 @@ namespace TJAPlayer3
Background_Down_Scroll = TxC(GAME + BACKGROUND + @"0\" + @"Down_Scroll.png");
#endregion
#region
#region Taiko
Taiko_Background = new CTexture[5];
Taiko_Background[0] = TxC(GAME + TAIKO + @"1P_Background.png");
Taiko_Background[1] = TxC(GAME + TAIKO + @"2P_Background.png");
@ -417,9 +430,9 @@ namespace TJAPlayer3
Taiko_PlayerNumber = new CTexture[2];
Taiko_PlayerNumber[0] = TxC(GAME + TAIKO + @"1P_PlayerNumber.png");
Taiko_PlayerNumber[1] = TxC(GAME + TAIKO + @"2P_PlayerNumber.png");
Taiko_NamePlate = new CTexture[2];
Taiko_NamePlate[0] = TxC(GAME + TAIKO + @"1P_NamePlate.png");
Taiko_NamePlate[1] = TxC(GAME + TAIKO + @"2P_NamePlate.png");
//Taiko_NamePlate = new CTexture[2];
//Taiko_NamePlate[0] = TxC(GAME + TAIKO + @"1P_NamePlate.png");
//Taiko_NamePlate[1] = TxC(GAME + TAIKO + @"2P_NamePlate.png");
Taiko_Base = TxC(GAME + TAIKO + @"Base.png");
Taiko_Don_Left = TxC(GAME + TAIKO + @"Don.png");
Taiko_Don_Right = TxC(GAME + TAIKO + @"Don.png");
@ -451,9 +464,10 @@ namespace TJAPlayer3
{
Taiko_Combo_Guide[i] = TxC(GAME + TAIKO + @"Combo_Guide" + i.ToString() + ".png");
}
#endregion
#region
#region Gauge
Gauge = new CTexture[3];
Gauge[0] = TxC(GAME + GAUGE + @"1P.png");
@ -506,7 +520,9 @@ namespace TJAPlayer3
Gauge_Soul_Explosion[1] = TxC(GAME + GAUGE + @"2P_Explosion.png");
#endregion
#region
#region Balloon
Balloon_Combo = new CTexture[2];
Balloon_Combo[0] = TxC(GAME + BALLOON + @"Combo_1P.png");
Balloon_Combo[1] = TxC(GAME + BALLOON + @"Combo_2P.png");
@ -520,8 +536,11 @@ namespace TJAPlayer3
{
Balloon_Breaking[i] = TxC(GAME + BALLOON + @"Breaking_" + i.ToString() + ".png");
}
#endregion
#region
#region Effects
Effects_Hit_Explosion = TxCAf(GAME + EFFECTS + @"Hit\Explosion.png");
if (Effects_Hit_Explosion != null) Effects_Hit_Explosion.b加算合成 = TJAPlayer3.Skin.Game_Effect_HitExplosion_AddBlend;
Effects_Hit_Explosion_Big = TxC(GAME + EFFECTS + @"Hit\Explosion_Big.png");
@ -554,8 +573,11 @@ namespace TJAPlayer3
{
Effects_Roll[i] = TxC(GAME + EFFECTS + @"Roll\" + i.ToString() + ".png");
}
#endregion
#region
#region Lane
Lane_Base = new CTexture[3];
Lane_Text = new CTexture[3];
string[] Lanes = new string[3] { "Normal", "Expert", "Master" };
@ -572,7 +594,9 @@ namespace TJAPlayer3
Lane_Background_GoGo = TxC(GAME + LANE + @"Background_GoGo.png");
#endregion
#region
End_Clear_Chara = TxC(GAME + END + @"Clear_Chara.png");
End_Star = TxC(GAME + END + @"Star.png");
@ -586,6 +610,7 @@ namespace TJAPlayer3
{
End_Clear_L[i] = TxC(GAME + END + @"Clear\" + @"Clear_L_" + i.ToString() + ".png");
End_Clear_R[i] = TxC(GAME + END + @"Clear\" + @"Clear_R_" + i.ToString() + ".png");
}
End_Clear_Text_ = TxC(GAME + END + @"Clear\" + @"Clear_Text.png");
End_Clear_Text_Effect = TxC(GAME + END + @"Clear\" + @"Clear_Text_Effect.png");
@ -594,6 +619,7 @@ namespace TJAPlayer3
ClearFailed = TxC(GAME + END + @"ClearFailed\" + "Clear_Failed.png");
ClearFailed1 = TxC(GAME + END + @"ClearFailed\" + "Clear_Failed1.png");
ClearFailed2 = TxC(GAME + END + @"ClearFailed\" + "Clear_Failed2.png");
End_ClearFailed = new CTexture[26];
for (int i = 0; i < 26; i++)
End_ClearFailed[i] = TxC(GAME + END + @"ClearFailed\" + i.ToString() + ".png");
@ -601,14 +627,17 @@ namespace TJAPlayer3
End_FullCombo = new CTexture[67];
for (int i = 0; i < 67; i++)
End_FullCombo[i] = TxC(GAME + END + @"FullCombo\" + i.ToString() + ".png");
End_FullComboLoop = new CTexture[3];
for (int i = 0; i < 3; i++)
End_FullComboLoop[i] = TxC(GAME + END + @"FullCombo\" + "loop_" + i.ToString() + ".png");
End_DondaFullComboBg = TxC(GAME + END + @"DondaFullCombo\" + "bg.png");
End_DondaFullCombo = new CTexture[62];
for (int i = 0; i < 62; i++)
End_DondaFullCombo[i] = TxC(GAME + END + @"DondaFullCombo\" + i.ToString() + ".png");
End_DondaFullComboLoop = new CTexture[3];
for (int i = 0; i < 3; i++)
End_DondaFullComboLoop[i] = TxC(GAME + END + @"DondaFullCombo\" + "loop_" + i.ToString() + ".png");
@ -622,18 +651,29 @@ namespace TJAPlayer3
}
#endregion
#region
#region GameMode
GameMode_Timer_Tick = TxC(GAME + GAMEMODE + @"Timer_Tick.png");
GameMode_Timer_Frame = TxC(GAME + GAMEMODE + @"Timer_Frame.png");
#endregion
#region
#region ClearFailed
Failed_Game = TxC(GAME + FAILED + @"Game.png");
Failed_Stage = TxC(GAME + FAILED + @"Stage.png");
#endregion
#region
#region Runner
Runner = TxC(GAME + RUNNER + @"0.png");
#endregion
#region DanC
DanC_Background = TxC(GAME + DANC + @"Background.png");
DanC_Gauge = new CTexture[4];
var type = new string[] { "Normal", "Reach", "Clear", "Flush" };
@ -656,9 +696,10 @@ namespace TJAPlayer3
DanC_Small_ExamCymbol = TxC(GAME + DANC + @"Small_ExamCymbol.png");
DanC_ExamCymbol = TxC(GAME + DANC + @"ExamCymbol.png");
DanC_MiniNumber = TxC(GAME + DANC + @"MiniNumber.png");
#endregion
#region PuichiChara
#region PuchiChara
PuchiChara = TxCGlobal(PUCHICHARA + @"0.png");
@ -668,6 +709,7 @@ namespace TJAPlayer3
#endregion
#region Training
Tokkun_DownBG = TxC(GAME + TRAINING + @"Down.png");
Tokkun_BigTaiko = TxC(GAME + TRAINING + @"BigTaiko.png");
Tokkun_ProgressBar = TxC(GAME + TRAINING + @"ProgressBar_Red.png");
@ -678,6 +720,7 @@ namespace TJAPlayer3
Tokkun_BigNumber = TxC(GAME + TRAINING + @"BigNumber.png");
Tokkun_SmallNumber = TxC(GAME + TRAINING + @"SmallNumber.png");
Tokkun_Speed_Measure = TxC(GAME + TRAINING + @"Speed_Measure.png");
#endregion
#region [20_Tower]

View File

@ -276,8 +276,13 @@ namespace TJAPlayer3
if (this.ctGaugeFlash.n現在の値 <= 365) Opacity = 0;
else if (this.ctGaugeFlash.n現在の値 <= 448) Opacity = (int)((this.ctGaugeFlash.n現在の値 - 365) / 83f * 255f);
else if (this.ctGaugeFlash.n現在の値 <= 531) Opacity = 255 - (int)((this.ctGaugeFlash.n現在の値 - 448) / 83f * 255f);
TJAPlayer3.Tx.Gauge_Flash.Opacity = Opacity;
TJAPlayer3.Tx.Gauge_Flash.t2D描画(TJAPlayer3.app.Device, 492, 144);
if (TJAPlayer3.Tx.Gauge_Flash != null)
{
TJAPlayer3.Tx.Gauge_Flash.Opacity = Opacity;
TJAPlayer3.Tx.Gauge_Flash.t2D描画(TJAPlayer3.app.Device, 492, 144);
}
}
@ -358,7 +363,7 @@ namespace TJAPlayer3
TJAPlayer3.Tx.Gauge_Rainbow[].t2D上下反転描画(TJAPlayer3.app.Device, 492, 532);
}
}
TJAPlayer3.Tx.Gauge_Line[1].t2D描画( TJAPlayer3.app.Device, 492, 532 );
TJAPlayer3.Tx.Gauge_Line[1]?.t2D描画( TJAPlayer3.app.Device, 492, 532 );
}
#region[ ]
if( this.db現在のゲージ値[ 1 ] >= 80.0 )

View File

@ -493,10 +493,12 @@ namespace TJAPlayer3
mat *= Matrix.Translation( 280 - 640, -( 134 - 360 ), 0 );
}
TJAPlayer3.Tx.GameMode_Timer_Tick.t3D描画( TJAPlayer3.app.Device, mat );
TJAPlayer3.Tx.GameMode_Timer_Tick?.t3D描画( TJAPlayer3.app.Device, mat );
string str表示する残り時間 = ( this.st叩ききりまショー.ct残り時間.n現在の値 < 1000 ) ? "25" : ( ( 26000 - this.st叩ききりまショー.ct残り時間.n現在の値 ) / 1000 ).ToString();
this.t小文字表示( 230 + (str表示する残り時間.Length * TJAPlayer3.Skin.Game_Taiko_Combo_Size[0] / 4 ), 84 + TJAPlayer3.Tx.GameMode_Timer_Frame.szテクスチャサイズ.Height / 2 , string.Format("{0,2:#0}", str表示する残り時間 ));
if (TJAPlayer3.Tx.GameMode_Timer_Frame != null)
this.t小文字表示( 230 + (str表示する残り時間.Length * TJAPlayer3.Skin.Game_Taiko_Combo_Size[0] / 4 ), 84 + TJAPlayer3.Tx.GameMode_Timer_Frame.szテクスチャサイズ.Height / 2 , string.Format("{0,2:#0}", str表示する残り時間 ));
}
if( !this.st叩ききりまショー.ct加算審査中.b停止中 )

View File

@ -87,7 +87,7 @@ namespace TJAPlayer3
}
}
if( TJAPlayer3.Tx.Balloon_Combo[ i ] != null )
if( TJAPlayer3.Tx.Balloon_Combo[ j ] != null && TJAPlayer3.Tx.Balloon_Number_Combo != null)
{
//半透明4f
if( this.ct進行[ i ].n現在の値 == 1 || this.ct進行[ i ].n現在の値 == 42 )
@ -194,7 +194,9 @@ namespace TJAPlayer3
break;
}
}
x += (int)(45 * TJAPlayer3.Tx.Balloon_Number_Combo.vc拡大縮小倍率.X);
if (TJAPlayer3.Tx.Balloon_Number_Combo != null)
x += (int)(45 * TJAPlayer3.Tx.Balloon_Number_Combo.vc拡大縮小倍率.X);
}
}
//-----------------

View File

@ -93,18 +93,22 @@ namespace TJAPlayer3
break;
}
if (this.st[i].ctChipEffect.n現在の値 < 12)
{
TJAPlayer3.Tx.ChipEffect.color4 = new Color4(1.0f, 1.0f, 0.0f, 1.0f);
TJAPlayer3.Tx.ChipEffect.Opacity = (int)(this.st[i].ctChipEffect.n現在の値 * (float)(225 / 11));
TJAPlayer3.Tx.ChipEffect.t2D中心基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Effect_FlyingNotes_EndPoint_X[st[i].nプレイヤー], TJAPlayer3.Skin.Game_Effect_FlyingNotes_EndPoint_Y[st[i].nプレイヤー], new Rectangle(st[i].Lane * 130, 0, 130, 130));
}
if (this.st[i].ctChipEffect.n現在の値 > 12 && this.st[i].ctChipEffect.n現在の値 < 24)
{
TJAPlayer3.Tx.ChipEffect.color4 = new Color4(1.0f, 1.0f, 1.0f, 1.0f);
TJAPlayer3.Tx.ChipEffect.Opacity = 255 - (int)((this.st[i].ctChipEffect.n現在の値 - 10) * (float)(255 / 14));
TJAPlayer3.Tx.ChipEffect.t2D中心基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Effect_FlyingNotes_EndPoint_X[st[i].nプレイヤー], TJAPlayer3.Skin.Game_Effect_FlyingNotes_EndPoint_Y[st[i].nプレイヤー], new Rectangle(st[i].Lane * 130, 0, 130, 130));
if (TJAPlayer3.Tx.ChipEffect != null)
{
if (this.st[i].ctChipEffect.n現在の値 < 12)
{
TJAPlayer3.Tx.ChipEffect.color4 = new Color4(1.0f, 1.0f, 0.0f, 1.0f);
TJAPlayer3.Tx.ChipEffect.Opacity = (int)(this.st[i].ctChipEffect.n現在の値 * (float)(225 / 11));
TJAPlayer3.Tx.ChipEffect.t2D中心基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Effect_FlyingNotes_EndPoint_X[st[i].nプレイヤー], TJAPlayer3.Skin.Game_Effect_FlyingNotes_EndPoint_Y[st[i].nプレイヤー], new Rectangle(st[i].Lane * 130, 0, 130, 130));
}
if (this.st[i].ctChipEffect.n現在の値 > 12 && this.st[i].ctChipEffect.n現在の値 < 24)
{
TJAPlayer3.Tx.ChipEffect.color4 = new Color4(1.0f, 1.0f, 1.0f, 1.0f);
TJAPlayer3.Tx.ChipEffect.Opacity = 255 - (int)((this.st[i].ctChipEffect.n現在の値 - 10) * (float)(255 / 14));
TJAPlayer3.Tx.ChipEffect.t2D中心基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Effect_FlyingNotes_EndPoint_X[st[i].nプレイヤー], TJAPlayer3.Skin.Game_Effect_FlyingNotes_EndPoint_Y[st[i].nプレイヤー], new Rectangle(st[i].Lane * 130, 0, 130, 130));
}
}
}
}
return 0;

View File

@ -69,8 +69,24 @@ namespace TJAPlayer3
for( int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++ )
{
if( TJAPlayer3.stage演奏ドラム画面.bUseBranch[ i ] == true )
{
if( this.ct分岐アニメ進行[ i ].b進行中 )
{
#region NullCheck
bool _laneNull = false;
for (int j = 0; j < TJAPlayer3.Tx.Lane_Base.Length; j++)
{
if (TJAPlayer3.Tx.Lane_Base[j] == null)
{
_laneNull = true;
break;
}
}
#endregion
if( this.ct分岐アニメ進行[ i ].b進行中 && !_laneNull)
{
#region[ _レベルアップ ]
//普通→玄人
@ -102,6 +118,7 @@ namespace TJAPlayer3
}
}
#endregion
#region[ _レベルアップ ]
if (nBefore[i] == CDTX.ECourse.eExpert && nAfter[i] == CDTX.ECourse.eMaster)
{
@ -110,6 +127,7 @@ namespace TJAPlayer3
TJAPlayer3.Tx.Lane_Base[2].t2D描画( TJAPlayer3.app.Device, TJAPlayer3.Skin.nScrollFieldBGX[ i ], TJAPlayer3.Skin.nScrollFieldY[ i ] );
}
#endregion
#region[ _レベルダウン ]
if (nBefore[i] == CDTX.ECourse.eExpert && nAfter[i] == CDTX.ECourse.eNormal)
{
@ -118,6 +136,7 @@ namespace TJAPlayer3
TJAPlayer3.Tx.Lane_Base[0].t2D描画( TJAPlayer3.app.Device, TJAPlayer3.Skin.nScrollFieldBGX[ i ], TJAPlayer3.Skin.nScrollFieldY[ i ] );
}
#endregion
#region[ _レベルダウン ]
if (nBefore[i] == CDTX.ECourse.eMaster && nAfter[i] == CDTX.ECourse.eNormal)
{

View File

@ -357,7 +357,23 @@ namespace TJAPlayer3
{
if (TJAPlayer3.stage演奏ドラム画面.bUseBranch[i] == true)
{
if (TJAPlayer3.ConfigIni.nBranchAnime == 0)
#region NullCheck
bool _laneNull = false;
for (int j = 0; j < TJAPlayer3.Tx.Lane_Text.Length; j++)
{
if (TJAPlayer3.Tx.Lane_Text[j] == null)
{
_laneNull = true;
break;
}
}
#endregion
if (TJAPlayer3.ConfigIni.nBranchAnime == 0 && !_laneNull)
{
if (!this.stBranch[i].ct分岐アニメ進行.b進行中)
{
@ -542,7 +558,7 @@ namespace TJAPlayer3
#endregion
}
}
else
else if (!_laneNull)
{
if (this.stBranch[i].nY座標 == 21)
{
@ -568,7 +584,6 @@ namespace TJAPlayer3
}
}
//fuck
if (this.stBranch[i].nY座標 != 0)
{
#region[ _レベルアップ ]
@ -644,9 +659,9 @@ namespace TJAPlayer3
{
// Tower frame (without tamashii jauge) if playing a tower chart
if (TJAPlayer3.stage選曲.n確定された曲の難易度[0] == (int)Difficulty.Tower && TJAPlayer3.Tx.Taiko_Frame[2] != null)
TJAPlayer3.Tx.Taiko_Frame[2].t2D描画(TJAPlayer3.app.Device, 329, 136);
TJAPlayer3.Tx.Taiko_Frame[2]?.t2D描画(TJAPlayer3.app.Device, 329, 136);
else
TJAPlayer3.Tx.Taiko_Frame[0].t2D描画(TJAPlayer3.app.Device, 329, 136);
TJAPlayer3.Tx.Taiko_Frame[0]?.t2D描画(TJAPlayer3.app.Device, 329, 136);
if (TJAPlayer3.stage演奏ドラム画面.bDoublePlay)
TJAPlayer3.Tx.Taiko_Frame[1]?.t2D描画(TJAPlayer3.app.Device, 329, 360);

View File

@ -49,10 +49,15 @@ namespace TJAPlayer3
{
if (JudgeAnimes[j, i].counter.b停止中) continue;
JudgeAnimes[j, i].counter.t進行();
float x = TJAPlayer3.Skin.nScrollFieldX[0] - TJAPlayer3.Tx.Judge.szテクスチャサイズ.Width / 2;
float y = (TJAPlayer3.Skin.nScrollFieldY[j] - 53 + CubicEaseOut((float)(JudgeAnimes[j, i].counter.n現在の値 >= 180 ? 180 : JudgeAnimes[j, i].counter.n現在の値) / 180f) * 20f) - 10;
TJAPlayer3.Tx.Judge.Opacity = (int)(255f - (JudgeAnimes[j, i].counter.n現在の値 >= 360 ? ((JudgeAnimes[j, i].counter.n現在の値 - 360) / 50.0f) * 255f : 0f));
TJAPlayer3.Tx.Judge.t2D描画(TJAPlayer3.app.Device, x, y, JudgeAnimes[j, i].rc);
if (TJAPlayer3.Tx.Judge != null)
{
float x = TJAPlayer3.Skin.nScrollFieldX[0] - TJAPlayer3.Tx.Judge.szテクスチャサイズ.Width / 2;
float y = (TJAPlayer3.Skin.nScrollFieldY[j] - 53 + CubicEaseOut((float)(JudgeAnimes[j, i].counter.n現在の値 >= 180 ? 180 : JudgeAnimes[j, i].counter.n現在の値) / 180f) * 20f) - 10;
TJAPlayer3.Tx.Judge.Opacity = (int)(255f - (JudgeAnimes[j, i].counter.n現在の値 >= 360 ? ((JudgeAnimes[j, i].counter.n現在の値 - 360) / 50.0f) * 255f : 0f));
TJAPlayer3.Tx.Judge.t2D描画(TJAPlayer3.app.Device, x, y, JudgeAnimes[j, i].rc);
}
}
}
}

View File

@ -187,92 +187,105 @@ namespace TJAPlayer3
//登場アニメは20フレーム。うち最初の5フレームは半透過状態。
float[] f文字拡大率 = new float[] { 1.04f, 1.11f, 1.15f, 1.19f, 1.23f, 1.26f, 1.30f, 1.31f, 1.32f, 1.32f, 1.32f, 1.30f, 1.30f, 1.26f, 1.25f, 1.19f, 1.15f, 1.11f, 1.05f, 1.0f };
int[] n透明度 = new int[] { 43, 85, 128, 170, 213, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255 };
if (this.ct進行メイン.n現在の値 >= 17)
if (TJAPlayer3.Tx.End_Clear_Text_ != null)
{
if (this.ct進行メイン.n現在の値 <= 36)
if (this.ct進行メイン.n現在の値 >= 17)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = f文字拡大率[this.ct進行メイン.n現在の値 - 17];
TJAPlayer3.Tx.End_Clear_Text_.Opacity = n透明度[this.ct進行メイン.n現在の値 - 17];
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 634, (int)(y[i] - ((90 * f文字拡大率[this.ct進行メイン.n現在の値 - 17]) - 90)), new Rectangle(0, 0, 90, 90));
if (this.ct進行メイン.n現在の値 <= 36)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = f文字拡大率[this.ct進行メイン.n現在の値 - 17];
TJAPlayer3.Tx.End_Clear_Text_.Opacity = n透明度[this.ct進行メイン.n現在の値 - 17];
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 634, (int)(y[i] - ((90 * f文字拡大率[this.ct進行メイン.n現在の値 - 17]) - 90)), new Rectangle(0, 0, 90, 90));
}
else
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 634, y[i], new Rectangle(0, 0, 90, 90));
}
}
else
if (this.ct進行メイン.n現在の値 >= 19)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 634, y[i], new Rectangle(0, 0, 90, 90));
}
}
if (this.ct進行メイン.n現在の値 >= 19)
{
if (this.ct進行メイン.n現在の値 <= 38)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = f文字拡大率[this.ct進行メイン.n現在の値 - 19];
TJAPlayer3.Tx.End_Clear_Text_.Opacity = n透明度[this.ct進行メイン.n現在の値 - 19];
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 692, (int)(y[i] - ((90 * f文字拡大率[this.ct進行メイン.n現在の値 - 19]) - 90)), new Rectangle(90, 0, 90, 90));
}
else
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 692, y[i], new Rectangle(90, 0, 90, 90));
}
}
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
if (this.ct進行メイン.n現在の値 >= 21)
{
if (this.ct進行メイン.n現在の値 <= 40)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = f文字拡大率[this.ct進行メイン.n現在の値 - 21];
TJAPlayer3.Tx.End_Clear_Text_.Opacity = n透明度[this.ct進行メイン.n現在の値 - 21];
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 750, y[i] - (int)((90 * f文字拡大率[this.ct進行メイン.n現在の値 - 21]) - 90), new Rectangle(180, 0, 90, 90));
}
else
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 750, y[i], new Rectangle(180, 0, 90, 90));
}
}
if (this.ct進行メイン.n現在の値 >= 23)
{
if (this.ct進行メイン.n現在の値 <= 42)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = f文字拡大率[this.ct進行メイン.n現在の値 - 23];
TJAPlayer3.Tx.End_Clear_Text_.Opacity = n透明度[this.ct進行メイン.n現在の値 - 23];
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 819, y[i] - (int)((90 * f文字拡大率[this.ct進行メイン.n現在の値 - 23]) - 90), new Rectangle(270, 0, 90, 90));
}
else
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 819, y[i], new Rectangle(270, 0, 90, 90));
}
}
if (this.ct進行メイン.n現在の値 >= 25)
{
if (this.ct進行メイン.n現在の値 <= 44)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = f文字拡大率[this.ct進行メイン.n現在の値 - 25];
TJAPlayer3.Tx.End_Clear_Text_.Opacity = n透明度[this.ct進行メイン.n現在の値 - 25];
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 890, (y[i] + 2) - (int)((90 * f文字拡大率[this.ct進行メイン.n現在の値 - 25]) - 90), new Rectangle(360, 0, 90, 90));
}
else
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 890, y[i] + 2, new Rectangle(360, 0, 90, 90));
}
}
if (this.ct進行メイン.n現在の値 >= 50 && this.ct進行メイン.n現在の値 < 90)
{
if (this.ct進行メイン.n現在の値 < 70)
{
TJAPlayer3.Tx.End_Clear_Text_Effect.Opacity = (this.ct進行メイン.n現在の値 - 50) * (255 / 20);
TJAPlayer3.Tx.End_Clear_Text_Effect.t2D描画(TJAPlayer3.app.Device, 634, y[i] - 2);
}
else
{
TJAPlayer3.Tx.End_Clear_Text_Effect.Opacity = 255 - ((this.ct進行メイン.n現在の値 - 70) * (255 / 20));
TJAPlayer3.Tx.End_Clear_Text_Effect.t2D描画(TJAPlayer3.app.Device, 634, y[i] - 2);
if (this.ct進行メイン.n現在の値 <= 38)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = f文字拡大率[this.ct進行メイン.n現在の値 - 19];
TJAPlayer3.Tx.End_Clear_Text_.Opacity = n透明度[this.ct進行メイン.n現在の値 - 19];
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 692, (int)(y[i] - ((90 * f文字拡大率[this.ct進行メイン.n現在の値 - 19]) - 90)), new Rectangle(90, 0, 90, 90));
}
else
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 692, y[i], new Rectangle(90, 0, 90, 90));
}
}
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
if (this.ct進行メイン.n現在の値 >= 21)
{
if (this.ct進行メイン.n現在の値 <= 40)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = f文字拡大率[this.ct進行メイン.n現在の値 - 21];
TJAPlayer3.Tx.End_Clear_Text_.Opacity = n透明度[this.ct進行メイン.n現在の値 - 21];
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 750, y[i] - (int)((90 * f文字拡大率[this.ct進行メイン.n現在の値 - 21]) - 90), new Rectangle(180, 0, 90, 90));
}
else
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 750, y[i], new Rectangle(180, 0, 90, 90));
}
}
if (this.ct進行メイン.n現在の値 >= 23)
{
if (this.ct進行メイン.n現在の値 <= 42)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = f文字拡大率[this.ct進行メイン.n現在の値 - 23];
TJAPlayer3.Tx.End_Clear_Text_.Opacity = n透明度[this.ct進行メイン.n現在の値 - 23];
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 819, y[i] - (int)((90 * f文字拡大率[this.ct進行メイン.n現在の値 - 23]) - 90), new Rectangle(270, 0, 90, 90));
}
else
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 819, y[i], new Rectangle(270, 0, 90, 90));
}
}
if (this.ct進行メイン.n現在の値 >= 25)
{
if (this.ct進行メイン.n現在の値 <= 44)
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = f文字拡大率[this.ct進行メイン.n現在の値 - 25];
TJAPlayer3.Tx.End_Clear_Text_.Opacity = n透明度[this.ct進行メイン.n現在の値 - 25];
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 890, (y[i] + 2) - (int)((90 * f文字拡大率[this.ct進行メイン.n現在の値 - 25]) - 90), new Rectangle(360, 0, 90, 90));
}
else
{
TJAPlayer3.Tx.End_Clear_Text_.vc拡大縮小倍率.Y = 1.0f;
TJAPlayer3.Tx.End_Clear_Text_.t2D描画(TJAPlayer3.app.Device, 890, y[i] + 2, new Rectangle(360, 0, 90, 90));
}
}
if (this.ct進行メイン.n現在の値 >= 50 && this.ct進行メイン.n現在の値 < 90)
{
if (TJAPlayer3.Tx.End_Clear_Text_Effect != null)
{
if (this.ct進行メイン.n現在の値 < 70)
{
TJAPlayer3.Tx.End_Clear_Text_Effect.Opacity = (this.ct進行メイン.n現在の値 - 50) * (255 / 20);
TJAPlayer3.Tx.End_Clear_Text_Effect.t2D描画(TJAPlayer3.app.Device, 634, y[i] - 2);
}
else
{
TJAPlayer3.Tx.End_Clear_Text_Effect.Opacity = 255 - ((this.ct進行メイン.n現在の値 - 70) * (255 / 20));
TJAPlayer3.Tx.End_Clear_Text_Effect.t2D描画(TJAPlayer3.app.Device, 634, y[i] - 2);
}
}
}
}
#endregion
#region[ ]
if (this.ct進行メイン.n現在の値 <= 11)
{
if (TJAPlayer3.Tx.End_Clear_L[1] != null)
@ -334,6 +347,7 @@ namespace TJAPlayer3
if (TJAPlayer3.Tx.End_Clear_R[4] != null)
TJAPlayer3.Tx.End_Clear_R[4].t2D描画(TJAPlayer3.app.Device, 956, y[i] - 30);
}
#endregion
}
@ -342,12 +356,12 @@ namespace TJAPlayer3
int[] y = new int[] { 0, 176 };
this.ctEnd_FullCombo.t進行();
TJAPlayer3.Tx.End_FullCombo[this.ctEnd_FullCombo.n現在の値].t2D描画(TJAPlayer3.app.Device, 330, y[i] + 50);
TJAPlayer3.Tx.End_FullCombo[this.ctEnd_FullCombo.n現在の値]?.t2D描画(TJAPlayer3.app.Device, 330, y[i] + 50);
if (this.ctEnd_FullCombo.b終了値に達した && TJAPlayer3.Tx.End_FullComboLoop[0] != null)
{
this.ctEnd_FullComboLoop.t進行Loop();
TJAPlayer3.Tx.End_FullComboLoop[this.ctEnd_FullComboLoop.n現在の値].t2D描画(TJAPlayer3.app.Device, 330, y[i] + 196);
TJAPlayer3.Tx.End_FullComboLoop[this.ctEnd_FullComboLoop.n現在の値]?.t2D描画(TJAPlayer3.app.Device, 330, y[i] + 196);
}
}
@ -356,8 +370,8 @@ namespace TJAPlayer3
int[] y = new int[] { 0, 176 };
this.ctEnd_DondaFullCombo.t進行();
if (this.ctEnd_DondaFullCombo.n現在の値 >= 34) TJAPlayer3.Tx.End_DondaFullComboBg.t2D描画(TJAPlayer3.app.Device, 332, y[i] + 192);
TJAPlayer3.Tx.End_DondaFullCombo[this.ctEnd_DondaFullCombo.n現在の値].t2D描画(TJAPlayer3.app.Device, 330, y[i] + 50);
if (this.ctEnd_DondaFullCombo.n現在の値 >= 34) TJAPlayer3.Tx.End_DondaFullComboBg?.t2D描画(TJAPlayer3.app.Device, 332, y[i] + 192);
TJAPlayer3.Tx.End_DondaFullCombo[this.ctEnd_DondaFullCombo.n現在の値]?.t2D描画(TJAPlayer3.app.Device, 330, y[i] + 50);
/*
if (this.ctEnd_DondaFullCombo.b終了値に達した)

View File

@ -153,7 +153,7 @@ namespace TJAPlayer3
TJAPlayer3.Tx.Balloon_Number_Roll.Opacity = 255;
}
TJAPlayer3.Tx.Balloon_Roll.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Balloon_Roll_Frame_X[player], TJAPlayer3.Skin.Game_Balloon_Roll_Frame_Y[player], new RectangleF(0 + bNowRollAnime * 334, 0, 334, 204)); ;
TJAPlayer3.Tx.Balloon_Roll?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Balloon_Roll_Frame_X[player], TJAPlayer3.Skin.Game_Balloon_Roll_Frame_Y[player], new RectangleF(0 + bNowRollAnime * 334, 0, 334, 204)); ;
this.t文字表示(TJAPlayer3.Skin.Game_Balloon_Roll_Number_X[player], TJAPlayer3.Skin.Game_Balloon_Roll_Number_Y[player], n連打数.ToString(), n連打数, player);
}
}

View File

@ -188,18 +188,26 @@ namespace TJAPlayer3
RollCharas[i].X += RollCharas[i].XAdd;
RollCharas[i].Y += RollCharas[i].YAdd;
}
TJAPlayer3.Tx.Effects_Roll[RollCharas[i].Type]?.t2D描画(TJAPlayer3.app.Device, RollCharas[i].X, RollCharas[i].Y);
// 画面外にいたら描画をやめさせる
if(RollCharas[i].X < 0 - TJAPlayer3.Tx.Effects_Roll[RollCharas[i].Type].szテクスチャサイズ.Width || RollCharas[i].X > 1280)
{
RollCharas[i].Counter.t停止();
RollCharas[i].IsUsing = false;
}
if (RollCharas[i].Y < 0 - TJAPlayer3.Tx.Effects_Roll[RollCharas[i].Type].szテクスチャサイズ.Height || RollCharas[i].Y > 720)
{
RollCharas[i].Counter.t停止();
RollCharas[i].IsUsing = false;
if (TJAPlayer3.Tx.Effects_Roll[RollCharas[i].Type] != null)
{
TJAPlayer3.Tx.Effects_Roll[RollCharas[i].Type]?.t2D描画(TJAPlayer3.app.Device, RollCharas[i].X, RollCharas[i].Y);
// 画面外にいたら描画をやめさせる
if (RollCharas[i].X < 0 - TJAPlayer3.Tx.Effects_Roll[RollCharas[i].Type].szテクスチャサイズ.Width || RollCharas[i].X > 1280)
{
RollCharas[i].Counter.t停止();
RollCharas[i].IsUsing = false;
}
if (RollCharas[i].Y < 0 - TJAPlayer3.Tx.Effects_Roll[RollCharas[i].Type].szテクスチャサイズ.Height || RollCharas[i].Y > 720)
{
RollCharas[i].Counter.t停止();
RollCharas[i].IsUsing = false;
}
}
}
}
}

View File

@ -2129,12 +2129,12 @@ namespace TJAPlayer3
if( pChip.bBranch )
{
//this.tx小節線_branch.t2D描画( CDTXMania.app.Device, x - 3, y, new Rectangle( 0, 0, 3, 130 ) );
TJAPlayer3.Tx.Bar_Branch.t3D描画( TJAPlayer3.app.Device, mat, new Rectangle( 0, 0, 3, 130 ) );
TJAPlayer3.Tx.Bar_Branch?.t3D描画( TJAPlayer3.app.Device, mat, new Rectangle( 0, 0, 3, 130 ) );
}
else
{
//this.tx小節線.t2D描画( CDTXMania.app.Device, x - 3, y, new Rectangle( 0, 0, 3, 130 ) );
TJAPlayer3.Tx.Bar.t3D描画( TJAPlayer3.app.Device, mat, new Rectangle( 0, 0, 3, 130 ) );
TJAPlayer3.Tx.Bar?.t3D描画( TJAPlayer3.app.Device, mat, new Rectangle( 0, 0, 3, 130 ) );
}
}
}

View File

@ -83,7 +83,7 @@ namespace TJAPlayer3
if(FireWork[i].IsUsing)
{
FireWork[i].Counter.t進行();
TJAPlayer3.Tx.Effects_Hit_FireWorks.t2D中心基準描画(TJAPlayer3.app.Device, (float)FireWork[i].X, (float)FireWork[i].Y, 1, new Rectangle(FireWork[i].Counter.n現在の値 * TJAPlayer3.Skin.Game_Effect_FireWorks[0], 0, TJAPlayer3.Skin.Game_Effect_FireWorks[0], TJAPlayer3.Skin.Game_Effect_FireWorks[1]));
TJAPlayer3.Tx.Effects_Hit_FireWorks?.t2D中心基準描画(TJAPlayer3.app.Device, (float)FireWork[i].X, (float)FireWork[i].Y, 1, new Rectangle(FireWork[i].Counter.n現在の値 * TJAPlayer3.Skin.Game_Effect_FireWorks[0], 0, TJAPlayer3.Skin.Game_Effect_FireWorks[0], TJAPlayer3.Skin.Game_Effect_FireWorks[1]));
if (FireWork[i].Counter.b終了値に達した)
{
FireWork[i].Counter.t停止();