Changing game lyric anchor + disabling lyrics on 4P+ (#459)
* Basic WebVTT support for song lyrics * Sample VTTs for existing OpenTaiko Originals - DON'T LOOK BACK - Dear Stars - Forever Fading Away - TRIPLE HELIX * Change lyric anchor & disable lyrics for 4P+ * oops hang on, forgot something
This commit is contained in:
parent
e6a5968021
commit
e9d86f5a7d
@ -4004,7 +4004,7 @@ namespace TJAPlayer3
|
||||
|
||||
this.listChip.Add(chip);
|
||||
}
|
||||
else if (command == "#LYRIC" && !usingLyricsFile) // Do not parse LYRIC tags if a lyric file is already loaded
|
||||
else if (command == "#LYRIC" && !usingLyricsFile && TJAPlayer3.ConfigIni.nPlayerCount < 4) // Do not parse LYRIC tags if a lyric file is already loaded
|
||||
{
|
||||
if (TJAPlayer3.r現在のステージ.eステージID == CStage.Eステージ.曲読み込み)//起動時に重たくなってしまう問題の修正用
|
||||
this.listLyric.Add(this.pf歌詞フォント.DrawPrivateFont(argument, TJAPlayer3.Skin.Game_Lyric_ForeColor, TJAPlayer3.Skin.Game_Lyric_BackColor));
|
||||
@ -5422,7 +5422,7 @@ namespace TJAPlayer3
|
||||
this.bHIDDENBRANCH = true;
|
||||
}
|
||||
}
|
||||
else if (strCommandName.Equals("LYRICS") && !usingLyricsFile)
|
||||
else if (strCommandName.Equals("LYRICS") && !usingLyricsFile && TJAPlayer3.ConfigIni.nPlayerCount < 4)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(strCommandParam))
|
||||
{
|
||||
@ -5463,7 +5463,7 @@ namespace TJAPlayer3
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (strCommandName.Equals("LYRICFILE") && !usingLyricsFile)
|
||||
else if (strCommandName.Equals("LYRICFILE") && !usingLyricsFile && TJAPlayer3.ConfigIni.nPlayerCount < 4)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(strCommandParam))
|
||||
{
|
||||
|
@ -180,15 +180,15 @@ namespace TJAPlayer3
|
||||
{
|
||||
if (TJAPlayer3.Skin.Game_Lyric_ReferencePoint == CSkin.ReferencePoint.Left)
|
||||
{
|
||||
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X , TJAPlayer3.Skin.Game_Lyric_Y);
|
||||
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X , TJAPlayer3.Skin.Game_Lyric_Y - (this.tx歌詞テクスチャ.szテクスチャサイズ.Height));
|
||||
}
|
||||
else if (TJAPlayer3.Skin.Game_Lyric_ReferencePoint == CSkin.ReferencePoint.Right)
|
||||
{
|
||||
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X - this.tx歌詞テクスチャ.szテクスチャサイズ.Width, TJAPlayer3.Skin.Game_Lyric_Y);
|
||||
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X - this.tx歌詞テクスチャ.szテクスチャサイズ.Width, TJAPlayer3.Skin.Game_Lyric_Y - (this.tx歌詞テクスチャ.szテクスチャサイズ.Height));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X - (this.tx歌詞テクスチャ.szテクスチャサイズ.Width / 2), TJAPlayer3.Skin.Game_Lyric_Y);
|
||||
this.tx歌詞テクスチャ.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.Game_Lyric_X - (this.tx歌詞テクスチャ.szテクスチャサイズ.Width / 2), TJAPlayer3.Skin.Game_Lyric_Y - (this.tx歌詞テクスチャ.szテクスチャサイズ.Height));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ Game_Lyric_FontSize=57
|
||||
|
||||
Game_Lyric_X=960
|
||||
|
||||
Game_Lyric_Y=945
|
||||
Game_Lyric_Y=1065
|
||||
|
||||
|
||||
Game_Judge_X=546,546
|
||||
|
Loading…
x
Reference in New Issue
Block a user