(Pre. v0.5.0) Fix small bugs and add decorations
This commit is contained in:
parent
d8d29e59a0
commit
2f9d7db208
@ -597,27 +597,33 @@ namespace TJAPlayer3
|
||||
int nextTowerBase = ((TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] + 1) / 10) % TJAPlayer3.Skin.Game_Tower_Ptn_Base[currentTower];
|
||||
int towerBase = (TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] / 10) % TJAPlayer3.Skin.Game_Tower_Ptn_Base[currentTower];
|
||||
|
||||
int heightChange = (int)(progressFactor * 288f);
|
||||
int currentDeco = TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] % TJAPlayer3.Skin.Game_Tower_Ptn_Deco[currentTower];
|
||||
int nextDeco = (TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] + 1) % TJAPlayer3.Skin.Game_Tower_Ptn_Deco[currentTower];
|
||||
|
||||
/*
|
||||
if (ctSlideAnimation != null)
|
||||
{
|
||||
TJAPlayer3.act文字コンソール.tPrint(0, 0, C文字コンソール.Eフォント種別.白, ctSlideAnimation.n現在の値.ToString());
|
||||
TJAPlayer3.act文字コンソール.tPrint(0, 10, C文字コンソール.Eフォント種別.白, progressFactor.ToString());
|
||||
TJAPlayer3.act文字コンソール.tPrint(0, 20, C文字コンソール.Eフォント種別.白, heightChange.ToString());
|
||||
}
|
||||
*/
|
||||
|
||||
// Microfix for the first floor suddenly changing texture
|
||||
if (TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] == 0 && TJAPlayer3.Skin.Game_Tower_Ptn_Deco[currentTower] > 1)
|
||||
currentDeco++;
|
||||
if (TJAPlayer3.stage演奏ドラム画面.actPlayInfo.NowMeasure[0] == 0 && TJAPlayer3.Skin.Game_Tower_Ptn_Base[currentTower] > 1)
|
||||
towerBase++;
|
||||
|
||||
int heightChange = (int)(progressFactor * 288f);
|
||||
|
||||
// Current trunk
|
||||
TJAPlayer3.Tx.Tower_Base[currentTower][towerBase]?.t2D下中央基準描画(TJAPlayer3.app.Device, 640, 676 + heightChange); // 316 + 360
|
||||
|
||||
// Current deco
|
||||
TJAPlayer3.Tx.Tower_Deco[currentTower][currentDeco]?.t2D下中央基準描画(TJAPlayer3.app.Device, 460, 640 + heightChange);
|
||||
|
||||
// Next trunk
|
||||
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)));
|
||||
|
||||
// Next deco
|
||||
if (heightChange > 46)
|
||||
TJAPlayer3.Tx.Tower_Deco[currentTower][nextDeco]?.t2D下中央基準描画(TJAPlayer3.app.Device, 460, 352 + heightChange);
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
@ -651,9 +657,6 @@ namespace TJAPlayer3
|
||||
TJAPlayer3.Tx.Tower_Don_Running[currentDon][animDon]?.t2D下中央基準描画(TJAPlayer3.app.Device, 590 + distDon, 648);
|
||||
}
|
||||
|
||||
|
||||
// Move 300 right, then 300 left
|
||||
|
||||
#endregion
|
||||
|
||||
ctSlideAnimation?.t進行();
|
||||
|
Loading…
Reference in New Issue
Block a user