読み込み画面のキャラの移動距離を変更可能に (#331)
This commit is contained in:
parent
00e982ddfc
commit
26b45e3e18
@ -2477,6 +2477,14 @@ namespace TJAPlayer3
|
|||||||
{
|
{
|
||||||
if (int.Parse(strParam) > 0)
|
if (int.Parse(strParam) > 0)
|
||||||
SongLoading_SubTitle_FontSize = int.Parse(strParam);
|
SongLoading_SubTitle_FontSize = int.Parse(strParam);
|
||||||
|
}
|
||||||
|
else if (strCommand == "SongLoading_Chara_Move")
|
||||||
|
{
|
||||||
|
string[] strSplit = strParam.Split(',');
|
||||||
|
for (int i = 0; i < 2; i++)
|
||||||
|
{
|
||||||
|
SongLoading_Chara_Move[i] = int.Parse(strSplit[i]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (strCommand == nameof(SongLoading_Plate_ReferencePoint))
|
else if (strCommand == nameof(SongLoading_Plate_ReferencePoint))
|
||||||
{
|
{
|
||||||
@ -4126,6 +4134,7 @@ namespace TJAPlayer3
|
|||||||
public int SongLoading_SubTitle_Y = 325;
|
public int SongLoading_SubTitle_Y = 325;
|
||||||
public int SongLoading_Title_FontSize = 31;
|
public int SongLoading_Title_FontSize = 31;
|
||||||
public int SongLoading_SubTitle_FontSize = 20;
|
public int SongLoading_SubTitle_FontSize = 20;
|
||||||
|
public int[] SongLoading_Chara_Move = new int[] { 250, -80 };
|
||||||
public ReferencePoint SongLoading_Plate_ReferencePoint = ReferencePoint.Center;
|
public ReferencePoint SongLoading_Plate_ReferencePoint = ReferencePoint.Center;
|
||||||
public ReferencePoint SongLoading_Title_ReferencePoint = ReferencePoint.Center;
|
public ReferencePoint SongLoading_Title_ReferencePoint = ReferencePoint.Center;
|
||||||
public ReferencePoint SongLoading_SubTitle_ReferencePoint = ReferencePoint.Center;
|
public ReferencePoint SongLoading_SubTitle_ReferencePoint = ReferencePoint.Center;
|
||||||
|
@ -176,7 +176,7 @@ namespace TJAPlayer3
|
|||||||
TJAPlayer3.Tx.SongLoading_Plate.Opacity = (int)opacity;
|
TJAPlayer3.Tx.SongLoading_Plate.Opacity = (int)opacity;
|
||||||
TJAPlayer3.Tx.SongLoading_Plate.vc拡大縮小倍率.X = scaleX;
|
TJAPlayer3.Tx.SongLoading_Plate.vc拡大縮小倍率.X = scaleX;
|
||||||
TJAPlayer3.Tx.SongLoading_Plate.vc拡大縮小倍率.Y = scaleY;
|
TJAPlayer3.Tx.SongLoading_Plate.vc拡大縮小倍率.Y = scaleY;
|
||||||
TJAPlayer3.Tx.SongLoading_Plate.t2D描画(TJAPlayer3.app.Device, SizeX_Harf - (SizeX_Harf * scaleX) + (1280.0f / 2.0f) - SizeX_Harf, TJAPlayer3.Skin.SongLoading_Plate_Y - SizeY_Harf + ((1f - scaleY) * SizeY_Harf));
|
TJAPlayer3.Tx.SongLoading_Plate.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.SongLoading_Plate_X + SizeX_Harf - (SizeX_Harf * scaleX) - SizeX_Harf, TJAPlayer3.Skin.SongLoading_Plate_Y - SizeY_Harf + ((1f - scaleY) * SizeY_Harf));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DrawChara(double time, float opacity, float X = -1, float Y = -1)
|
public void DrawChara(double time, float opacity, float X = -1, float Y = -1)
|
||||||
@ -187,15 +187,15 @@ namespace TJAPlayer3
|
|||||||
|
|
||||||
if (X == -1 && Y == -1)
|
if (X == -1 && Y == -1)
|
||||||
{
|
{
|
||||||
Y = -(float)(Math.Sin((time - 680f) * (Math.PI / 320.0)) * 80f);
|
Y = (float)(Math.Sin((time - 680f) * (Math.PI / 320.0)) * TJAPlayer3.Skin.SongLoading_Chara_Move[1]);
|
||||||
X = (float)((time - 680f) / 320.0) * 250f;
|
X = (float)((time - 680f) / 320.0) * TJAPlayer3.Skin.SongLoading_Chara_Move[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
TJAPlayer3.Tx.SongLoading_Chara.Opacity = (int)opacity;
|
TJAPlayer3.Tx.SongLoading_Chara.Opacity = (int)opacity;
|
||||||
//左どんちゃん
|
//左どんちゃん
|
||||||
TJAPlayer3.Tx.SongLoading_Chara.t2D描画(TJAPlayer3.app.Device, -250f + X, Y, new RectangleF(0, 0, SizeXHarf, SizeY));
|
TJAPlayer3.Tx.SongLoading_Chara.t2D描画(TJAPlayer3.app.Device, -TJAPlayer3.Skin.SongLoading_Chara_Move[0] + X, Y, new RectangleF(0, 0, SizeXHarf, SizeY));
|
||||||
//左どんちゃん
|
//左どんちゃん
|
||||||
TJAPlayer3.Tx.SongLoading_Chara.t2D描画(TJAPlayer3.app.Device, SizeXHarf + 250f - X, Y, new RectangleF(SizeXHarf, 0, SizeXHarf, SizeY));
|
TJAPlayer3.Tx.SongLoading_Chara.t2D描画(TJAPlayer3.app.Device, SizeXHarf + TJAPlayer3.Skin.SongLoading_Chara_Move[0] - X, Y, new RectangleF(SizeXHarf, 0, SizeXHarf, SizeY));
|
||||||
}
|
}
|
||||||
|
|
||||||
// その他
|
// その他
|
||||||
|
@ -15,6 +15,7 @@ Game_Taiko_NamePlate_Y=297,371
|
|||||||
#include TitleConfig.ini
|
#include TitleConfig.ini
|
||||||
#include ConfigConfig.ini
|
#include ConfigConfig.ini
|
||||||
#include SongSelectConfig.ini
|
#include SongSelectConfig.ini
|
||||||
|
#include SongLoadingConfig.ini
|
||||||
|
|
||||||
Game_Notes_Anime=1
|
Game_Notes_Anime=1
|
||||||
|
|
||||||
|
25
Test/System/SimpleStyle/SongLoadingConfig.ini
Normal file
25
Test/System/SimpleStyle/SongLoadingConfig.ini
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
;Included file
|
||||||
|
;あとは通常通り設定できます
|
||||||
|
|
||||||
|
|
||||||
|
SongLoading_Plate_X=640
|
||||||
|
|
||||||
|
SongLoading_Plate_Y=360
|
||||||
|
|
||||||
|
|
||||||
|
SongLoading_Title_X=640
|
||||||
|
|
||||||
|
SongLoading_Title_Y=280
|
||||||
|
|
||||||
|
|
||||||
|
SongLoading_SubTitle_X=640
|
||||||
|
|
||||||
|
SongLoading_SubTitle_Y=325
|
||||||
|
|
||||||
|
|
||||||
|
SongLoading_Title_FontSize=31
|
||||||
|
|
||||||
|
SongLoading_SubTitle_FontSize=20
|
||||||
|
|
||||||
|
|
||||||
|
SongLoading_Chara_Move=250,-80
|
Loading…
Reference in New Issue
Block a user