太鼓タワーモードに関係する画像の位置を自由に変更可能に (#364)
* 太鼓タワーモードの画像の位置を自由に変更可能に * 打ち間違えの修正
This commit is contained in:
parent
d9a189f32f
commit
b3ff2575d1
@ -3667,6 +3667,14 @@ namespace TJAPlayer3
|
||||
{
|
||||
Gauge_Soul_Y_AI = int.Parse(strParam);
|
||||
}
|
||||
else if (strCommand == "Gauge_Soul_X_Tower")
|
||||
{
|
||||
Gauge_Soul_X_Tower = int.Parse(strParam);
|
||||
}
|
||||
else if (strCommand == "Gauge_Soul_Y_Tower")
|
||||
{
|
||||
Gauge_Soul_Y_Tower = int.Parse(strParam);
|
||||
}
|
||||
else if (strCommand == "Gauge_Soul_Fire_X")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
@ -3691,12 +3699,56 @@ namespace TJAPlayer3
|
||||
{
|
||||
Gauge_Soul_Fire_Y_AI = int.Parse(strParam);
|
||||
}
|
||||
else if (strCommand == "Gauge_Soul_Fire_X_Tower")
|
||||
{
|
||||
Gauge_Soul_Fire_X_Tower = int.Parse(strParam);
|
||||
}
|
||||
else if (strCommand == "Gauge_Soul_Fire_Y_Tower")
|
||||
{
|
||||
Gauge_Soul_Fire_Y_Tower = int.Parse(strParam);
|
||||
}
|
||||
else if (strCommand == "Game_Gauge_Rainbow_Timer")
|
||||
{
|
||||
if (int.Parse(strParam) != 0)
|
||||
{
|
||||
Game_Gauge_Rainbow_Timer = int.Parse(strParam);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Floor_Number")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Floor_Number[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Life_Number")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Life_Number[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Font_TouTatsuKaiSuu")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Font_TouTatsuKaiSuu[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Font_Kai")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Font_Kai[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Font_TowerText")
|
||||
{
|
||||
Game_Tower_Font_TowerText = int.Parse(strParam);
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -4399,6 +4451,81 @@ namespace TJAPlayer3
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Tower
|
||||
else if (strCommand == "Game_Tower_Sky_Gradient")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Sky_Gradient[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Sky_Gradient_Size")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Sky_Gradient_Size[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Floors_Body")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Floors_Body[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Floors_Deco")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Floors_Deco[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Floors_Move")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Floors_Move[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Don")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Don[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Don_Move")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Don_Move[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Miss")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Miss[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Game_Tower_Miss")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Game_Tower_Miss[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region AIBattle
|
||||
else if (strCommand == "Game_AIBattle_CharaMove")
|
||||
{
|
||||
@ -5176,6 +5303,7 @@ namespace TJAPlayer3
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region AIResult
|
||||
else if (strCommand == "Result_AIBattle_Batch")
|
||||
{
|
||||
@ -5435,9 +5563,96 @@ namespace TJAPlayer3
|
||||
else if (strCommand == "DanResult_Font_DanTitles_Size")
|
||||
{
|
||||
DanResult_Font_DanTitles_Size = int.Parse(strParam);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region TowerResult
|
||||
else if (strCommand == "TowerResult_ScoreRankEffect")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
TowerResult_ScoreRankEffect[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "TowerResult_Toutatsu")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
TowerResult_Toutatsu[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "TowerResult_MaxFloors")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
TowerResult_MaxFloors[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "TowerResult_Ten")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
TowerResult_Ten[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "TowerResult_Score")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
TowerResult_Score[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "TowerResult_CurrentFloor")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
TowerResult_CurrentFloor[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "TowerResult_ScoreCount")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
TowerResult_ScoreCount[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "TowerResult_RemainingLifes")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
TowerResult_RemainingLifes[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "TowerResult_Gauge_Soul")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
TowerResult_Gauge_Soul[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "TowerResult_Font_TowerText")
|
||||
{
|
||||
TowerResult_Font_TowerText = int.Parse(strParam);
|
||||
}
|
||||
else if (strCommand == "TowerResult_Font_TowerText48")
|
||||
{
|
||||
TowerResult_Font_TowerText48 = int.Parse(strParam);
|
||||
}
|
||||
else if (strCommand == "TowerResult_Font_TowerText72")
|
||||
{
|
||||
TowerResult_Font_TowerText72 = int.Parse(strParam);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Heya
|
||||
else if (strCommand == "Heya_Main_Menu_X")
|
||||
{
|
||||
@ -6342,10 +6557,14 @@ namespace TJAPlayer3
|
||||
public int[] Gauge_Soul_Y = new int[] { 125, 516 };
|
||||
public int Gauge_Soul_X_AI = 1200;
|
||||
public int Gauge_Soul_Y_AI = 140;
|
||||
public int Gauge_Soul_X_Tower = 958;
|
||||
public int Gauge_Soul_Y_Tower = 95;
|
||||
public int[] Gauge_Soul_Fire_X = new int[] { 1112, 1112 };
|
||||
public int[] Gauge_Soul_Fire_Y = new int[] { 52, 443 };
|
||||
public int Gauge_Soul_Fire_X_AI = 1143;
|
||||
public int Gauge_Soul_Fire_Y_AI = 83;
|
||||
public int Gauge_Soul_Fire_X_Tower = 886;
|
||||
public int Gauge_Soul_Fire_Y_Tower = 22;
|
||||
public int Game_Gauge_Rainbow_Ptn;
|
||||
public int Game_Gauge_Dan_Rainbow_Ptn;
|
||||
public int Game_Gauge_Rainbow_Timer = 50;
|
||||
@ -6502,6 +6721,28 @@ namespace TJAPlayer3
|
||||
public int Game_Training_SmallNumber_Width = 17;
|
||||
public int Game_Training_BigNumber_Width = 20;
|
||||
#endregion
|
||||
#region Tower
|
||||
public int[] Game_Tower_Sky_Gradient = new int[] { 0, 360 };
|
||||
public int[] Game_Tower_Sky_Gradient_Size = new int[] { 1280, 316 };
|
||||
|
||||
public int[] Game_Tower_Floors_Body = new int[] { 640, 676 };
|
||||
public int[] Game_Tower_Floors_Deco = new int[] { 460, 640 };
|
||||
public int[] Game_Tower_Floors_Move = new int[] { 0, 288 };
|
||||
|
||||
public int[] Game_Tower_Don = new int[] { 590, 648 };
|
||||
public int[] Game_Tower_Don_Move = new int[] { 300, 0 };
|
||||
|
||||
public int[] Game_Tower_Miss = new int[] { 640, 520 };
|
||||
|
||||
public int[] Game_Tower_Floor_Number = new int[] { 556, 84 };
|
||||
|
||||
public int[] Game_Tower_Life_Number = new int[] { 996, 106 };
|
||||
|
||||
public int[] Game_Tower_Font_TouTatsuKaiSuu = new int[] { 350, 32 };
|
||||
public int[] Game_Tower_Font_Kai = new int[] { 550, 104 };
|
||||
|
||||
public int Game_Tower_Font_TowerText = 28;
|
||||
#endregion
|
||||
#region AIBattle
|
||||
public int Game_AIBattle_CharaMove = 71;
|
||||
|
||||
@ -6726,6 +6967,27 @@ namespace TJAPlayer3
|
||||
|
||||
#endregion
|
||||
|
||||
#region TowerResult
|
||||
|
||||
public int[] TowerResult_ScoreRankEffect = new int[] { 1000, 220 };
|
||||
|
||||
public int[] TowerResult_Toutatsu = new int[] { 196, 160 };
|
||||
public int[] TowerResult_MaxFloors = new int[] { 616, 296 };
|
||||
public int[] TowerResult_Ten = new int[] { 982, 394 };
|
||||
public int[] TowerResult_Score = new int[] { 248, 394 };
|
||||
|
||||
public int[] TowerResult_CurrentFloor = new int[] { 688, 258 };
|
||||
public int[] TowerResult_ScoreCount = new int[] { 1026, 394 };
|
||||
public int[] TowerResult_RemainingLifes = new int[] { 1068, 490 };
|
||||
|
||||
public int[] TowerResult_Gauge_Soul = new int[] { 248, 474 };
|
||||
|
||||
public int TowerResult_Font_TowerText = 28;
|
||||
public int TowerResult_Font_TowerText48 = 48;
|
||||
public int TowerResult_Font_TowerText72 = 72;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Heya
|
||||
|
||||
public int[] Heya_Main_Menu_X = new int[] { 164, 164, 164, 164, 164 };
|
||||
|
@ -286,8 +286,8 @@ namespace TJAPlayer3
|
||||
yFactor = TJAPlayer3.Tx.TowerResult_Tower[currentTowerType].szテクスチャサイズ.Height / (float)TJAPlayer3.Tx.TowerResult_Background.szテクスチャサイズ.Height;
|
||||
}
|
||||
|
||||
float pos = (TJAPlayer3.Tx.TowerResult_Background.szテクスチャサイズ.Height - 720) -
|
||||
((ct待機.n現在の値 <= 1200 ? ct待機.n現在の値 / 10f : 120) / 120f * (TJAPlayer3.Tx.TowerResult_Background.szテクスチャサイズ.Height - 720));
|
||||
float pos = (TJAPlayer3.Tx.TowerResult_Background.szテクスチャサイズ.Height - TJAPlayer3.Skin.Resolution[1]) -
|
||||
((ct待機.n現在の値 <= 1200 ? ct待機.n現在の値 / 10f : 120) / 120f * (TJAPlayer3.Tx.TowerResult_Background.szテクスチャサイズ.Height - TJAPlayer3.Skin.Resolution[1]));
|
||||
|
||||
TJAPlayer3.Tx.TowerResult_Background?.t2D描画(TJAPlayer3.app.Device, 0, -1 * pos);
|
||||
TJAPlayer3.Tx.TowerResult_Tower[currentTowerType]?.t2D描画(TJAPlayer3.app.Device, xFactor, -1 * yFactor * pos);
|
||||
|
@ -183,11 +183,11 @@ namespace TJAPlayer3
|
||||
|
||||
if (!string.IsNullOrEmpty(TJAPlayer3.ConfigIni.FontName))
|
||||
{
|
||||
this.pfTowerText = new CPrivateFastFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), 28);
|
||||
this.pfTowerText = new CPrivateFastFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), TJAPlayer3.Skin.Game_Tower_Font_TowerText);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.pfTowerText = new CPrivateFastFont(new FontFamily("MS UI Gothic"), 28);
|
||||
this.pfTowerText = new CPrivateFastFont(new FontFamily("MS UI Gothic"), TJAPlayer3.Skin.Game_Tower_Font_TowerText);
|
||||
}
|
||||
|
||||
this.ttkTouTatsuKaiSuu = new TitleTextureKey(CLangManager.LangInstance.GetString(1000), pfTowerText, Color.White, Color.Black, 700);
|
||||
@ -433,8 +433,8 @@ namespace TJAPlayer3
|
||||
|
||||
if (TJAPlayer3.stage選曲.n確定された曲の難易度[0] == (int)Difficulty.Tower)
|
||||
{
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(ttkTouTatsuKaiSuu).t2D描画(TJAPlayer3.app.Device, 350, 32);
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(ttkKai).t2D描画(TJAPlayer3.app.Device, 550, 104);
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(ttkTouTatsuKaiSuu).t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Tower_Font_TouTatsuKaiSuu[0], TJAPlayer3.Skin.Game_Tower_Font_TouTatsuKaiSuu[1]);
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(ttkKai).t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Tower_Font_Kai[0], TJAPlayer3.Skin.Game_Tower_Font_Kai[1]);
|
||||
|
||||
this.ct炎.t進行Loop();
|
||||
CFloorManagement.loopFrames();
|
||||
@ -458,8 +458,8 @@ namespace TJAPlayer3
|
||||
{
|
||||
int currentNum = int.Parse(floorStr[idx].ToString());
|
||||
|
||||
TJAPlayer3.Tx.Taiko_Combo[0].t2D描画(TJAPlayer3.app.Device, 556 - ((digitLength - 8) * (len - idx) * 1.4f),
|
||||
84,
|
||||
TJAPlayer3.Tx.Taiko_Combo[0].t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Tower_Floor_Number[0] - ((digitLength - 8) * (len - idx) * 1.4f),
|
||||
TJAPlayer3.Skin.Game_Tower_Floor_Number[1],
|
||||
new Rectangle(digitLength * currentNum, 0,
|
||||
digitLength, TJAPlayer3.Tx.Taiko_Combo[0].szテクスチャサイズ.Height));
|
||||
}
|
||||
@ -468,11 +468,13 @@ namespace TJAPlayer3
|
||||
|
||||
#region [Life Tamashii icon]
|
||||
|
||||
int baseX = 886;
|
||||
int baseY = 22;
|
||||
int soulfire_width = TJAPlayer3.Tx.Gauge_Soul_Fire.szテクスチャサイズ.Width / 8;
|
||||
int soulfire_height = TJAPlayer3.Tx.Gauge_Soul_Fire.szテクスチャサイズ.Height;
|
||||
|
||||
TJAPlayer3.Tx.Gauge_Soul_Fire?.t2D描画(TJAPlayer3.app.Device, baseX, baseY, new Rectangle(230 * (this.ct炎.n現在の値), 0, 230, 230));
|
||||
TJAPlayer3.Tx.Gauge_Soul?.t2D描画(TJAPlayer3.app.Device, baseX + 72, baseY + 73, new Rectangle(0, 0, 80, 80));
|
||||
int soul_height = TJAPlayer3.Tx.Gauge_Soul.szテクスチャサイズ.Height / 2;
|
||||
|
||||
TJAPlayer3.Tx.Gauge_Soul_Fire?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Gauge_Soul_Fire_X_Tower, TJAPlayer3.Skin.Gauge_Soul_Fire_Y_Tower, new Rectangle(soulfire_width * (this.ct炎.n現在の値), 0, soulfire_width, soulfire_height));
|
||||
TJAPlayer3.Tx.Gauge_Soul?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Gauge_Soul_X_Tower, TJAPlayer3.Skin.Gauge_Soul_Y_Tower, new Rectangle(0, soul_height, TJAPlayer3.Tx.Gauge_Soul.szテクスチャサイズ.Width, soul_height));
|
||||
|
||||
#endregion
|
||||
|
||||
@ -503,8 +505,8 @@ namespace TJAPlayer3
|
||||
{
|
||||
int currentNum = int.Parse(lifeStr[len - idx - 1].ToString());
|
||||
|
||||
TJAPlayer3.Tx.Taiko_Combo[0].t2D描画(TJAPlayer3.app.Device, 996 + ((digitLength - 8) * (len - idx) * 1.1f),
|
||||
106,
|
||||
TJAPlayer3.Tx.Taiko_Combo[0].t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Tower_Life_Number[0] + ((digitLength - 8) * (len - idx) * 1.1f),
|
||||
TJAPlayer3.Skin.Game_Tower_Life_Number[1],
|
||||
new Rectangle(digitLength * currentNum, 0,
|
||||
digitLength, TJAPlayer3.Tx.Taiko_Combo[0].szテクスチャサイズ.Height));
|
||||
}
|
||||
@ -737,9 +739,10 @@ namespace TJAPlayer3
|
||||
|
||||
#region [Skybox]
|
||||
|
||||
int skyboxYPosition = (int)(5000 * (1f - (currentFloorPositionMax140 + progressFactor)));
|
||||
int skyboxYPosition = (int)((TJAPlayer3.Tx.Tower_Sky_Gradient.szテクスチャサイズ.Height - TJAPlayer3.Skin.Game_Tower_Sky_Gradient_Size[1]) * (1f - (currentFloorPositionMax140 + progressFactor)));
|
||||
|
||||
TJAPlayer3.Tx.Tower_Sky_Gradient?.t2D描画(TJAPlayer3.app.Device, 0, 360, new Rectangle(0, skyboxYPosition, 1280, 316));
|
||||
TJAPlayer3.Tx.Tower_Sky_Gradient?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Tower_Sky_Gradient[0], TJAPlayer3.Skin.Game_Tower_Sky_Gradient[1],
|
||||
new Rectangle(0, skyboxYPosition, TJAPlayer3.Skin.Game_Tower_Sky_Gradient_Size[0], TJAPlayer3.Skin.Game_Tower_Sky_Gradient_Size[1]));
|
||||
|
||||
#endregion
|
||||
|
||||
@ -763,35 +766,45 @@ namespace TJAPlayer3
|
||||
if (TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] == 0 && TJAPlayer3.Skin.Game_Tower_Ptn_Base[currentTower] > 1)
|
||||
towerBase++;
|
||||
|
||||
int heightChange = (int)(progressFactor * 288f);
|
||||
int widthChange = (int)(progressFactor * TJAPlayer3.Skin.Game_Tower_Floors_Move[0]);
|
||||
int heightChange = (int)(progressFactor * TJAPlayer3.Skin.Game_Tower_Floors_Move[1]);
|
||||
|
||||
// Current trunk
|
||||
if (TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] < maxFloor)
|
||||
TJAPlayer3.Tx.Tower_Base[currentTower][towerBase]?.t2D下中央基準描画(TJAPlayer3.app.Device, 640, 676 + heightChange); // 316 + 360
|
||||
TJAPlayer3.Tx.Tower_Base[currentTower][towerBase]?.t2D下中央基準描画(TJAPlayer3.app.Device,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Body[0] + widthChange,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Body[1] + heightChange); // 316 + 360
|
||||
else
|
||||
TJAPlayer3.Tx.Tower_Top[currentTower]?.t2D下中央基準描画(TJAPlayer3.app.Device, 640, 676 + heightChange);
|
||||
TJAPlayer3.Tx.Tower_Top[currentTower]?.t2D下中央基準描画(TJAPlayer3.app.Device,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Body[0] + widthChange,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Body[1] + heightChange);
|
||||
|
||||
// Current deco
|
||||
TJAPlayer3.Tx.Tower_Deco[currentTower][currentDeco]?.t2D下中央基準描画(TJAPlayer3.app.Device, 460, 640 + heightChange);
|
||||
TJAPlayer3.Tx.Tower_Deco[currentTower][currentDeco]?.t2D下中央基準描画(TJAPlayer3.app.Device,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Deco[0] + widthChange,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Deco[1] + heightChange);
|
||||
|
||||
int originY = TJAPlayer3.Skin.Game_Tower_Floors_Move[1] - heightChange;
|
||||
|
||||
// Next trunk
|
||||
if (TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] + 1 < maxFloor)
|
||||
TJAPlayer3.Tx.Tower_Base[currentTower][nextTowerBase]?.t2D下中央基準描画(TJAPlayer3.app.Device, 640, 388 + heightChange, // Current - 288
|
||||
new Rectangle(0, 288 - heightChange,
|
||||
TJAPlayer3.Tx.Tower_Base[currentTower][nextTowerBase].szテクスチャサイズ.Width,
|
||||
Math.Min(TJAPlayer3.Tx.Tower_Base[currentTower][nextTowerBase].szテクスチャサイズ.Height, heightChange + 28)));
|
||||
TJAPlayer3.Tx.Tower_Base[currentTower][nextTowerBase]?.t2D下中央基準描画(TJAPlayer3.app.Device,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Body[0] - TJAPlayer3.Skin.Game_Tower_Floors_Move[0] + widthChange,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Body[1] - TJAPlayer3.Skin.Game_Tower_Floors_Move[1] + heightChange,
|
||||
new Rectangle(0, originY, TJAPlayer3.Tx.Tower_Base[currentTower][nextTowerBase].szテクスチャサイズ.Width, TJAPlayer3.Tx.Tower_Base[currentTower][nextTowerBase].szテクスチャサイズ.Height - originY));
|
||||
else if (TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] + 1 == maxFloor)
|
||||
{
|
||||
TJAPlayer3.Tx.Tower_Top[currentTower]?.t2D下中央基準描画(TJAPlayer3.app.Device, 640, 388 + heightChange, // Current - 288
|
||||
new Rectangle(0, 351 - heightChange,
|
||||
TJAPlayer3.Tx.Tower_Top[currentTower].szテクスチャサイズ.Width,
|
||||
Math.Min(TJAPlayer3.Tx.Tower_Top[currentTower].szテクスチャサイズ.Height, heightChange + 28)));
|
||||
TJAPlayer3.Tx.Tower_Top[currentTower]?.t2D下中央基準描画(TJAPlayer3.app.Device,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Body[0] - TJAPlayer3.Skin.Game_Tower_Floors_Move[0] + widthChange,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Body[1] - TJAPlayer3.Skin.Game_Tower_Floors_Move[1] + heightChange,
|
||||
new Rectangle(0, originY, TJAPlayer3.Tx.Tower_Top[currentTower].szテクスチャサイズ.Width, TJAPlayer3.Tx.Tower_Top[currentTower].szテクスチャサイズ.Height - originY));
|
||||
}
|
||||
|
||||
// Next deco
|
||||
if (heightChange > 46 && TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] + 1 <= maxFloor)
|
||||
TJAPlayer3.Tx.Tower_Deco[currentTower][nextDeco]?.t2D下中央基準描画(TJAPlayer3.app.Device, 460, 352 + heightChange);
|
||||
if (TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] + 1 <= maxFloor)
|
||||
TJAPlayer3.Tx.Tower_Deco[currentTower][nextDeco]?.t2D下中央基準描画(TJAPlayer3.app.Device,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Deco[0] - TJAPlayer3.Skin.Game_Tower_Floors_Move[0] + widthChange,
|
||||
TJAPlayer3.Skin.Game_Tower_Floors_Deco[1] - TJAPlayer3.Skin.Game_Tower_Floors_Move[1] + heightChange);
|
||||
|
||||
|
||||
#endregion
|
||||
@ -811,19 +824,21 @@ namespace TJAPlayer3
|
||||
if (ctClimbAnimation.n現在の値 == 0 || ctClimbAnimation.n現在の値 == 1500)
|
||||
{
|
||||
int animDon = ctDonAnimation.n現在の値 % TJAPlayer3.Skin.Game_Tower_Ptn_Don_Standing[currentDon];
|
||||
TJAPlayer3.Tx.Tower_Don_Standing[currentDon][animDon]?.t2D下中央基準描画(TJAPlayer3.app.Device, 590, 648); // Center X - 50
|
||||
TJAPlayer3.Tx.Tower_Don_Standing[currentDon][animDon]?.t2D下中央基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Tower_Don[0], TJAPlayer3.Skin.Game_Tower_Don[1]); // Center X - 50
|
||||
}
|
||||
else if (ctClimbAnimation.n現在の値 <= 1000)
|
||||
{
|
||||
int animDon = ctDonAnimation.n現在の値 % TJAPlayer3.Skin.Game_Tower_Ptn_Don_Climbing[currentDon];
|
||||
int distDon = (int)(ctClimbAnimation.n現在の値 * (300 / 1000f));
|
||||
TJAPlayer3.Tx.Tower_Don_Climbing[currentDon][animDon]?.t2D下中央基準描画(TJAPlayer3.app.Device, 590 + distDon, 648);
|
||||
int distDonX = (int)(ctClimbAnimation.n現在の値 * (TJAPlayer3.Skin.Game_Tower_Don_Move[0] / 1000f));
|
||||
int distDonY = (int)(ctClimbAnimation.n現在の値 * (TJAPlayer3.Skin.Game_Tower_Don_Move[1] / 1000f));
|
||||
TJAPlayer3.Tx.Tower_Don_Climbing[currentDon][animDon]?.t2D下中央基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Tower_Don[0] + distDonX, TJAPlayer3.Skin.Game_Tower_Don[1] + distDonY);
|
||||
}
|
||||
else
|
||||
{
|
||||
int animDon = ctDonAnimation.n現在の値 % TJAPlayer3.Skin.Game_Tower_Ptn_Don_Running[currentDon];
|
||||
int distDon = (int)((1500 - ctClimbAnimation.n現在の値) * (300 / 500f));
|
||||
TJAPlayer3.Tx.Tower_Don_Running[currentDon][animDon]?.t2D下中央基準描画(TJAPlayer3.app.Device, 590 + distDon, 648);
|
||||
int distDonX = (int)((1500 - ctClimbAnimation.n現在の値) * (TJAPlayer3.Skin.Game_Tower_Don_Move[0] / 500f));
|
||||
int distDonY = (int)((1500 - ctClimbAnimation.n現在の値) * (TJAPlayer3.Skin.Game_Tower_Don_Move[1] / 500f));
|
||||
TJAPlayer3.Tx.Tower_Don_Running[currentDon][animDon]?.t2D下中央基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Tower_Don[0] + distDonX, TJAPlayer3.Skin.Game_Tower_Don[1] + distDonY);
|
||||
}
|
||||
|
||||
#endregion
|
||||
@ -834,7 +849,7 @@ namespace TJAPlayer3
|
||||
{
|
||||
if (TJAPlayer3.Tx.Tower_Miss != null)
|
||||
TJAPlayer3.Tx.Tower_Miss.Opacity = Math.Min(255, 1000 - CFloorManagement.InvincibilityFrames.n現在の値);
|
||||
TJAPlayer3.Tx.Tower_Miss?.t2D下中央基準描画(TJAPlayer3.app.Device, 640, 520);
|
||||
TJAPlayer3.Tx.Tower_Miss?.t2D下中央基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Tower_Miss[0], TJAPlayer3.Skin.Game_Tower_Miss[1]);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -687,7 +687,7 @@ namespace TJAPlayer3
|
||||
ctWork_Plate = new CCounter(0, 4000, 1, TJAPlayer3.Timer);
|
||||
|
||||
if (TJAPlayer3.Tx.TowerResult_Background != null)
|
||||
ctTower_Animation = new CCounter(0, TJAPlayer3.Tx.TowerResult_Background.szテクスチャサイズ.Height - 720, 25, TJAPlayer3.Timer);
|
||||
ctTower_Animation = new CCounter(0, TJAPlayer3.Tx.TowerResult_Background.szテクスチャサイズ.Height - TJAPlayer3.Skin.Resolution[1], 25, TJAPlayer3.Timer);
|
||||
else
|
||||
ctTower_Animation = new CCounter();
|
||||
|
||||
@ -700,15 +700,15 @@ namespace TJAPlayer3
|
||||
{
|
||||
if (!string.IsNullOrEmpty(TJAPlayer3.ConfigIni.FontName))
|
||||
{
|
||||
this.pfTowerText = new CPrivateFastFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), 28);
|
||||
this.pfTowerText48 = new CPrivateFastFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), 48);
|
||||
this.pfTowerText72 = new CPrivateFastFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), 72);
|
||||
this.pfTowerText = new CPrivateFastFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), TJAPlayer3.Skin.TowerResult_Font_TowerText);
|
||||
this.pfTowerText48 = new CPrivateFastFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), TJAPlayer3.Skin.TowerResult_Font_TowerText48);
|
||||
this.pfTowerText72 = new CPrivateFastFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), TJAPlayer3.Skin.TowerResult_Font_TowerText72);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.pfTowerText = new CPrivateFastFont(new FontFamily("MS UI Gothic"), 28);
|
||||
this.pfTowerText48 = new CPrivateFastFont(new FontFamily("MS UI Gothic"), 48);
|
||||
this.pfTowerText72 = new CPrivateFastFont(new FontFamily("MS UI Gothic"), 72);
|
||||
this.pfTowerText = new CPrivateFastFont(new FontFamily("MS UI Gothic"), TJAPlayer3.Skin.TowerResult_Font_TowerText);
|
||||
this.pfTowerText48 = new CPrivateFastFont(new FontFamily("MS UI Gothic"), TJAPlayer3.Skin.TowerResult_Font_TowerText48);
|
||||
this.pfTowerText72 = new CPrivateFastFont(new FontFamily("MS UI Gothic"), TJAPlayer3.Skin.TowerResult_Font_TowerText72);
|
||||
}
|
||||
|
||||
this.ttkMaxFloors = new TitleTextureKey("/" + TJAPlayer3.stage選曲.r確定された曲.arスコア[5].譜面情報.nTotalFloor.ToString() + CLangManager.LangInstance.GetString(1001), pfTowerText48, Color.Black, Color.Transparent, 700);
|
||||
@ -1307,14 +1307,17 @@ namespace TJAPlayer3
|
||||
TJAPlayer3.act文字コンソール.tPrint(0, 40, C文字コンソール.Eフォント種別.白, sc.ToString());
|
||||
|
||||
if (sc >= 0 && TJAPlayer3.Tx.TowerResult_ScoreRankEffect != null)
|
||||
{
|
||||
{
|
||||
int scoreRankEffect_width = TJAPlayer3.Tx.TowerResult_ScoreRankEffect.szテクスチャサイズ.Width / 7;
|
||||
int scoreRankEffect_height = TJAPlayer3.Tx.TowerResult_ScoreRankEffect.szテクスチャサイズ.Height;
|
||||
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.Opacity = 255;
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.vc拡大縮小倍率.X = 1f;
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.vc拡大縮小倍率.Y = 1f;
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device,
|
||||
1000,
|
||||
220,
|
||||
new Rectangle(sc * 229, 0, 229, 194));
|
||||
TJAPlayer3.Skin.TowerResult_ScoreRankEffect[0],
|
||||
TJAPlayer3.Skin.TowerResult_ScoreRankEffect[1],
|
||||
new Rectangle(sc * scoreRankEffect_width, 0, scoreRankEffect_width, scoreRankEffect_height));
|
||||
}
|
||||
|
||||
|
||||
@ -1323,23 +1326,23 @@ namespace TJAPlayer3
|
||||
|
||||
#region [Text elements]
|
||||
|
||||
int firstRowY = 394;
|
||||
int secondRowY = firstRowY + 96;
|
||||
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkToutatsu)?.t2D描画(TJAPlayer3.app.Device, 196, 160);
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkMaxFloors)?.t2D描画(TJAPlayer3.app.Device, 616, 296);
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkTen)?.t2D描画(TJAPlayer3.app.Device, 982, firstRowY);
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkScore)?.t2D描画(TJAPlayer3.app.Device, 248, firstRowY);
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkToutatsu)?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.TowerResult_Toutatsu[0], TJAPlayer3.Skin.TowerResult_Toutatsu[1]);
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkMaxFloors)?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.TowerResult_MaxFloors[0], TJAPlayer3.Skin.TowerResult_MaxFloors[1]);
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkTen)?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.TowerResult_Ten[0], TJAPlayer3.Skin.TowerResult_Ten[1]);
|
||||
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkScore)?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.TowerResult_Score[0], TJAPlayer3.Skin.TowerResult_Score[1]);
|
||||
|
||||
CTexture tmpScoreCount = TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkScoreCount);
|
||||
CTexture tmpCurrentFloor = TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkReachedFloor);
|
||||
CTexture tmpRemainingLifes = TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkRemaningLifes);
|
||||
|
||||
tmpCurrentFloor?.t2D描画(TJAPlayer3.app.Device, 616 - tmpCurrentFloor.szテクスチャサイズ.Width + 72, 258);
|
||||
tmpScoreCount?.t2D描画(TJAPlayer3.app.Device, 1014 - tmpScoreCount.szテクスチャサイズ.Width + 12, firstRowY);
|
||||
tmpRemainingLifes?.t2D描画(TJAPlayer3.app.Device, 1014 - tmpRemainingLifes.szテクスチャサイズ.Width + 54, secondRowY);
|
||||
tmpCurrentFloor?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.TowerResult_CurrentFloor[0] - tmpCurrentFloor.szテクスチャサイズ.Width, TJAPlayer3.Skin.TowerResult_CurrentFloor[1]);
|
||||
tmpScoreCount?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.TowerResult_ScoreCount[0] - tmpScoreCount.szテクスチャサイズ.Width, TJAPlayer3.Skin.TowerResult_ScoreCount[1]);
|
||||
tmpRemainingLifes?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.TowerResult_RemainingLifes[0] - tmpRemainingLifes.szテクスチャサイズ.Width, TJAPlayer3.Skin.TowerResult_RemainingLifes[1]);
|
||||
|
||||
TJAPlayer3.Tx.Gauge_Soul?.t2D描画(TJAPlayer3.app.Device, 248, secondRowY - 16, new Rectangle(0, 0, 80, 80));
|
||||
int soul_width = TJAPlayer3.Tx.Gauge_Soul.szテクスチャサイズ.Width;
|
||||
int soul_height = TJAPlayer3.Tx.Gauge_Soul.szテクスチャサイズ.Height / 2;
|
||||
|
||||
TJAPlayer3.Tx.Gauge_Soul?.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.TowerResult_Gauge_Soul[0], TJAPlayer3.Skin.TowerResult_Gauge_Soul[1], new Rectangle(0, 0, soul_width, soul_height));
|
||||
|
||||
#endregion
|
||||
|
||||
|
@ -197,6 +197,11 @@ Gauge_Soul_X_AI=1200
|
||||
Gauge_Soul_Y_AI=140
|
||||
|
||||
|
||||
Gauge_Soul_X_Tower=958
|
||||
|
||||
Gauge_Soul_Y_Tower=95
|
||||
|
||||
|
||||
Gauge_Soul_Fire_X=1112,1112
|
||||
|
||||
Gauge_Soul_Fire_Y=52,443
|
||||
@ -207,6 +212,11 @@ Gauge_Soul_Fire_X_AI=1143
|
||||
Gauge_Soul_Fire_Y_AI=83
|
||||
|
||||
|
||||
Gauge_Soul_Fire_X_Tower=886
|
||||
|
||||
Gauge_Soul_Fire_Y_Tower=22
|
||||
|
||||
|
||||
Game_Balloon_Combo_X=253,253
|
||||
|
||||
Game_Balloon_Combo_Y=-11,538
|
||||
@ -415,6 +425,39 @@ Game_Training_SmallNumber_Width=26
|
||||
Game_Training_BigNumber_Width=20
|
||||
|
||||
|
||||
Game_Tower_Sky_Gradient=0,360
|
||||
|
||||
Game_Tower_Sky_Gradient_Size=1280,316
|
||||
|
||||
|
||||
Game_Tower_Floors_Body=640,676
|
||||
|
||||
Game_Tower_Floors_Deco=460,640
|
||||
|
||||
Game_Tower_Floors_Move=0,288
|
||||
|
||||
|
||||
Game_Tower_Don=590,648
|
||||
|
||||
Game_Tower_Don_Move=300,0
|
||||
|
||||
|
||||
Game_Tower_Miss=640,520
|
||||
|
||||
|
||||
Game_Tower_Floor_Number=556,84
|
||||
|
||||
Game_Tower_Life_Number=996,106
|
||||
|
||||
|
||||
Game_Tower_Font_TouTatsuKaiSuu=350,32
|
||||
|
||||
Game_Tower_Font_Kai=550,104
|
||||
|
||||
|
||||
Game_Tower_Font_TowerText=28
|
||||
|
||||
|
||||
Game_AIBattle_CharaMove=71
|
||||
|
||||
Game_AIBattle_SectionTime_Panel=202,178
|
||||
|
@ -17,4 +17,5 @@ Creator=0AuBSQ
|
||||
#include GameConfig.ini
|
||||
#include ResultConfig.ini
|
||||
#include AIResultConfig.ini
|
||||
#include DanResultConfig.ini
|
||||
#include DanResultConfig.ini
|
||||
#include TowerResultConfig.ini
|
32
Test/System/SimpleStyle/TowerResultConfig.ini
Normal file
32
Test/System/SimpleStyle/TowerResultConfig.ini
Normal file
@ -0,0 +1,32 @@
|
||||
;Included file
|
||||
;あとは通常通り設定できます
|
||||
; TJAPlayer3-Develop-ReWriteで追加したSkinConfig
|
||||
|
||||
|
||||
TowerResult_ScoreRankEffect=1000,220
|
||||
|
||||
|
||||
TowerResult_Toutatsu=196,160
|
||||
|
||||
TowerResult_MaxFloors=616,296
|
||||
|
||||
TowerResult_Ten=982,394
|
||||
|
||||
TowerResult_Score=248,394
|
||||
|
||||
|
||||
TowerResult_CurrentFloor=688,258
|
||||
|
||||
TowerResult_ScoreCount=1026,394
|
||||
|
||||
TowerResult_RemainingLifes=1068,490
|
||||
|
||||
|
||||
TowerResult_Gauge_Soul=248,474
|
||||
|
||||
|
||||
TowerResult_Font_TowerText=28
|
||||
|
||||
TowerResult_Font_TowerText48=48
|
||||
|
||||
TowerResult_Font_TowerText72=72
|
Loading…
x
Reference in New Issue
Block a user