From 7659bc1dcb64ecc853212e90375a25b62509fe19 Mon Sep 17 00:00:00 2001 From: swrring Date: Sun, 29 Nov 2026 01:37:44 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8A=9C=ED=86=A0=EB=A6=AC=EC=96=BC=20?= =?UTF-8?q?=EA=B0=9C=EC=84=A0=20=EC=98=AC=EB=A6=BC=20=E2=80=94=20=EC=B4=88?= =?UTF-8?q?=EC=83=81=ED=99=94=20=C2=B7=20=EB=A7=90=ED=92=8D=EC=84=A0=20?= =?UTF-8?q?=C2=B7=20=EC=9D=B8=ED=8A=B8=EB=A1=9C=20=EC=A0=84=ED=99=98=20?= =?UTF-8?q?=C2=B7=20=ED=84=B0=EC=B9=98=20=EB=B2=94=EC=9C=84=20=C2=B7=20?= =?UTF-8?q?=EC=9D=B4=EB=8F=99=20=EA=B2=BD=EB=A1=9C=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=C2=B7=20=EB=B0=80=EB=A6=AC=EC=A7=80=20=EC=95=8A=EB=8A=94=20?= =?UTF-8?q?=EC=9C=A0=EB=8B=9B=20=C2=B7=20=EC=93=B0=EB=9F=AC=EC=A7=84=20?= =?UTF-8?q?=EC=98=81=EC=9B=85=20=EB=8B=A4=EC=8B=9C=20=EC=84=B8=EC=9B=80(PC?= =?UTF-8?q?=20sw=20=EB=AF=B8=EC=BB=A4=EB=B0=8B=EB=B6=84)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PC(sw) 에서 만든 튜토리얼 개선(PD 2026-11-24 · 25)이 미커밋으로 남아 다른 PC 에서 볼 수 없던 것을 올림. - 도우미 초상화 · 말풍선(FirstFlowGuide · first_flow_config): 초상화 · 말풍선 크기를 말하기 · 가리키기에서 같게 · 받침을 그림 아래끝에서 자름 · 좌우 뒤집기(PD 「포트레이트 여인이 너무 커짐」 · 「크기가 갑자기 바뀌는 현상이 발생하지 않도록」) - 인트로 2장 전환 = 서서히 나타남(first_flow_intro) - 터치 범위 = 강조 원(Unit.InBodyCircle · BattleManager.UnitAtTouch · SlingshotInput · TutorialDirector 가 Unit.BodyArea 를 같이 씀)(PD 「하이라이트 되는 영웅 주위 원형 공간만큼 터치 조작이 가능하도록」) - 조준 취소 반경(SlingshotInput.AimCancelRadius · AimStartRadius · 표 ib_ui aim_cancel_* 는 이미 있음 · BattleFlowTests 그 줄)(PD 「게이지를 줄인 경우 선택 해제가 가능하도록」) - 이동 경로 표시(scenario_guide s_path · TutorialDirector.DrawPath · TutorialGuideUI.Path · TutorialTable · ScenarioData · scenario_event_config guide_path_*)(PD 「장비의 이동 경로를 인디케이터 형태로」) - 2막 관우 = 밀리지 않음(PrologueBattle s_tag anchor · scenario_layout) - 승리 연출에 쓰러진 영웅 다시 세움(ScenarioEvent · Unit.ReviveForScene · UnitView.Revive)(PD 「도원결의 이벤트에서 영웅이 보이지 않는 현상」) - 서장 3막 적 배치 · 등장 자리(scenario_layout · scenario_event) 같은 파일의 다른 작업(맵 경계 · 화면 가장자리 당김 · 공격 표적 · 범위 원 · 병사 통합)은 넣지 않음. 확인 = 이 커밋의 소스만 Unity 컴파일러로 따로 컴파일(TKS.Runtime · TKS.Editor · TKS.Tests.PlayMode) 오류 0. 이 조합으로 실제 플레이 · 자동 시험은 돌리지 않음. (PD 2026-11-29 「튜토리얼 개선 작업도 … 체크해보고 전부 푸시해 (초상화 수정사항 포함)」) Co-Authored-By: Claude Fable 5.2 --- .../ContentModes/scenario_layout.csv | 22 +++++----- Assets/Resources/Scenario/scenario_event.csv | 32 +++++++-------- .../Scenario/scenario_event_config.csv | 4 ++ Assets/Resources/Scenario/scenario_guide.csv | 38 ++++++++--------- .../UI/FirstFlow/first_flow_config.csv | 10 ++--- .../UI/FirstFlow/first_flow_intro.csv | 2 +- .../OutGame/FirstFlow/FirstFlowGuide.cs | 17 +++++--- Assets/Scripts/Runtime/BattleManager.cs | 25 +++++++++++ .../Runtime/ContentModes/PrologueBattle.cs | 11 +++++ .../Scripts/Runtime/Scenario/ScenarioData.cs | 2 + .../Scripts/Runtime/Scenario/ScenarioEvent.cs | 8 ++++ Assets/Scripts/Runtime/SlingshotInput.cs | 25 ++++++++--- .../Runtime/Tutorial/TutorialDirector.cs | 41 +++++++++++++------ .../Runtime/Tutorial/TutorialGuideUI.cs | 39 ++++++++++++++++++ .../Scripts/Runtime/Tutorial/TutorialTable.cs | 20 +++++++++ Assets/Scripts/Runtime/Unit.cs | 21 ++++++++++ Assets/Scripts/Runtime/UnitView.cs | 18 ++++++++ Assets/Tests/PlayMode/BattleFlowTests.cs | 3 +- 18 files changed, 263 insertions(+), 75 deletions(-) diff --git a/Assets/Resources/ContentModes/scenario_layout.csv b/Assets/Resources/ContentModes/scenario_layout.csv index d57ae658..ddbc33d7 100644 --- a/Assets/Resources/ContentModes/scenario_layout.csv +++ b/Assets/Resources/ContentModes/scenario_layout.csv @@ -5,11 +5,11 @@ taoyuan,1,3,npc,liubei,infantry,,,0.7,3.9,,,1,1,,0,0,downed,,,유비,기절한 taoyuan,1,2,enemy,,infantry,,,-1.2,-1.2,,,0.2,0.5,,0,0,,,,,우두머리 · 장비 대사 뒤 장비 쪽(하단)으로 다가섬 = 첫 돌진 대상(거리 7.4) taoyuan,1,4,enemy,,infantry,,,-0.6,4.8,,,0.2,0.5,,0,0,,,,,건달 A · 1턴 적 턴에 장비에게 덤볐다가 반격에 쓰러짐(반격 학습 · 2026-11-19 PD 1막 다시 짬) taoyuan,1,5,enemy,,infantry,,,2.0,4.8,,,0.2,0.5,,0,0,hold,,,,건달 B · 1턴 대기(hold) · 2턴 시작 연출에서 도움을 부르고 지원 건달과 한 줄 -taoyuan,1,6,enemy,,infantry,,,-6.5,11.5,,,0.2,0.5,,0,0,hold,,,,지원 건달 C · 시작 연출에서 숨김(구석 · 길 밖) · 2턴 시작 연출에서 나타남 +taoyuan,1,6,enemy,,infantry,,,-2.8,13.0,,,0.2,0.5,,0,0,hold,,,,지원 건달 C · 시작 연출에서 숨김(구석 · 길 밖) · 2턴 시작 연출에서 나타남 · 2026-11-26 맵 경계 = 그려진 긴 탁자(-6.5 · 11.5 = 탁자 위) 오른쪽 구석으로 taoyuan,2,0,ref,,,,,,,,,,,,,,,,,탁현 고갯길,서장 2막 = 학습 판 1-2 의 배치를 빌려 씀(tutorial_layout) · s_name_ko = 연의 전기 상세 두루마리의 막 버튼 이름(2026-11-18 PD 「버튼 형태로 이벤트를 감상」) · 아래 ref 아닌 행 = 그 슬롯 덮어쓰기 taoyuan,2,1,ally,liubei,infantry,,,-1.4,-13.5,,,1,1,,0,0,,,,,2막(2026-11-19 PD 다시 짬) · 처음엔 숨김(아래 끝) · 2턴 시작 연출에서 나타나 -1.4 · -6.73 = 유비 튕김 자리(창병 둘) taoyuan,2,2,ally,zhangfei,cavalry,,,-2.8,-13.5,,,1,1,1.1,0,0,,,,,처음엔 숨김 · 2턴 -3.0 · -7.2(유비 왼쪽 · 관우 → 보병 관통 줄 · 2026-11-19 PD 「유비는 오른쪽 장비는 왼쪽」) · 슬링 거리 ×1.1(최대 세기 돌진 +10 % · 2026-11-19 PD) -taoyuan,2,3,ally,guanyu,spear,,,-3.6,-7.4,,,1,1,,0,0,,,,,1턴 = 조작(창병 · 바위를 밀쳐 황건 보병 처치 · 관우 → 바위 → 보병 한 줄) → 처치 뒤 마을 사람 쪽 1.0 · -2.2(= 2턴 포위 가운데)로 걸어감 · 2턴 연출 출혈 뒤 npc +taoyuan,2,3,ally,guanyu,spear,,,-3.6,-7.4,,,1,1,,0,0,anchor,,,,1턴 = 조작(창병 · 바위를 밀쳐 황건 보병 처치 · 관우 → 바위 → 보병 한 줄) → 처치 뒤 마을 사람 쪽 1.0 · -2.2(= 2턴 포위 가운데)로 걸어감 · 2턴 연출 출혈 뒤 npc taoyuan,2,4,enemy,,infantry,,,-0.9,-0.6,,,3,0.3,,0,0,hold,,,황건 보병,마을 사람을 위협 · 관우 → 바위 → 이 자리 한 줄 · 바위에 맞아도 버팀(체력 3배) → 행동 뒤 연출 「으악!」과 함께 쓰러짐(kill · 2026-11-19 PD) taoyuan,2,5,enemy,,cavalry,,,-1.4,-9.0,,,0.1,0.2,,0,0,,,,황건 기병,숨김 · 1턴 바위 처치 뒤 -1.4 · -9.0 에서 나타나 -1.4 · -6.6 로 다가옴(관우 · 마을 사람과 가까이 = 화면 아래 끝이 아님 · 2026-11-19 PD) · 적 턴 1 관우에게 돌진 → 반격에 쓰러짐 taoyuan,2,6,enemy,,cavalry,,,1.4,-9.0,,,0.1,0.2,,0,0,,,,황건 기병,숨김 · 1턴 바위 처치 뒤 1.4 · -9.0 에서 나타나 1.4 · -6.4 로 다가옴(관우 · 마을 사람과 가까이 = 화면 아래 끝이 아님 · 2026-11-19 PD) · 적 턴 1 관우에게 돌진 → 반격에 쓰러짐 @@ -19,17 +19,17 @@ taoyuan,2,9,gimmick,,,boulder,circle,-2.64,-4.98,0.9,,1,1,,0,0,,,,,길가 바위 taoyuan,2,10,enemy,,infantry,,,3.6,1.6,,,0.2,0.3,,0,0,,,,황건 보병,숨김 · 2턴 포위(1.9 · -0.53 = 관우 뒤 · 장비 관통 대상) taoyuan,2,11,enemy,,infantry,,,4.2,-10.5,,,0.1,0.3,,0,0,,,,황건 잔당,숨김 · 장비 처치 뒤(2턴 두 번째 행동 뒤 연출) 나타나 달아나려 함 → 관우가 밀친 유비에 부딪혀 쓰러짐 taoyuan,3,0,ref,,,,,,,,,,,,,,,,,누상촌 어귀,서장 3막 = 학습 판 1-3 의 배치를 빌려 씀(tutorial_layout) · s_name_ko = 연의 전기 상세 두루마리의 막 버튼 이름(2026-11-18 PD 「버튼 형태로 이벤트를 감상」) · 아래 ref 아닌 행 = 그 슬롯 덮어쓰기 -taoyuan,3,4,enemy,,infantry,,,3,0.92,,,0.4,0.6,,0,0,,,,,"장비 바로 옆이라 겹쳐 보여 오른쪽으로 0.78(2026-11-19 PD 「좀 더 오른쪽으로」 · 학습 판 2.22,0.92 · 관우 스킬 안) · 3막 적 12 = 이 막 줄이 학습 판 적 전체를 대신함(PrologueBattle.AdjustTutorial) · 안쪽 고리 8 = 학습 판 1-3 자리 · 병종 · 배율 그대로(관우 스킬 안 · 2026-11-19 PD 3막 다시 짬)" -taoyuan,3,5,enemy,,infantry,,,0.92,2.22,,,4,0.6,,0,0,,,,,비웃는 황건적(「독안에 든 쥐다」) = 관우 스킬을 맞고 버티도록 체력 4(학습 판 0.4) → 스킬 뒤 연출이 숨이 끊어지기 직전(hp 0.03)으로 깎고 「으악! … 커헉!?」 뒤 쓰러뜨림(kill · 2026-11-19 PD) -taoyuan,3,6,enemy,,infantry,,,-0.92,2.22,,,0.4,0.6,,0,0,,,,, -taoyuan,3,7,enemy,,infantry,,,-2.22,0.92,,,0.4,0.6,,0,0,,,,, -taoyuan,3,8,enemy,,infantry,,,-2.22,-0.92,,,0.4,0.6,,0,0,,,,, -taoyuan,3,9,enemy,,infantry,,,-0.92,-2.22,,,0.4,0.6,,0,0,,,,, -taoyuan,3,10,enemy,,infantry,,,0.92,-2.22,,,0.4,0.6,,0,0,,,,, -taoyuan,3,11,enemy,,infantry,,,2.22,-0.92,,,0.4,0.6,,0,0,,,,, +taoyuan,3,4,enemy,,infantry,,,3.34,1.61,,,0.4,0.6,,0,0,,,,,안쪽 고리 = 관우(0 · 0.4) 둘레 · 스킬 4.95 안 · 위 2(75 · 105°) · 좌우 4(20 · 180 · 200 · 355°) = 3.55(PD 2026-11-25 「상단 2명 조금 더 가까이 · 좌우 약간 더 근접 · 유닛 너비 1개」 · 4.45 에서 0.9 안쪽) · 아래 2(255 · 285°) = 4.45 그대로 +taoyuan,3,5,enemy,,infantry,,,0.92,3.83,,,4,0.6,,0,0,,,,,비웃는 황건적(「독안에 든 쥐다」) = 관우 스킬을 맞고 버티도록 체력 4(학습 판 0.4) → 스킬 뒤 연출이 숨이 끊어지기 직전(hp 0.03)으로 깎고 「으악! … 커헉!?」 뒤 쓰러뜨림(kill · 2026-11-19 PD) +taoyuan,3,6,enemy,,infantry,,,-0.92,3.83,,,0.4,0.6,,0,0,,,,, +taoyuan,3,7,enemy,,infantry,,,-3.55,0.4,,,0.4,0.6,,0,0,,,,, +taoyuan,3,8,enemy,,infantry,,,-3.34,-0.81,,,0.4,0.6,,0,0,,,,, +taoyuan,3,9,enemy,,infantry,,,-1.15,-3.9,,,0.4,0.6,,0,0,,,,, +taoyuan,3,10,enemy,,infantry,,,1.15,-3.9,,,0.4,0.6,,0,0,,,,, +taoyuan,3,11,enemy,,infantry,,,3.54,0.09,,,0.4,0.6,,0,0,,,,, taoyuan,3,12,enemy,,infantry,,,-3.73,4.58,,,0.8,0.8,,0,0,,,,,"잔당(스킬 뒤 남는 바깥 무리) = 관우 스킬 사거리 밖 · 더 가까이(2026-11-19 PD 3막 다시 짬 · 학습 판 1-3 자리 -5,6 → 관우에게서 5.6 = 행동 반경 4.5 + 적 반지름 0.45 + 여유 0.65 · 같은 방향)" taoyuan,3,13,enemy,,infantry,,,3.73,4.58,,,0.8,0.8,,0,0,,,,,"잔당 · 같은 규칙(학습 판 5,6)" -taoyuan,3,14,enemy,,infantry,,,-4.16,-3.35,,,0.8,0.8,,0,0,,,,,"잔당 · 같은 규칙(학습 판 -6,-5)" +taoyuan,3,14,enemy,,infantry,,,-4.25,-2.55,,,0.8,0.8,,0,0,,,,,잔당 · 울타리(-3.9 · -3.9 · 막힘 반지름 0.6)에 끼어 못 움직이던 자리(-4.16 · -3.35) → 울타리 위로 뺌(PD 2026-11-24 · 오른쪽 위로 더 가면 관우 스킬 4.95 안 → 밀쳐져 울타리로 되돌아감 · 관우와 5.17) taoyuan,3,15,enemy,,infantry,,,4.16,-3.35,,,0.8,0.8,,0,0,,,,,"잔당 · 같은 규칙(학습 판 6,-5)" huaxiong,1,1,ally,guanyu,spear,,,0,-7,,,1,1,,0,0,hero,0,,관우, huaxiong,1,2,enemy,dz_boss_huaxiong,infantry,,,0,5,,,1,1,,1,1,target,0,2,화웅,체력 = 관우 일반 타격 2회분(치명타 · 스킬이면 1회) diff --git a/Assets/Resources/Scenario/scenario_event.csv b/Assets/Resources/Scenario/scenario_event.csv index 3e78a6df..2bfe4861 100644 --- a/Assets/Resources/Scenario/scenario_event.csv +++ b/Assets/Resources/Scenario/scenario_event.csv @@ -243,26 +243,26 @@ taoyuan_3_start,taoyuan,1,3,stage_start,0,24,move,liubei,,0,0,2.8,home;nowait;ke taoyuan_3_start,taoyuan,1,3,stage_start,0,25,move,guanyu,,0.2,-1.6,2.8,home;follow;keepface;dust,,관우 = 유비 오른쪽 뒤(맡기시오 때 배치 자리로 나섬) taoyuan_3_start,taoyuan,1,3,stage_start,0,26,say,zhangfei,liubei,,,,keepface,거의 다 왔소. 여기만 지나면...,PD 문구 · 말이 끝나자마자 황건적이 나타나 둘러쌈 taoyuan_3_start,taoyuan,1,3,stage_start,0,27,focus,,,0,0.4,0.6,0.9,,넓은 화면(둘러싼 황건적 12 이 한 화면) -taoyuan_3_start,taoyuan,1,3,stage_start,0,28,show,slot4,,3.35,1.03,0,home,,배치 자리에서 바깥쪽 화면 밖(넓은 화면 기준)에서 나타남 -taoyuan_3_start,taoyuan,1,3,stage_start,0,29,show,slot5,,2.99,7.21,0,home,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,30,show,slot6,,-2.99,7.21,0,home,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,31,show,slot7,,-4.16,1.72,0,home,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,32,show,slot8,,-4.16,-1.72,0,home,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,33,show,slot9,,-2.68,-6.47,0,home,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,34,show,slot10,,2.68,-6.47,0,home,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,35,show,slot11,,4.16,-1.72,0,home,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,28,show,slot4,,4.7,1.71,0,home,,배치 자리에서 바깥쪽 화면 밖(넓은 화면 기준)에서 나타남 +taoyuan_3_start,taoyuan,1,3,stage_start,0,29,show,slot5,,1.29,4.83,0,home,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,30,show,slot6,,-1.29,4.83,0,home,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,31,show,slot7,,-5,0,0,home,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,32,show,slot8,,-4.7,-1.71,0,home,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,33,show,slot9,,-1.29,-4.83,0,home,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,34,show,slot10,,1.29,-4.83,0,home,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,35,show,slot11,,4.98,-0.44,0,home,, taoyuan_3_start,taoyuan,1,3,stage_start,0,36,show,slot12,,-2.59,3.18,0,home,, taoyuan_3_start,taoyuan,1,3,stage_start,0,37,show,slot13,,2.59,3.18,0,home,, taoyuan_3_start,taoyuan,1,3,stage_start,0,38,show,slot14,,-2.18,-1.76,0,home,, taoyuan_3_start,taoyuan,1,3,stage_start,0,39,show,slot15,,2.18,-1.76,0,home,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,40,move,slot4,,,,0.6,home;nowait,,사방에서 한꺼번에 뛰어 들어와 둘러쌈(빠르기 6 칸/초) -taoyuan_3_start,taoyuan,1,3,stage_start,0,41,move,slot5,,,,1.3,home;nowait,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,42,move,slot6,,,,1.3,home;nowait,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,43,move,slot7,,,,0.8,home;nowait,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,44,move,slot8,,,,0.8,home;nowait,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,45,move,slot9,,,,1.2,home;nowait,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,46,move,slot10,,,,1.2,home;nowait,, -taoyuan_3_start,taoyuan,1,3,stage_start,0,47,move,slot11,,,,0.8,home;nowait,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,40,move,slot4,,,,0.85,home;nowait,,사방에서 한꺼번에 뛰어 들어와 둘러쌈(빠르기 6 칸/초) +taoyuan_3_start,taoyuan,1,3,stage_start,0,41,move,slot5,,,,0.85,home;nowait,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,42,move,slot6,,,,0.85,home;nowait,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,43,move,slot7,,,,0.85,home;nowait,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,44,move,slot8,,,,0.85,home;nowait,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,45,move,slot9,,,,0.85,home;nowait,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,46,move,slot10,,,,0.85,home;nowait,, +taoyuan_3_start,taoyuan,1,3,stage_start,0,47,move,slot11,,,,0.85,home;nowait,, taoyuan_3_start,taoyuan,1,3,stage_start,0,48,move,slot12,,,,0.7,home;nowait,, taoyuan_3_start,taoyuan,1,3,stage_start,0,49,move,slot13,,,,0.7,home;nowait,, taoyuan_3_start,taoyuan,1,3,stage_start,0,50,move,slot14,,,,0.6,home;nowait,, diff --git a/Assets/Resources/Scenario/scenario_event_config.csv b/Assets/Resources/Scenario/scenario_event_config.csv index bd69d25f..bf7c12e0 100644 --- a/Assets/Resources/Scenario/scenario_event_config.csv +++ b/Assets/Resources/Scenario/scenario_event_config.csv @@ -57,3 +57,7 @@ line_clear,0.2,line: 돌진 길 · 줄 자리가 다른 유닛(유비) · 막히 emote_bubble_height,0.9,이모티콘 말풍선 그림 높이(월드 칸 · 2026-11-19) emote_bubble_dx,0.35,이모티콘 말풍선 가로 자리(머리에서 오른쪽 · 꼬리가 머리를 가리킴) emote_bubble_offset,0.6,이모티콘 말풍선 가운데 높이(머리 끝에서 월드 칸) +guide_path_over,1.5,이동 경로 표시(scenario_guide s_path · PD 2026-11-24 「장비의 이동 경로를 인디케이터 형태로」) = 목표 유닛 너머로 더 그리는 길이(칸 · 기병은 관통해 지나감 · 최대 = 그 유닛 슬링 최대 거리) +guide_path_gap,46,이동 경로 꺾쇠 간격(안내 캔버스 px) +guide_path_size,40,이동 경로 꺾쇠 크기(안내 캔버스 px) +guide_path_sec,0.45,이동 경로 꺾쇠가 한 칸 흘러가는 시간(초) diff --git a/Assets/Resources/Scenario/scenario_guide.csv b/Assets/Resources/Scenario/scenario_guide.csv index 8b2920b4..90b82b75 100644 --- a/Assets/Resources/Scenario/scenario_guide.csv +++ b/Assets/Resources/Scenario/scenario_guide.csv @@ -1,19 +1,19 @@ -s_battle_id,n_act,n_step,e_trigger,n_turn,s_target,e_mode,b_lock,b_snap,f_min_pull,f_aim_deg,s_text_ko,Memo -taoyuan,1,1,stage_start,0,slot:1>slot:2,popup,1,0,,,끌어당긴 길이만큼 멀리 이동합니다. 옆 게이지가 붉은 칸일 때 손을 떼면 치명타 피해를 줍니다.,1막 첫 안내(유비 기절 카드 삭제 · 2026-11-19 PD) · 대상 slot:A>slot:B 인 카드 = 끌기 시범(손가락 + 실제 조준 화살표 · 게이지 · 길이 = scenario_event_config guide_demo_cycle_sec) -taoyuan,1,2,after_step,0,slot:1>slot:2,drag,1,0,0.6,5,장비를 끌어 우두머리에게 돌진하세요.,조준 = 우두머리 방향 ±5° 안(f_aim_deg · 밖으로 끌면 화살표가 가장자리에 머묾 · 2026-11-19 PD 「정해진 방향 범위 내에서만」) + 최대의 60 % 이상(우두머리까지 7.4 = 0.48 이상이면 닿음 · 2026-11-19 PD 1막 다시 짬 「한번에 처치」) -taoyuan,1,3,enemy_turn,1,slot:1;slot:4,popup,1,0,,,근접 공격을 받을 경우 상대에게 반격이 가능합니다.,적 턴 1 연출(건달 A 「이.. 이놈이!?」) 뒤 · 카드가 닫힐 때까지 적이 기다림 · 건달 A 가 덤볐다가 반격에 쓰러짐(2026-11-19 PD) · 대상 첫째 = 조작할 유닛(장비 · 카드가 덮지 않음) -taoyuan,1,4,after_step,2,slot:1;slot:5;slot:6,popup,1,0,,,기병은 경로 상 모든 유닛을 관통하며 공격할 수 있으며 보병에게 더 큰 피해를 입힙니다.,2턴 시작 연출(도움 요청 · 지원 건달 · 장비와 한 줄) 뒤(2026-11-19 PD) -taoyuan,1,5,after_step,2,slot:1>slot:6,drag,1,0,0.6,5,장비로 두 건달을 한 줄로 꿰뚫으세요.,2턴 시작 연출(도움 요청 · 지원 건달) 뒤 · 끝 = 지원 건달(슬롯 6) · 최대의 60 % 이상 · 조준 = 지원 건달 방향 ±5° 안(f_aim_deg) -taoyuan,2,1,stage_start,0,slot:3>slot:4,popup,1,0,,,창병이나 보병은 바위를 밀쳐 공격할 수 있습니다.,2막 안내 전체(2026-11-19 PD 다시 짬) · 시작 연출 뒤 · 끌기 대상 카드 = 끌기 시범(맨 위 카드) · 문구 = 2026-11-19 PD -taoyuan,2,2,after_step,0,slot:3>slot:4,drag,1,1,0.6,,관우를 끌어 바위를 밀쳐 황건 보병을 쓰러뜨리세요.,snap = 황건 보병 가운데(관우 → 바위 → 보병 한 줄이라 바위 방향과 같음) · 대상에 보병을 넣어 카메라가 관우 · 바위 · 보병을 한 화면에(2026-11-19 PD 「상황을 알 수 있게」) -taoyuan,2,3,enemy_turn,1,slot:3;slot:5;slot:6,popup,1,0,,,창병은 기병에게 더 큰 피해를 입힙니다.,적 턴 1 연출(「죽어라!」) 뒤 · 카드를 닫으면 기병 2기가 관우에게 돌진 → 관우 반격 -taoyuan,2,4,turn_start,2,slot:1;slot:7;slot:8,popup,1,0,,,"보병의 공격은 부딪힌 뒤 튕겨 나가 여러 번 칠 수 있고, 창병에게 더 큰 피해를 줍니다.",2턴 시작 연출(포위 · 유비 · 장비 등장 · 관우 출혈) 뒤 -taoyuan,2,5,after_step,2,"slot:1>xy:3.25,0.19",drag,1,1,,,유비를 끌어 놓으세요. 튕겨 나가며 창병 둘을 한 번에 칩니다.,snap = 어느 쪽으로 끌어도 이 방향(세기 = 당긴 만큼 · 그 전 2막 측정 자리 그대로) -taoyuan,2,6,action_end,2,slot:2;slot:10,popup,1,0,,,"기병은 보병에게 더 큰 피해를 입히고, 아군이나 적군을 관통해 경로상 적에게 피해를 입힐 수 있습니다.",유비 행동 뒤 연출(장비 「저놈은 내꺼요」) 뒤 -taoyuan,2,7,after_step,2,slot:2>slot:10,drag,1,1,0.8,,장비를 길게 끌어 관우 뒤의 보병을 꿰뚫으세요.,snap = 보병(슬롯 10) 방향 · 관우(아군)를 지나 관통(아군을 지날 때마다 거리가 줄어 세기 0.8 이상) -taoyuan,2,8,after_step,2,slot:3>slot:1,popup,1,0,,,아군을 밀치면 행동이 끝난 아군으로도 적을 공격할 수 있습니다.,장비 처치 뒤 연출(출혈 멈춤 · 잔당 · 「실례하겠소」) 뒤 · 끌기 대상 카드 = 끌기 시범(2026-11-19 PD) -taoyuan,2,9,after_step,2,slot:3>slot:1,drag,1,1,0.8,,관우를 끌어 유비를 달아나는 잔당 쪽으로 밀쳐 내세요.,snap = 유비 가운데(관우 → 유비 → 잔당 한 줄) · 창병 = 아군을 멀리 밀침 · 밀린 유비가 잔당에 부딪혀 공격 -taoyuan,2,10,fail,0,,popup,0,0,,,실패했다. 관우의 바위 밀치기 · 유비의 튕김 · 장비의 관통 · 아군 밀치기를 써 보자., -taoyuan,3,1,stage_start,0,slot:1,popup,1,0,,,장수는 스킬 버튼으로 강력한 기술을 쓸 수 있습니다. 한 번 쓴 스킬은 몇 턴 기다려야 다시 쓸 수 있습니다.,3막 안내 전체(2026-11-19 PD 3막 다시 짬) · 시작 연출(「여긴 내게 맡기시오」) 뒤 · 대상 = 조작할 관우(카드가 덮지 않음) · 학습 판 1-3 끝 카드(대기 턴)를 이 카드로 옮김 = 스킬 뒤 안내 없음 -taoyuan,3,2,after_step,0,slot:1,tap,1,0,,,관우를 누르세요., -taoyuan,3,3,unit_select,0,ui:skill,highlight,1,0,,,스킬 버튼을 누르세요. 청룡언월은 관우 둘레의 적을 모두 베고 밀쳐 냅니다.,스킬을 쓰면 끝 → 스킬 뒤 연출(taoyuan_3_flee · skill_end) → 안내 끝 · 남은 적 = 자유 처치 +s_battle_id,n_act,n_step,e_trigger,n_turn,s_target,e_mode,b_lock,b_snap,f_min_pull,f_aim_deg,s_text_ko,s_path,Memo +taoyuan,1,1,stage_start,0,slot:1>slot:2,popup,1,0,,,끌어당긴 길이만큼 멀리 이동합니다. 옆 게이지가 붉은 칸일 때 손을 떼면 치명타 피해를 줍니다.,slot:1>slot:2,1막 첫 안내(유비 기절 카드 삭제 · 2026-11-19 PD) · 대상 slot:A>slot:B 인 카드 = 끌기 시범(손가락 + 실제 조준 화살표 · 게이지 · 길이 = scenario_event_config guide_demo_cycle_sec) +taoyuan,1,2,after_step,0,slot:1>slot:2,drag,1,0,0.6,5,장비를 끌어 우두머리에게 돌진하세요.,slot:1>slot:2,조준 = 우두머리 방향 ±5° 안(f_aim_deg · 밖으로 끌면 화살표가 가장자리에 머묾 · 2026-11-19 PD 「정해진 방향 범위 내에서만」) + 최대의 60 % 이상(우두머리까지 7.4 = 0.48 이상이면 닿음 · 2026-11-19 PD 1막 다시 짬 「한번에 처치」) +taoyuan,1,3,enemy_turn,1,slot:1;slot:4,popup,1,0,,,근접 공격을 받을 경우 상대에게 반격이 가능합니다.,,적 턴 1 연출(건달 A 「이.. 이놈이!?」) 뒤 · 카드가 닫힐 때까지 적이 기다림 · 건달 A 가 덤볐다가 반격에 쓰러짐(2026-11-19 PD) · 대상 첫째 = 조작할 유닛(장비 · 카드가 덮지 않음) +taoyuan,1,4,after_step,2,slot:1;slot:5;slot:6,popup,1,0,,,기병은 경로 상 모든 유닛을 관통하며 공격할 수 있으며 보병에게 더 큰 피해를 입힙니다.,slot:1>slot:6,2턴 시작 연출(도움 요청 · 지원 건달 · 장비와 한 줄) 뒤(2026-11-19 PD) +taoyuan,1,5,after_step,2,slot:1>slot:6,drag,1,0,0.6,5,장비로 두 건달을 한 줄로 꿰뚫으세요.,slot:1>slot:6,2턴 시작 연출(도움 요청 · 지원 건달) 뒤 · 끝 = 지원 건달(슬롯 6) · 최대의 60 % 이상 · 조준 = 지원 건달 방향 ±5° 안(f_aim_deg) +taoyuan,2,1,stage_start,0,slot:3>slot:4,popup,1,0,,,창병이나 보병은 바위를 밀쳐 공격할 수 있습니다.,slot:3>slot:4,2막 안내 전체(2026-11-19 PD 다시 짬) · 시작 연출 뒤 · 끌기 대상 카드 = 끌기 시범(맨 위 카드) · 문구 = 2026-11-19 PD +taoyuan,2,2,after_step,0,slot:3>slot:4,drag,1,1,0.6,,관우를 끌어 바위를 밀쳐 황건 보병을 쓰러뜨리세요.,slot:3>slot:4,snap = 황건 보병 가운데(관우 → 바위 → 보병 한 줄이라 바위 방향과 같음) · 대상에 보병을 넣어 카메라가 관우 · 바위 · 보병을 한 화면에(2026-11-19 PD 「상황을 알 수 있게」) +taoyuan,2,3,enemy_turn,1,slot:3;slot:5;slot:6,popup,1,0,,,창병은 기병에게 더 큰 피해를 입힙니다.,,적 턴 1 연출(「죽어라!」) 뒤 · 카드를 닫으면 기병 2기가 관우에게 돌진 → 관우 반격 +taoyuan,2,4,turn_start,2,slot:1;slot:7;slot:8,popup,1,0,,,"보병의 공격은 부딪힌 뒤 튕겨 나가 여러 번 칠 수 있고, 창병에게 더 큰 피해를 줍니다.",,2턴 시작 연출(포위 · 유비 · 장비 등장 · 관우 출혈) 뒤 +taoyuan,2,5,after_step,2,"slot:1>xy:3.25,0.19",drag,1,1,,,유비를 끌어 놓으세요. 튕겨 나가며 창병 둘을 한 번에 칩니다.,"slot:1>xy:3.25,0.19",snap = 어느 쪽으로 끌어도 이 방향(세기 = 당긴 만큼 · 그 전 2막 측정 자리 그대로) +taoyuan,2,6,action_end,2,slot:2;slot:10,popup,1,0,,,기병은 아군 유닛을 지나쳐 적을 공격할 수도 있습니다.,,유비 행동 뒤 연출(장비 「저놈은 내꺼요」) 뒤 +taoyuan,2,7,after_step,2,slot:2>slot:10,drag,1,1,0.8,,장비를 길게 끌어 관우 뒤의 보병을 꿰뚫으세요.,slot:2>slot:10,snap = 보병(슬롯 10) 방향 · 관우(아군)를 지나 관통(아군을 지날 때마다 거리가 줄어 세기 0.8 이상) +taoyuan,2,8,after_step,2,slot:3>slot:1,popup,1,0,,,아군을 밀치면 행동이 끝난 아군으로도 적을 공격할 수 있습니다.,slot:3>slot:1,장비 처치 뒤 연출(출혈 멈춤 · 잔당 · 「실례하겠소」) 뒤 · 끌기 대상 카드 = 끌기 시범(2026-11-19 PD) +taoyuan,2,9,after_step,2,slot:3>slot:1,drag,1,1,0.8,,관우를 끌어 유비를 달아나는 잔당 쪽으로 밀쳐 내세요.,slot:3>slot:1,snap = 유비 가운데(관우 → 유비 → 잔당 한 줄) · 창병 = 아군을 멀리 밀침 · 밀린 유비가 잔당에 부딪혀 공격 +taoyuan,2,10,fail,0,,popup,0,0,,,실패했다. 관우의 바위 밀치기 · 유비의 튕김 · 장비의 관통 · 아군 밀치기를 써 보자.,, +taoyuan,3,1,stage_start,0,slot:1,popup,1,0,,,장수는 스킬 버튼으로 강력한 기술을 쓸 수 있습니다. 한 번 쓴 스킬은 몇 턴 기다려야 다시 쓸 수 있습니다.,,3막 안내 전체(2026-11-19 PD 3막 다시 짬) · 시작 연출(「여긴 내게 맡기시오」) 뒤 · 대상 = 조작할 관우(카드가 덮지 않음) · 학습 판 1-3 끝 카드(대기 턴)를 이 카드로 옮김 = 스킬 뒤 안내 없음 +taoyuan,3,2,after_step,0,slot:1,tap,1,0,,,관우를 누르세요.,, +taoyuan,3,3,unit_select,0,ui:skill,highlight,1,0,,,스킬 버튼을 누르세요. 청룡언월은 관우 둘레의 적을 모두 베고 밀쳐 냅니다.,,스킬을 쓰면 끝 → 스킬 뒤 연출(taoyuan_3_flee · skill_end) → 안내 끝 · 남은 적 = 자유 처치 diff --git a/Assets/Resources/UI/FirstFlow/first_flow_config.csv b/Assets/Resources/UI/FirstFlow/first_flow_config.csv index b0a67426..6d552f62 100644 --- a/Assets/Resources/UI/FirstFlow/first_flow_config.csv +++ b/Assets/Resources/UI/FirstFlow/first_flow_config.csv @@ -16,15 +16,15 @@ sortie_timing,0.4|0.4,대사 연출 = 시작 전 뜸|카메라가 옮겨 간 뒤 canvas,470|0.33,대화 장치 캔버스 = 정렬 순서|카메라에서 거리(아웃게임 위 덮개 450 위 · 타이틀 850 아래) dim,#000000A6,어둡게 덮는 색(말하기 = 화면 전체 · 가리키기 · 누르기 = 대상 밖) talk,190|40|150,대화 칸 = 화면 아래에서 y|대상과의 간격|화면 위끝 여백(대상과 겹치면 대상 위로 올라감) -bubble,430|620|250|0,말풍선(말하기) = 왼 x|폭|높이|대화 칸 아래에서 y · 그림 = Scenario/bubble(9 분할) -bubble_small,300|750|250|0,말풍선(가리키기 · 누르기 = 포트레이트를 작게) = 왼 x|폭|높이|아래에서 y +bubble,310|740|250|0,말풍선(말하기) = 왼 x|폭|높이|대화 칸 아래에서 y · 그림 = Scenario/bubble(9 분할) · PD 2026-11-25 「포트레이트 여인이 너무 커짐 · 이전의 작은 크기 기준」 = 예전 작은 칸(300|750) 기준 · 간옹 머리끝을 가리지 않게 10 오른쪽 +bubble_small,310|740|250|0,말풍선(가리키기 · 누르기) = bubble 과 같은 값(PD 2026-11-25 「크기가 갑자기 바뀌는 현상이 발생하지 않도록」) bubble_text,38|28|#3D2112|44|40|34|1.15|40,대사 글자 = 크기|최소 크기|색|좌우 여백|위 여백|아래 여백|줄 간격|초당 글자 수(누르면 전부 표시) name_tag,40|0|56|30|26|#FFFFFF,이름표 = 말풍선 왼쪽에서 x|말풍선 위끝에서 y(가운데)|높이|글자|좌우 여백|글자 색 · 그림 = Scenario/name_tag · 바탕색 = speaker.* 4번째 bubble_art,bt_scroll_panel|2.6|76|38|76|44,대사 판 그림(같은 지시 = 인트로 자막과 같은 전투 하단 두루마리 · 9 분할 배율 · 글자 여백 왼|위|오른|아래 · 빈칸 = 예전 Scenario/bubble 말풍선) name_tag_art,tre_plaque|1.7|44,이름표 그림(PD 2026-11-25 「튜토리얼 메시지 팝업창도 임시 디자인으로 보여 디자인 개선」 = 보물 · 공방 탭과 같은 붉은 칠 명패 · 9 분할 배율 · 좌우 여백 · 말하는 사람 색으로 물들이지 않음 · 빈칸 = 예전 Scenario/name_tag) -portrait,250|170|400|340,포트레이트(말하기) = 가운데 x|가운데 y(대화 칸 아래에서)|그림 크기|둥근 받침 크기 -portrait_small,180|140|300|260,포트레이트(가리키기 · 누르기) = 가운데 x|가운데 y|그림 크기|받침 크기 -next_mark,50|-64|40|#7A2A1A|0.9,다음 표시(▼) = 글자 크기|말풍선 오른쪽에서 x|아래에서 y|색|깜박임 주기(초) +portrait,180|140|300|350|-5|1|0,포트레이트(말하기) = 가운데 x|가운데 y(대화 칸 아래에서)|그림 크기|둥근 받침 크기|받침 위로(px · 음수 = 아래로)|좌우 뒤집기(1 = 뒤집음)|받침 아래끝 = 그림 아래끝에서 위로(px · 받침은 이 선에서 일자로 잘림) · PD 2026-11-25 「여인이 너무 커짐 · 이전의 작은 크기 기준(300) · 백판 위치를 조금 더 올려 · 하단이 둥글지 않고 몸에서 정확히 잘리도록 · 상단 여백 확보」 = 받침 350(머리 위 여백 약 27px · 몸 아래 모서리까지 받침 안) · 「캐릭터 방향이 반대 방향을 보지 않게」 = 납품 그림(UI/Guide 도우미 · 간옹)이 왼쪽을 봄 → 뒤집어 말풍선(오른쪽)을 봄 +portrait_small,180|140|300|350|-5|1|0,포트레이트(가리키기 · 누르기) = portrait 와 같은 값(PD 2026-11-25 「크기가 갑자기 바뀌는 현상이 발생하지 않도록」) +next_mark,34|-44|34|#B8433A|0.9,다음 표시(▼) = 글자 크기|말풍선 오른쪽에서 x|아래에서 y|색|깜박임 주기(초) focus_frame,10|8|#F2B33D|1.0|0.55,대상 강조 테 = 대상 둘레 여백|테 굵기|색(금빛)|숨쉬기 주기(초)|가장 흐릴 때(0~1) finger,150|0.22|-0.18|16|0.7,손가락(누르기 줄 · 테마 아이콘 tut_hand) = 크기|대상 가운데에서 x(폭 비율)|y(높이 비율)|까딱임 px|주기(초) speaker.helper,ff_name_helper|UI/Guide/helper_|npc_woman|#8A5A2B|#F6D5CF,도우미 여인 = 이름 키|그림 경로 앞부분(+ 표정 normal · smile · wistful)|납품 전 임시 유닛 그림(Units/<이름>)|이름표 색|받침 색 diff --git a/Assets/Resources/UI/FirstFlow/first_flow_intro.csv b/Assets/Resources/UI/FirstFlow/first_flow_intro.csv index be38a027..c26739c0 100644 --- a/Assets/Resources/UI/FirstFlow/first_flow_intro.csv +++ b/Assets/Resources/UI/FirstFlow/first_flow_intro.csv @@ -4,5 +4,5 @@ # f_rise = 그 장 동안 위로 오르는 양(그림 높이 비율) · f_shake = 등장이 끝날 때 한 번 흔들림(px · 0 = 없음) n_cut,f_sec,s_picture,s_caption_key,s_dummy_color,s_dummy_key,e_in,f_in_sec,f_scale_from,f_scale_to,f_pivot_x,f_pivot_y,f_rise,f_shake,Memo 1,5,UI/Intro/intro_cut_1,ff_intro_1,#3B3540,ff_intro_dummy_1,fade,0.6,1.04,1.04,0.5,0.5,0.02,0,검정에서 밝아짐 · 그림이 아래에서 위로 아주 천천히 오름(높이의 2 %) -2,5,UI/Intro/intro_cut_2,ff_intro_2,#7C3B22,ff_intro_dummy_2,slide,0.4,1.04,1.04,0.5,0.5,0,14,오른쪽에서 왼쪽으로 밀리며 등장 + 화면 흔들림 한 번 +2,5,UI/Intro/intro_cut_2,ff_intro_2,#7C3B22,ff_intro_dummy_2,fade,0.4,1.04,1.04,0.5,0.5,0,0,앞 장 위로 서서히 나타남(PD 2026-11-25 「1페이지에서 2페이지로 이동할 때 장면 전환이 어색 · 2페이지에서 3페이지로 넘어갈 때처럼」 = 3장과 같은 fade 0.4 · 그 전 = slide + 흔들림 14) 3,6,UI/Intro/intro_cut_3,ff_intro_3,#5B5438,ff_intro_dummy_3,fade,0.4,1.0,1.12,0.5,0.45,0,0,청년 뒷모습으로 천천히 확대 · 끝 = first_flow_config intro_end(주점 간판으로 확대 → 검정) diff --git a/Assets/Scripts/OutGame/FirstFlow/FirstFlowGuide.cs b/Assets/Scripts/OutGame/FirstFlow/FirstFlowGuide.cs index 4c38f7d6..1c9b0403 100644 --- a/Assets/Scripts/OutGame/FirstFlow/FirstFlowGuide.cs +++ b/Assets/Scripts/OutGame/FirstFlow/FirstFlowGuide.cs @@ -35,6 +35,7 @@ namespace TKS.OutGame Image holeBlock; RectTransform block; Image plate; + RectTransform plateClip; Image portrait; Image bubble; Image nameTag; @@ -135,7 +136,9 @@ namespace TKS.OutGame // 대화 칸(화면 아래 가운데 · 설계 폭 1080 기준 좌표) talkLayer = UiLayer.Group("Talk", root, UiRate.Event, true); block = UiKit.Rect("Block", talkLayer, new Vector2(0.5f, 0f), new Vector2(0.5f, 0f), Vector2.zero, new Vector2(DesignW, 10f)); - plate = UiKit.Rect("Plate", block, Vector2.zero, new Vector2(0.5f, 0.5f), Vector2.zero, Vector2.zero).gameObject.AddComponent(); + plateClip = UiKit.Rect("PlateClip", block, Vector2.zero, new Vector2(0.5f, 0f), Vector2.zero, Vector2.zero); // 받침 아래를 그림 아래끝에서 일자로 자름(PD 2026-11-25 「백판의 하단이 둥글게 보이지 않고 깔끔하게 포트레이트 이미지 몸에서 정확히 잘리도록」) + plateClip.gameObject.AddComponent(); + plate = UiKit.Rect("Plate", plateClip, new Vector2(0.5f, 0f), new Vector2(0.5f, 0.5f), Vector2.zero, Vector2.zero).gameObject.AddComponent(); plate.sprite = UiKit.Circle; plate.raycastTarget = false; portrait = UiKit.Rect("Portrait", block, Vector2.zero, new Vector2(0.5f, 0.5f), Vector2.zero, Vector2.zero).gameObject.AddComponent(); @@ -226,22 +229,26 @@ namespace TKS.OutGame bool small = req.mode != FirstFlowData.Talk; var bb = L(small ? "bubble_small" : "bubble"); // 왼 x | 폭 | 높이 | 아래에서 y if (bb.Length < 3) bb = L("bubble"); - var pt = L(small ? "portrait_small" : "portrait"); // 가운데 x | 가운데 y | 그림 크기 | 받침 크기 + var pt = L(small ? "portrait_small" : "portrait"); // 가운데 x | 가운데 y | 그림 크기 | 받침 크기 | 받침 위로(px) | 좌우 뒤집기(1) | 받침 아래끝 = 그림 아래끝에서 위로(px) float bx = At(bb, 0, 430f), bw = At(bb, 1, 620f), bh = At(bb, 2, 250f), by = At(bb, 3, 0f); var brt = bubble.rectTransform; brt.anchoredPosition = new Vector2(bx, by); brt.sizeDelta = new Vector2(bw, bh); - float pc = At(pt, 2, 400f), pp = At(pt, 3, 340f); + float pc = At(pt, 2, 400f), pp = At(pt, 3, 340f), plateUp = At(pt, 4, 0f); var pos = new Vector2(At(pt, 0, 250f), At(pt, 1, 170f)); portrait.rectTransform.anchoredPosition = pos; portrait.rectTransform.sizeDelta = new Vector2(pc, pc); + portrait.rectTransform.localScale = new Vector3(At(pt, 5, 0f) > 0.5f ? -1f : 1f, 1f, 1f); // 납품 그림이 왼쪽(말풍선 반대)을 봄 → 뒤집어 말풍선 쪽을 보게(PD 2026-11-25) portrait.sprite = req.portrait; portrait.enabled = req.portrait != null; - plate.rectTransform.anchoredPosition = pos; + float cutY = pos.y - pc * 0.5f + At(pt, 6, 0f), plateTop = pos.y + plateUp + pp * 0.5f; // 받침 = 그림 아래끝(cutY)부터 위만 보임 + plateClip.anchoredPosition = new Vector2(pos.x, cutY); + plateClip.sizeDelta = new Vector2(pp, Mathf.Max(0f, plateTop - cutY)); + plate.rectTransform.anchoredPosition = new Vector2(0f, pos.y + plateUp - cutY); plate.rectTransform.sizeDelta = new Vector2(pp, pp); plate.color = req.plate; plate.enabled = req.plate.a > 0.01f; - float top = Mathf.Max(by + bh + nameTag.rectTransform.sizeDelta.y * 0.5f, pos.y + Mathf.Max(pc, pp) * 0.5f); + float top = Mathf.Max(by + bh + nameTag.rectTransform.sizeDelta.y * 0.5f, pos.y + Mathf.Max(pc * 0.5f, pp * 0.5f + plateUp)); block.sizeDelta = new Vector2(DesignW, top); nameTag.gameObject.SetActive(req.name.Length > 0); diff --git a/Assets/Scripts/Runtime/BattleManager.cs b/Assets/Scripts/Runtime/BattleManager.cs index ae6e1844..787f8eee 100644 --- a/Assets/Scripts/Runtime/BattleManager.cs +++ b/Assets/Scripts/Runtime/BattleManager.cs @@ -220,6 +220,31 @@ namespace TKS return Combat.UnitNear(units, p, faction, 0.25f); } + /// + /// 터치로 고르는 유닛 — ① 발밑 판정 원(+0.25) 안 아군 ② 발밑 판정 원 안 아무 유닛 ③ 그림을 감싸는 강조 원(Unit.BodyArea · 학습 안내 노란 원과 같음) 안에서 + /// 가운데에 가장 가까운 유닛(반지름 대비) · only = 그 진영만(①②③ 모두) · 연출이 숨긴 유닛 제외는 부르는 쪽이 한다(①②와 같게) + /// (PD 2026-11-25 「튜토리얼 진행 중 영웅을 터치할 때 터치 영역이 너무 좁아서 … 하이라이트 되는 영웅 주위 원형 공간만큼 터치 조작이 가능하도록」 · 튜토리얼과 관계없는 공통). + /// + public Unit UnitAtTouch(Vector2 p, Faction? only) + { + Unit u = only.HasValue ? UnitNear(p, only) : UnitNear(p, Faction.Player); + if (u == null && !only.HasValue) u = UnitNear(p, null); + if (u != null) return u; + float best = float.MaxValue; + for (int i = 0; i < units.Count; i++) + { + var x = units[i]; + if (x == null || !x.IsAlive || (only.HasValue && x.Faction != only.Value) || ScenarioEvent.Absent(x)) continue; + float k; + if (x.InBodyCircle(p, out k) && k < best) + { + best = k; + u = x; + } + } + return u; + } + /// 이 전투의 적 능력치 배율(체력 · 공격 · 방어) — 아웃게임이 연결(출정 하드 난이도 · 없으면 1). public System.Func EnemyStatMult; diff --git a/Assets/Scripts/Runtime/ContentModes/PrologueBattle.cs b/Assets/Scripts/Runtime/ContentModes/PrologueBattle.cs index 3b0f47ce..001b1e5a 100644 --- a/Assets/Scripts/Runtime/ContentModes/PrologueBattle.cs +++ b/Assets/Scripts/Runtime/ContentModes/PrologueBattle.cs @@ -86,6 +86,7 @@ namespace TKS if (plan == null) return; gimmickRows.Clear(); holdSlots.Clear(); + anchorSlots.Clear(); slingBySlot.Clear(); var foes = new List(); string artPre, namePre; @@ -96,6 +97,7 @@ namespace TKS var row = ContentLayoutRow.From(r); if (row.side == "ref" || row.slot <= 0) continue; if (row.tag == HoldTag) holdSlots.Add(row.slot); + if (row.tag == AnchorTag) anchorSlots.Add(row.slot); float sm = r.F("f_sling_mult", 0f); if (sm > 0f) slingBySlot[row.slot] = sm; // 그 막 그 유닛의 슬링 거리 배율(빈칸 = 1 · 2026-11-19 PD 2막 장비 최대 돌진 +10 %) if (row.side == "ally") plan.OverrideSlot(row.slot, TutSide.Ally, row.unitId, row.pos, row.hpMult, row.atkMult, false); @@ -133,9 +135,12 @@ namespace TKS public const string DownedTag = "downed"; /// s_tag hold = 첫 적 턴에는 움직이지 않는 적(1막 · 우두머리만 다가와 싸움 · 2026-11-18 PD). public const string HoldTag = "hold"; + /// s_tag anchor = 그 막 동안 밀리지 않는 유닛(맞아도 제자리 · 밀림 가중치 0 = 벽처럼 · PD 2026-11-24 2막 「관우가 기병에게 피격 당할 때 … 해당 튜토리얼 전투 씬에서는 밀리지 않게」). + public const string AnchorTag = "anchor"; readonly List gimmickRows = new List(); readonly HashSet holdSlots = new HashSet(); + readonly HashSet anchorSlots = new HashSet(); readonly Dictionary slingBySlot = new Dictionary(); /// 막 배치 표 f_sling_mult(유닛별 슬링 거리 배율 · 빈칸 = 1). @@ -157,6 +162,12 @@ namespace TKS { if (Battle.Gimmicks != null) // 막 기믹(scenario_layout gimmick 줄 · 2막 바위) foreach (var g in gimmickRows) ContentLayout.SpawnGimmick(Battle.Gimmicks, g); + if (Battle.Tutorial != null) // anchor = 이 막 동안 밀리지 않음 + foreach (int s in anchorSlots) + { + var au = Battle.Tutorial.UnitAt(s); + if (au != null) au.PushTaken = 0f; + } ScenarioEvent.FaceFrontAll(Battle); // 연출이 없거나(꺼짐) 건너뛰어도 기절은 걸린 채로 — 연출이 있으면 stun 명령이 맞는 순간에 건다 if (!ScenarioEvent.Wants(Battle, Battle.Stage, "stage_start", false)) StunDowned(); diff --git a/Assets/Scripts/Runtime/Scenario/ScenarioData.cs b/Assets/Scripts/Runtime/Scenario/ScenarioData.cs index 0f40cd1f..162a1a13 100644 --- a/Assets/Scripts/Runtime/Scenario/ScenarioData.cs +++ b/Assets/Scripts/Runtime/Scenario/ScenarioData.cs @@ -219,7 +219,9 @@ namespace TKS minPull = Get(r, "f_min_pull").Length > 0 ? OptFloat(Get(r, "f_min_pull")) : -1f, aimDeg = Get(r, "f_aim_deg").Length > 0 ? Mathf.Max(0f, OptFloat(Get(r, "f_aim_deg"))) : 0f, textKo = Get(r, "s_text_ko"), + pathRaw = Get(r, "s_path"), }; + if (g.pathRaw.Length > 0 && g.Path == null) Errors.Add(at + "s_path — 끌기 꼴(slot:A>slot:B · slot:A>xy:x,y)이 아님 「" + g.pathRaw + "」"); if (!TutorialTables.TriggerOf(trig, out g.trigger)) Errors.Add(at + "e_trigger 「" + trig + "」"); if (!TutorialTables.ModeOf(Get(r, "e_mode"), out g.mode)) Errors.Add(at + "e_mode 「" + Get(r, "e_mode") + "」"); string why; diff --git a/Assets/Scripts/Runtime/Scenario/ScenarioEvent.cs b/Assets/Scripts/Runtime/Scenario/ScenarioEvent.cs index 93f049b0..a9f1e588 100644 --- a/Assets/Scripts/Runtime/Scenario/ScenarioEvent.cs +++ b/Assets/Scripts/Runtime/Scenario/ScenarioEvent.cs @@ -655,6 +655,14 @@ namespace TKS foreach (var f in new[] { Faction.Player, Faction.Enemy }) foreach (var x in battle.AliveUnits(f)) if (u == null && (x.HeroId == key || x.ArtId == key)) u = x; + if (u == null && trigger == "win" && battle.Units != null) // 승리 연출 = 쓰러진 영웅도 다시 세워 등장(전투는 끝남 · PD 2026-11-25 도원결의 「사망한 영웅이 보이지 않는 현상」) + foreach (var x in battle.Units) + if (u == null && x != null && !x.IsAlive && (x.HeroId == key || x.ArtId == key)) + { + x.ReviveForScene(); + if (x.View != null) x.View.SetFacing(new Vector2(0f, -1f)); // 앞모습(FaceFrontAll 은 연출 시작 때 살아 있던 유닛만) + u = x; + } } if (u == null) { diff --git a/Assets/Scripts/Runtime/SlingshotInput.cs b/Assets/Scripts/Runtime/SlingshotInput.cs index 2a29c7c6..761f8252 100644 --- a/Assets/Scripts/Runtime/SlingshotInput.cs +++ b/Assets/Scripts/Runtime/SlingshotInput.cs @@ -134,9 +134,25 @@ namespace TKS /// public bool AimActive(Unit u, Vector2 finger, bool aimingNow) { + float k; + if (!aimingNow && u.InBodyCircle(finger, out k)) return false; // 강조 원(터치 판정 원) 안 = 아직 누르는 중(머리를 누르고 조금 움직여도 화살표가 뜨지 않게 · PD 2026-11-25 터치 칸 넓힘) float d = Vector2.Distance(finger, u.Position); - float ratio = battle.Config.aimStartRadiusRatio; - return d >= u.Radius * (aimingNow ? Mathf.Min(1f, ratio) : ratio); + return d >= (aimingNow ? AimCancelRadius(u) : AimStartRadius(u)); + } + + /// + /// 조준 취소 반경(월드) — 조준 중 손가락이 이 안으로 돌아오면 화살표 · 게이지가 사라지고 놓아도 발사 없음(PD 2026-11-24 「화살표가 보이지 않을 만큼(영웅 주위 터치 범위 원) 안까지 + /// 게이지를 줄인 경우 선택 해제가 가능하도록 · 지금은 너무 타이트하게 좁혀야만 취소」 · 그 전 = 몸 반지름) = 몸 반지름 × 표 ib_ui aim_cancel_ratio(발밑 터치 원 크기) · 최소 = 몸 반지름. + /// + public float AimCancelRadius(Unit u) + { + return u.Radius * Mathf.Max(Mathf.Min(1f, battle.Config.aimStartRadiusRatio), IbUi.Num("aim_cancel_ratio", 1f)); + } + + /// 조준 시작 반경(월드) = 몸 반지름 × aimStartRadiusRatio · 취소 반경보다 작으면 취소 반경 × (1 + 표 aim_cancel_hyst)(경계에서 깜빡이지 않게). + public float AimStartRadius(Unit u) + { + return Mathf.Max(u.Radius * battle.Config.aimStartRadiusRatio, AimCancelRadius(u) * (1f + Mathf.Max(0f, IbUi.Num("aim_cancel_hyst", 0.1f)))); } /// @@ -671,7 +687,7 @@ namespace TKS // 잠금 안내(학습 판) = 가리킨 것(그 유닛 · 스킬 버튼)만 누를 수 있다 var guide = TutorialDirector.Current; - if (guide != null && guide.Locked && !guide.AllowPress(screen, battle.UnitNear(ScreenToWorld(screen), Faction.Player))) return; + if (guide != null && guide.Locked && !guide.AllowPress(screen, battle.UnitAtTouch(ScreenToWorld(screen), Faction.Player))) return; // 스킬 버튼(HUD) 탭 = 예약/취소/즉시 발동 · 변진 대기 중 = 목표 지점 탭(PD #1093 B) if (hud != null && hud.TrySkillTap(screen)) @@ -707,8 +723,7 @@ namespace TKS } Vector2 w = ScreenToWorld(screen); - var u = battle.UnitNear(w, Faction.Player); - if (u == null) u = battle.UnitNear(w, null); // 적 유닛 터치 = 적의 사거리 표시 + var u = battle.UnitAtTouch(w, null); // 발밑 원 아군 → 발밑 원 적(적 유닛 터치 = 적의 사거리 표시) → 그림을 감싸는 강조 원(PD 2026-11-25) if (ScenarioEvent.Absent(u)) u = null; // 연출이 숨긴(아직 나타나지 않은) 유닛 = 누를 수 없음 Select(u); if (u != null && battle.CanAct(u)) diff --git a/Assets/Scripts/Runtime/Tutorial/TutorialDirector.cs b/Assets/Scripts/Runtime/Tutorial/TutorialDirector.cs index 85628d47..68bda046 100644 --- a/Assets/Scripts/Runtime/Tutorial/TutorialDirector.cs +++ b/Assets/Scripts/Runtime/Tutorial/TutorialDirector.cs @@ -641,18 +641,10 @@ namespace TKS if (u != null) { if (!u.IsAlive) continue; - if (u.View != null && u.View.HasArt) - { - // 그림(발 = −0.55 R · 키 = ArtHeight) 전체를 감싼다 - float h = u.ArtHeight + 0.3f; - centers.Add(u.Position + new Vector2(0f, -u.Radius * 0.55f + u.ArtHeight * 0.5f)); - halves.Add(new Vector2(Mathf.Max(u.Radius * 1.5f, h * 0.42f), h * 0.5f)); - } - else - { - centers.Add(u.Position); - halves.Add(Vector2.one * u.Radius * 1.5f); - } + Vector2 bc, bh; + u.BodyArea(out bc, out bh); // 그림 전체를 감싼다(터치 판정과 같은 칸 · Unit.BodyArea) + centers.Add(bc); + halves.Add(bh); rounds.Add(true); continue; } @@ -897,6 +889,7 @@ namespace TKS ui.PlaceBar(low); } + DrawPath(row); // 이동 경로 표시(표 s_path · PD 2026-11-24) if (row.mode == GuideMode.Drag) DrawDrag(row); else if (row.mode == GuideMode.Popup) DrawDemoFinger(); // 카드 + 끌기 시범 = 손가락(화살표 · 게이지 = SlingshotInput) else if (row.mode == GuideMode.Tap && rects.Count > 0) @@ -958,6 +951,30 @@ namespace TKS ui.Finger(p, t < 0.85f ? 1f : 0f, alpha); } + /// + /// 이동 경로 표시(PD 2026-11-24 「기병 공격 튜토리얼에서 장비의 이동 경로를 인디케이터 형태로」 · 표 scenario_guide s_path = slot:A>slot:B) — + /// A(움직일 유닛) 몸 밖에서 B 쪽으로 「B 까지 + guide_path_over」(최대 = A 의 슬링 최대 거리) 를 꺾쇠가 줄지어 흐른다 · 값 = scenario_event_config guide_path_*. + /// + void DrawPath(TutorialGuideRow row) + { + var p = row.Path; + if (p == null || plan == null) return; + var u = plan.UnitAt(p.from); + if (u == null || !u.IsAlive) return; + Vector2 to = p.point; + Vector2 c; + if (p.to > 0 && SlotCenter(p.to, out c)) to = c; + Vector2 d = to - u.Position; + float len = d.magnitude; + if (len < 1e-3f) return; + d /= len; + float reach = Mathf.Min(SkillMods.SlingMax(u), len + ScenarioData.EvCfg("guide_path_over")); + Vector2 a = ui.ToCanvas(u.Position + d * u.Radius * 1.2f), b = ui.ToCanvas(u.Position + d * reach); + float sec = Mathf.Max(0.1f, ScenarioData.EvCfg("guide_path_sec")); + var col = IbUi.Col("aim_arrow_color_attack", new Color(1f, 0.76f, 0.23f)); + ui.Path(a, b, ScenarioData.EvCfg("guide_path_gap"), ScenarioData.EvCfg("guide_path_size"), col, (Time.unscaledTime - shownAt) / sec); + } + /// 끌기 시범의 손가락 — 유닛을 누르고 목표 쪽으로 끔(화살표 끝까지 · 놓을 때 사라짐). void DrawDemoFinger() { diff --git a/Assets/Scripts/Runtime/Tutorial/TutorialGuideUI.cs b/Assets/Scripts/Runtime/Tutorial/TutorialGuideUI.cs index 2940f593..a1ad0463 100644 --- a/Assets/Scripts/Runtime/Tutorial/TutorialGuideUI.cs +++ b/Assets/Scripts/Runtime/Tutorial/TutorialGuideUI.cs @@ -32,6 +32,43 @@ namespace TKS Image line; Image aimEnd; bool fingerOn, lineOn, aimOn, dimOn; + readonly List pathMarks = new List(); // 이동 경로 표시(꺾쇠가 줄지어 흐름 · PD 2026-11-24 「장비의 이동 경로를 인디케이터 형태로」) + int pathUsed; + + /// 이동 경로 꺾쇠 수(시험 · 캡처 · 0 = 안 보임). + public int PathMarkCount { get { return pathUsed; } } + + /// + /// 이동 경로 = a → b 로 꺾쇠(›)가 gap 간격으로 줄지어 흐른다(phase 0~1 = 한 칸 진행 · 양 끝 한 칸은 옅게) · 캔버스 좌표 · size = 꺾쇠 크기. + /// + public void Path(Vector2 a, Vector2 b, float gap, float size, Color c, float phase) + { + Vector2 d = b - a; + float len = d.magnitude; + gap = Mathf.Max(8f, gap); + if (len < gap) return; + Vector2 u = d / len; + float ang = Mathf.Atan2(d.y, d.x) * Mathf.Rad2Deg - 90f; // 꺾쇠 그림 = 위를 가리킴 + int n = Mathf.FloorToInt(len / gap) + 1; + for (int i = 0; i < n; i++) + { + float s = (i + Mathf.Repeat(phase, 1f)) * gap; + if (s > len) continue; + if (pathUsed >= pathMarks.Count) + { + var img = Box("PathMark" + pathMarks.Count, fx, c); + img.sprite = ProceduralSprites.Chevron; + img.preserveAspect = true; + pathMarks.Add(img); + } + var m = pathMarks[pathUsed++]; + Show(m, true); + SetRect(m.rectTransform, a + u * s, new Vector2(size, size)); + m.rectTransform.localRotation = Quaternion.Euler(0f, 0f, ang); + float edge = Mathf.Clamp01(Mathf.Min(s, len - s) / gap); // 끝에서 한 칸 안 = 옅게 나타남 · 사라짐 + m.color = new Color(c.r, c.g, c.b, c.a * edge); + } + } RectTransform bar; Text barText; @@ -205,6 +242,7 @@ namespace TKS public void BeginFrame() { markUsed = 0; + pathUsed = 0; fingerOn = lineOn = aimOn = dimOn = false; } @@ -315,6 +353,7 @@ namespace TKS public void EndFrame() { for (int i = markUsed; i < marks.Count; i++) Show(marks[i].rt.gameObject, false); + for (int i = pathUsed; i < pathMarks.Count; i++) Show(pathMarks[i], false); if (!fingerOn) Show(finger.gameObject, false); if (!lineOn) Show(line.gameObject, false); if (!aimOn) Show(aimEnd.gameObject, false); diff --git a/Assets/Scripts/Runtime/Tutorial/TutorialTable.cs b/Assets/Scripts/Runtime/Tutorial/TutorialTable.cs index 1958a6a5..353c3c77 100644 --- a/Assets/Scripts/Runtime/Tutorial/TutorialTable.cs +++ b/Assets/Scripts/Runtime/Tutorial/TutorialTable.cs @@ -215,8 +215,28 @@ namespace TKS public float aimDeg; public string textKo = ""; public int line; + [Tooltip("이동 경로 표시(연의 scenario_guide s_path · 대상과 같은 꼴 slot:A>slot:B 또는 slot:A>xy:x,y · A 에서 B 쪽으로 흐르는 꺾쇠 · 비우면 없음 · PD 2026-11-24 「장비의 이동 경로를 인디케이터 형태로」)")] + public string pathRaw = ""; [NonSerialized] GuideTarget target; + [NonSerialized] GuideTarget path; + [NonSerialized] bool pathParsed; + + /// 이동 경로(끌기 꼴 대상) — 비었거나 끌기 꼴이 아니면 null. + public GuideTarget Path + { + get + { + if (!pathParsed) + { + pathParsed = true; + string why; + var t = string.IsNullOrEmpty(pathRaw) ? null : GuideTarget.Parse(pathRaw, out why); + path = t != null && t.kind == GuideTargetKind.Drag ? t : null; + } + return path; + } + } public GuideTarget Target { diff --git a/Assets/Scripts/Runtime/Unit.cs b/Assets/Scripts/Runtime/Unit.cs index 665d9ae3..10afb770 100644 --- a/Assets/Scripts/Runtime/Unit.cs +++ b/Assets/Scripts/Runtime/Unit.cs @@ -177,6 +177,27 @@ namespace TKS half = Vector2.one * Radius * 1.5f; } + /// p 가 강조 원(BodyArea 의 큰 쪽 반지름 원) 안인가 · k = 가운데에서 떨어진 정도(0 = 가운데 · 1 = 테두리). + public bool InBodyCircle(Vector2 p, out float k) + { + Vector2 c, h; + BodyArea(out c, out h); + k = (p - c).magnitude / Mathf.Max(0.01f, Mathf.Max(h.x, h.y)); + return k <= 1f; + } + + /// + /// 승리 연출에 쓰러진 유닛을 다시 세움(전투가 끝난 뒤만 · ScenarioEvent win · PD 2026-11-25 「1장 3막에서 관우나 장비, 유비 중 사망한 영웅이 발생할 경우 + /// 마지막 도원결의 이벤트에서 영웅이 보이지 않는 현상을 수정」) — 체력 가득(HP 바가 빈 채로 서 있지 않게) · 그림 되돌림 · 몸(충돌)은 연출 show 가 켠다. + /// + public void ReviveForScene() + { + if (IsAlive) return; + Hp = MaxHp; + gameObject.SetActive(true); + if (View != null) View.Revive(); + } + public void SetOverwatch(bool on) { Overwatch = on && IsAlive; diff --git a/Assets/Scripts/Runtime/UnitView.cs b/Assets/Scripts/Runtime/UnitView.cs index ab364dbc..12c9642b 100644 --- a/Assets/Scripts/Runtime/UnitView.cs +++ b/Assets/Scripts/Runtime/UnitView.cs @@ -570,6 +570,7 @@ namespace TKS float t = 0f; const float dur = 0.45f; Vector3 s0 = transform.localScale; + liveScale = s0; var sr = anim != null ? anim.Renderer : body; while (t < dur) { @@ -583,5 +584,22 @@ namespace TKS } unit.gameObject.SetActive(false); } + + Vector3 liveScale = Vector3.one; + + /// 쓰러진 그림을 되돌림(Unit.ReviveForScene · 승리 연출에 쓰러진 영웅이 다시 서서 나옴) — 크기 · 색 · 대기 자세. + public void Revive() + { + StopAllCoroutines(); + flash = null; + transform.localScale = liveScale; + if (anim != null) + { + anim.Renderer.color = Color.white; + anim.PlayIdle(); + } + else body.color = baseColor; + Refresh(); + } } } diff --git a/Assets/Tests/PlayMode/BattleFlowTests.cs b/Assets/Tests/PlayMode/BattleFlowTests.cs index 9fc99411..d3a09891 100644 --- a/Assets/Tests/PlayMode/BattleFlowTests.cs +++ b/Assets/Tests/PlayMode/BattleFlowTests.cs @@ -841,7 +841,8 @@ namespace TKS.Tests // 조준(화살표·게이지)은 손가락이 유닛 밖으로 나가야 켜지고 유닛 원 안으로 돌아오면 꺼진다(PD 2026-11-16 5차) Assert.IsFalse(sling.AimActive(inf, inf.Position + Vector2.up * inf.Radius * 0.5f, false), "유닛 위 = 화살표·게이지 없음"); Assert.IsFalse(sling.AimActive(inf, inf.Position + Vector2.up * inf.Radius * cfg.aimStartRadiusRatio * 0.95f, false), "켜는 거리 안쪽 = 아직 없음"); - Assert.IsTrue(sling.AimActive(inf, inf.Position + Vector2.up * inf.Radius * cfg.aimStartRadiusRatio * 1.05f, false), "유닛 밖으로 끌면 조준 시작"); + Assert.IsTrue(sling.AimActive(inf, inf.Position + Vector2.down * sling.AimStartRadius(inf) * 1.05f, false), "유닛 밖으로 끌면 조준 시작(시작 반경 = 취소 반경 바깥 · PD 2026-11-24 · 아래로 = 위쪽은 그림을 감싸는 터치 원 안일 수 있음 · 2026-11-25)"); + Assert.IsFalse(sling.AimActive(inf, inf.Position + Vector2.up * sling.AimCancelRadius(inf) * 0.95f, true), "터치 원 안으로 줄이면 조준 해제(PD 2026-11-24 「너무 타이트」)"); Assert.IsFalse(sling.AimActive(inf, inf.Position + Vector2.up * inf.Radius * 0.5f, true), "유닛 원 안으로 되돌리면 조준 해제"); inf.GaugeCrit = true;