Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.

Commit

Permalink
背景動画がない場合レーンを不透明にし、ある場合もBGAlphaから透明度を取得するようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
AioiLight committed Apr 21, 2019
1 parent 450379c commit f7ebb20
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsレーン太鼓.cs
Original file line number Diff line number Diff line change
Expand Up @@ -687,11 +687,17 @@ public override int On進行描画()



if (TJAPlayer3.ConfigIni.bAVI有効)
if (TJAPlayer3.ConfigIni.bAVI有効 && TJAPlayer3.DTX.listAVI.Count > 0)
{
if(TJAPlayer3.Tx.Lane_Background_Main != null) TJAPlayer3.Tx.Lane_Background_Main.n透明度 = 200;
if(TJAPlayer3.Tx.Lane_Background_Sub != null) TJAPlayer3.Tx.Lane_Background_Sub.n透明度 = 200;
if(TJAPlayer3.Tx.Lane_Background_GoGo != null) TJAPlayer3.Tx.Lane_Background_GoGo.n透明度 = 200;
if (TJAPlayer3.Tx.Lane_Background_Main != null) TJAPlayer3.Tx.Lane_Background_Main.n透明度 = TJAPlayer3.ConfigIni.nBGAlpha;
if(TJAPlayer3.Tx.Lane_Background_Sub != null) TJAPlayer3.Tx.Lane_Background_Sub.n透明度 = TJAPlayer3.ConfigIni.nBGAlpha;
if (TJAPlayer3.Tx.Lane_Background_GoGo != null) TJAPlayer3.Tx.Lane_Background_GoGo.n透明度 = TJAPlayer3.ConfigIni.nBGAlpha;
}
else
{
if (TJAPlayer3.Tx.Lane_Background_Main != null) TJAPlayer3.Tx.Lane_Background_Main.n透明度 = 255;
if (TJAPlayer3.Tx.Lane_Background_Sub != null) TJAPlayer3.Tx.Lane_Background_Sub.n透明度 = 255;
if (TJAPlayer3.Tx.Lane_Background_GoGo != null) TJAPlayer3.Tx.Lane_Background_GoGo.n透明度 = 255;
}

//CDTXMania.act文字コンソール.tPrint(0, 0, C文字コンソール.Eフォント種別.白, this.nBranchレイヤー透明度.ToString());
Expand Down

0 comments on commit f7ebb20

Please sign in to comment.