From c0e44f4fc52549197b5581990e9619f22c30d074 Mon Sep 17 00:00:00 2001 From: 0auBSQ <58159635+0auBSQ@users.noreply.github.com> Date: Fri, 27 Jan 2023 20:46:06 +0900 Subject: [PATCH] Anchor down the characters on AI battle mode --- TJAPlayer3/Stages/01.StartUp/TextureLoader.cs | 2 +- TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsキャラクター.cs | 1 + Test/Global/Characters/Template/CharaConfig.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TJAPlayer3/Stages/01.StartUp/TextureLoader.cs b/TJAPlayer3/Stages/01.StartUp/TextureLoader.cs index e79c7f7e..10de7a7d 100644 --- a/TJAPlayer3/Stages/01.StartUp/TextureLoader.cs +++ b/TJAPlayer3/Stages/01.StartUp/TextureLoader.cs @@ -1406,7 +1406,7 @@ namespace TJAPlayer3 TJAPlayer3.Skin.Characters_X[i] = new int[] { 0, 0 }; TJAPlayer3.Skin.Characters_Y[i] = new int[] { 0, 537 }; TJAPlayer3.Skin.Characters_X_AI[i] = new int[] { 472, 602 }; - TJAPlayer3.Skin.Characters_Y_AI[i] = new int[] { 42, 42 }; + TJAPlayer3.Skin.Characters_Y_AI[i] = new int[] { 152, 152 }; TJAPlayer3.Skin.Characters_Balloon_X[i] = new int[] { 240, 240, 0, 0 }; TJAPlayer3.Skin.Characters_Balloon_Y[i] = new int[] { 0, 297, 0, 0 }; TJAPlayer3.Skin.Characters_Motion_Normal[i] = "0"; diff --git a/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsキャラクター.cs b/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsキャラクター.cs index dc5d5c2c..1b25ae2e 100644 --- a/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsキャラクター.cs +++ b/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsキャラクター.cs @@ -370,6 +370,7 @@ namespace TJAPlayer3 if (TJAPlayer3.ConfigIni.bAIBattleMode) { chara_x += TJAPlayer3.Skin.Game_AIBattle_CharaMove * TJAPlayer3.stage演奏ドラム画面.AIBattleState; + chara_y -= nowChara.szテクスチャサイズ.Height * charaScale; // Center down } nowChara.vc拡大縮小倍率.X = charaScale; diff --git a/Test/Global/Characters/Template/CharaConfig.txt b/Test/Global/Characters/Template/CharaConfig.txt index 9f5b86ed..1da13c78 100644 --- a/Test/Global/Characters/Template/CharaConfig.txt +++ b/Test/Global/Characters/Template/CharaConfig.txt @@ -11,7 +11,7 @@ Game_Chara_Y=0,537 Game_Chara_X_AI=472,602 ;キャラのY座標。(1P,2P) -Game_Chara_Y_AI=42,42 +Game_Chara_Y_AI=152,152 ;キャラの通常時モーション指定。(カンマ区切り) Game_Chara_Motion_Normal=0