월드맵 하드 밤 불빛 · 스테이지 노드 재배치 · 표시 규칙 + 명패 · 본영 현판 · 난이도 글자(PD 2026-11-25~26)

- 위 = 붉은 칠 명패 장 이름(tre_plaque) · 금테 넘김(ms_plaque) · 아래 = 나무 현판 본영(bt_turn_plaque_ally) + 성문 아이콘 · 난이도 = 명패 아래 글자 + 짙은 나무색 받침 · 장 이름에 「하드」 없음 · 밤 필터가 명패 색을 안 바꿈
- 하드 밤 불빛(「밤이 되었다면 어울리게 본영에 불 빛이 비춰지는 형태로 자연스럽게」): 맵 성 · 진영 · 마을 76곳 따뜻한 번짐 + 깜빡임 · 자리 표 UI/worldmap_lights.csv · 모양 worldmap_hard.csv night_light · MapLightFlicker(자기 Frame 캔버스 · P41) · 뽑기 광원 덧셈 합성 · QA PASS
- 노드 자리(「거점 간격이 너무 몰려 있거나 제대로 된 위치가 아님」): Tools/node_layout.py = 큰길에서 물 건너기(다리 · 짧은 물 구간)를 뺀 길이로 고른 등분 → Data/ch01~10.json stages[].at · arc · stage_rule (납품 재수신 시 재실행) · QA r1 · r2 B 고침
- 표시 규칙: 깃발 = 깬 칸 + 지금 칸만 · 초록 핀 = 지금 칸 하나(흔들림 16) · 번호 = 스테이지만(제목체 40 · 보스 46) · 맵 보상 표식 삭제(팝업에만) · 보스 메달 = 지금 칸일 때만 · 보이지 않는 누름 판 200×250 · 「전 스테이지 열기」 때 안 보이는 앞 칸 자리 누름 가능
- 캡처 드라이버 worldmap_main · worldmap_hard · worldmap_progress · 시험 GoodsTests HardMap(불빛 수) · BattleFlowTests WorldMap(보이는 깃발 · 커서) → WorldMap 5/5(「전 스테이지 열기」 끈 상태)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
깃 관리자 2026-11-26 01:33:19 +09:00
parent e924d2bcbd
commit 6443cefeb0
21 changed files with 1144 additions and 506 deletions

View File

@ -718,7 +718,7 @@
0.0,
3432.5
],
"stage_rule": "장소 고정 노드(fixed) = 그 장소에서 가장 가까운 길 점(건물 위에 앉으면 길 따라 조금 밂) · 첫 노드 = 길 첫 점 · 마지막 = 길 끝(보스 장소 앞) · 사이 = 앞뒤 고정 노드 사이 호 길이 등분",
"stage_rule": "고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · 물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음",
"road_trim_px": [
0,
0
@ -737,7 +737,7 @@
3399.0
],
"arc": 0.0,
"fixed": "@start"
"fixed": ""
},
{
"stage": 2,
@ -747,10 +747,10 @@
"place": "탁현",
"title": "탁현 고갯길 — 관우 구출",
"at": [
881.6,
3340.6
792.6,
3353.5
],
"arc": 450.0,
"arc": 360.0,
"fixed": ""
},
{
@ -761,11 +761,11 @@
"place": "누상촌",
"title": "누상촌 어귀 — 포위 돌파",
"at": [
1245.8,
3121.3
1130.2,
3263.0
],
"arc": 899.9,
"fixed": "lousang"
"arc": 712.0,
"fixed": ""
},
{
"stage": 4,
@ -775,10 +775,10 @@
"place": "대흥산",
"title": "대흥산 — 등무",
"at": [
1262.9,
2852.3
1257.0,
2957.9
],
"arc": 1169.9,
"arc": 1064.0,
"fixed": ""
},
{
@ -789,11 +789,11 @@
"place": "대흥산",
"title": "대흥산 전투 — 정원지",
"at": [
1286.2,
2583.8
1281.9,
2607.3
],
"arc": 1439.9,
"fixed": "daxing"
"arc": 1416.0,
"fixed": ""
},
{
"stage": 6,
@ -803,11 +803,11 @@
"place": "청주",
"title": "청주 포위망",
"at": [
1638.0,
2317.7
1502.3,
2364.9
],
"arc": 1920.0,
"fixed": "qingzhou"
"arc": 1776.0,
"fixed": ""
},
{
"stage": 7,
@ -817,10 +817,10 @@
"place": "청주",
"title": "청주 산골 매복",
"at": [
1802.5,
2110.8
1785.0,
2190.4
],
"arc": 2210.0,
"arc": 2128.0,
"fixed": ""
},
{
@ -832,10 +832,10 @@
"title": "영천 — 불길 속 황건",
"at": [
1821.0,
1822.2
1842.1
],
"arc": 2499.9,
"fixed": "yingchuan"
"arc": 2480.0,
"fixed": ""
},
{
"stage": 9,
@ -849,7 +849,7 @@
1243.4
],
"arc": 3080.0,
"fixed": "yc_n"
"fixed": ""
},
{
"stage": 10,
@ -863,7 +863,7 @@
891.7
],
"arc": 3432.5,
"fixed": "@end"
"fixed": ""
}
],
"landmarks": [

View File

@ -698,7 +698,7 @@
0.0,
3334.1
],
"stage_rule": "장소 고정 노드(fixed) = 그 장소에서 가장 가까운 길 점(건물 위에 앉으면 길 따라 조금 밂) · 첫 노드 = 길 첫 점 · 마지막 = 길 끝(보스 장소 앞) · 사이 = 앞뒤 고정 노드 사이 호 길이 등분",
"stage_rule": "고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · 물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음",
"road_trim_px": [
0,
0
@ -717,7 +717,7 @@
3420.3
],
"arc": 0.0,
"fixed": "@start"
"fixed": ""
},
{
"stage": 2,
@ -727,11 +727,11 @@
"place": "사수관 동쪽",
"title": "사수관 가는 길",
"at": [
1129.9,
3319.7
831.4,
3374.7
],
"arc": 680.0,
"fixed": "sunjian"
"arc": 376.0,
"fixed": ""
},
{
"stage": 3,
@ -741,10 +741,10 @@
"place": "사수관",
"title": "사수관 앞 — 호진",
"at": [
1342.1,
3211.7
1193.4,
3313.0
],
"arc": 926.7,
"arc": 744.0,
"fixed": ""
},
{
@ -755,10 +755,10 @@
"place": "사수관",
"title": "손견 진영 야습",
"at": [
1437.4,
2989.2
1411.5,
3044.7
],
"arc": 1173.4,
"arc": 1112.0,
"fixed": ""
},
{
@ -769,11 +769,11 @@
"place": "사수관",
"title": "사수관 — 화웅",
"at": [
1479.5,
2750.7
1479.0,
2682.8
],
"arc": 1420.1,
"fixed": "sishui"
"arc": 1488.0,
"fixed": ""
},
{
"stage": 6,
@ -783,11 +783,11 @@
"place": "사수관",
"title": "사수관 함락 — 잔병",
"at": [
1547.1,
2281.1
1550.1,
2339.1
],
"arc": 1920.1,
"fixed": "sishui_n"
"arc": 1856.0,
"fixed": ""
},
{
"stage": 7,
@ -797,11 +797,11 @@
"place": "호로관 동쪽",
"title": "호로관 가는 길 — 서량 기병",
"at": [
1802.2,
1684.5
1710.3,
2027.0
],
"arc": 2580.0,
"fixed": "dz_outpost"
"arc": 2224.0,
"fixed": ""
},
{
"stage": 8,
@ -811,10 +811,10 @@
"place": "호로관",
"title": "호로관 앞 — 방열이 쓰러진 자리",
"at": [
1805.7,
1468.0
1804.4,
1664.6
],
"arc": 2797.1,
"arc": 2600.0,
"fixed": ""
},
{
@ -825,11 +825,11 @@
"place": "호로관",
"title": "호로관 측면 — 적토마 돌격대",
"at": [
1792.3,
1251.5
1796.6,
1297.5
],
"arc": 3014.1,
"fixed": "@end:-320"
"arc": 2968.0,
"fixed": ""
},
{
"stage": 10,
@ -843,7 +843,7 @@
933.7
],
"arc": 3334.1,
"fixed": "@end"
"fixed": ""
}
],
"landmarks": [

View File

@ -962,7 +962,7 @@
0.0,
4650.1
],
"stage_rule": "장소 고정 노드(fixed) = 그 장소에서 가장 가까운 길 점(건물 위에 앉으면 길 따라 조금 밂) · 첫 노드 = 길 첫 점 · 마지막 = 길 끝(보스 장소 앞) · 사이 = 앞뒤 고정 노드 사이 호 길이 등분",
"stage_rule": "고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · 물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음",
"road_trim_px": [
0,
0
@ -981,7 +981,7 @@
3399.0
],
"arc": 0.0,
"fixed": "@start"
"fixed": ""
},
{
"stage": 2,
@ -991,10 +991,10 @@
"place": "반하",
"title": "반하 들판",
"at": [
702.9,
3380.1
788.4,
3371.0
],
"arc": 250.0,
"arc": 336.0,
"fixed": ""
},
{
@ -1005,10 +1005,10 @@
"place": "반하",
"title": "반하 다리 — 문추의 추격",
"at": [
950.7,
3348.4
1119.8,
3317.2
],
"arc": 500.0,
"arc": 672.0,
"fixed": ""
},
{
@ -1019,10 +1019,10 @@
"place": "반하",
"title": "반하 — 엄강의 패전",
"at": [
1196.1,
3301.2
1439.4,
3244.9
],
"arc": 749.9,
"arc": 1000.0,
"fixed": ""
},
{
@ -1033,11 +1033,11 @@
"place": "반하",
"title": "반하 — 국의",
"at": [
1439.3,
3244.9
1721.1,
3073.2
],
"arc": 999.9,
"fixed": "banhe"
"arc": 1336.0,
"fixed": ""
},
{
"stage": 6,
@ -1047,10 +1047,10 @@
"place": "북해 서쪽",
"title": "북해 가는 길 — 황건 잔당",
"at": [
1748.2,
3015.5
1773.0,
2754.2
],
"arc": 1400.0,
"arc": 1664.0,
"fixed": ""
},
{
@ -1061,11 +1061,11 @@
"place": "북해",
"title": "북해 포위망 바깥",
"at": [
1767.6,
2618.5
1761.0,
2418.7
],
"arc": 1800.0,
"fixed": "beihai"
"arc": 2000.0,
"fixed": ""
},
{
"stage": 8,
@ -1075,10 +1075,10 @@
"place": "북해",
"title": "태사자의 돌파로",
"at": [
1761.6,
2338.8
1729.4,
2095.2
],
"arc": 2080.0,
"arc": 2328.0,
"fixed": ""
},
{
@ -1089,10 +1089,10 @@
"place": "북해",
"title": "북해 성문 — 관해 친위",
"at": [
1712.4,
2068.1
1463.8,
1909.1
],
"arc": 2360.0,
"arc": 2664.0,
"fixed": ""
},
{
@ -1103,11 +1103,11 @@
"place": "북해",
"title": "북해 — 관해",
"at": [
1487.1,
1914.9
1139.0,
1866.5
],
"arc": 2640.0,
"fixed": "beihai_rebels"
"arc": 2992.0,
"fixed": ""
},
{
"stage": 11,
@ -1117,10 +1117,10 @@
"place": "서주 북쪽",
"title": "서주 가는 길 — 불타는 마을",
"at": [
1041.6,
1855.8
815.3,
1790.1
],
"arc": 3090.0,
"arc": 3328.0,
"fixed": ""
},
{
@ -1131,11 +1131,11 @@
"place": "서주",
"title": "서주 외곽 — 조조 포위진",
"at": [
714.9,
1616.3
711.0,
1500.5
],
"arc": 3540.0,
"fixed": "xuzhou"
"arc": 3656.0,
"fixed": ""
},
{
"stage": 13,
@ -1145,10 +1145,10 @@
"place": "서주",
"title": "서주 남쪽 — 피난민 행렬",
"at": [
704.6,
1247.9
717.0,
1167.1
],
"arc": 3910.0,
"arc": 3992.0,
"fixed": ""
},
{
@ -1159,10 +1159,10 @@
"place": "서주",
"title": "조조 진영 외곽",
"at": [
874.2,
938.5
908.5,
918.0
],
"arc": 4280.0,
"arc": 4320.0,
"fixed": ""
},
{
@ -1177,7 +1177,7 @@
819.0
],
"arc": 4650.1,
"fixed": "@end"
"fixed": ""
}
],
"landmarks": [

View File

@ -1246,7 +1246,7 @@
0.0,
6067.9
],
"stage_rule": "장소 고정 노드(fixed) = 그 장소에서 가장 가까운 길 점(건물 위에 앉으면 길 따라 조금 밂) · 첫 노드 = 길 첫 점 · 마지막 = 길 끝(보스 장소 앞) · 사이 = 앞뒤 고정 노드 사이 호 길이 등분",
"stage_rule": "고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · 물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음",
"road_trim_px": [
0,
0
@ -1265,7 +1265,7 @@
3429.0
],
"arc": 0.0,
"fixed": "@start"
"fixed": ""
},
{
"stage": 2,
@ -1275,11 +1275,11 @@
"place": "회음",
"title": "회음 강변 — 군량 수송대",
"at": [
1187.4,
3276.6
843.6,
3393.0
],
"arc": 820.0,
"fixed": "huaiyin"
"arc": 440.0,
"fixed": ""
},
{
"stage": 3,
@ -1289,11 +1289,11 @@
"place": "우이",
"title": "우이 — 순정",
"at": [
647.1,
2870.1
1223.3,
3239.0
],
"arc": 1740.0,
"fixed": "xuyi_n"
"arc": 872.0,
"fixed": ""
},
{
"stage": 4,
@ -1303,10 +1303,10 @@
"place": "우이",
"title": "우이 진영 야습",
"at": [
485.3,
2780.1
1078.0,
2927.2
],
"arc": 1930.0,
"arc": 1304.0,
"fixed": ""
},
{
@ -1317,11 +1317,11 @@
"place": "우이",
"title": "우이 — 기령",
"at": [
471.0,
2593.3
651.0,
2870.9
],
"arc": 2119.9,
"fixed": "jiling"
"arc": 1736.0,
"fixed": ""
},
{
"stage": 6,
@ -1331,11 +1331,11 @@
"place": "서주성",
"title": "서주성의 밤 — 조표의 배신",
"at": [
1074.8,
2321.9
478.6,
2546.2
],
"arc": 2840.0,
"fixed": "xuzhou"
"arc": 2168.0,
"fixed": ""
},
{
"stage": 7,
@ -1345,11 +1345,11 @@
"place": "소패",
"title": "소패 — 빼앗긴 말",
"at": [
1775.9,
2164.8
844.0,
2344.9
],
"arc": 3599.9,
"fixed": "xiaopei"
"arc": 2608.0,
"fixed": ""
},
{
"stage": 8,
@ -1359,10 +1359,10 @@
"place": "소패 서쪽",
"title": "소패 탈출 — 여포군 추격",
"at": [
1780.5,
1965.0
1273.8,
2302.5
],
"arc": 3800.0,
"arc": 3040.0,
"fixed": ""
},
{
@ -1373,10 +1373,10 @@
"place": "소패",
"title": "소패 구원 — 조성",
"at": [
1791.0,
1765.5
1702.7,
2262.2
],
"arc": 4000.0,
"arc": 3472.0,
"fixed": ""
},
{
@ -1387,11 +1387,11 @@
"place": "소패",
"title": "소패 — 고순",
"at": [
1791.0,
1565.5
1785.1,
1861.2
],
"arc": 4200.0,
"fixed": "gaoshun"
"arc": 3904.0,
"fixed": ""
},
{
"stage": 11,
@ -1401,11 +1401,11 @@
"place": "서주성",
"title": "서주성 — 진등의 계책",
"at": [
1086.6,
1488.7
1689.6,
1497.3
],
"arc": 4939.9,
"fixed": "xz_n"
"arc": 4336.0,
"fixed": ""
},
{
"stage": 12,
@ -1415,10 +1415,10 @@
"place": "하비",
"title": "하비 외곽 — 진궁",
"at": [
805.2,
1479.1
1258.2,
1497.0
],
"arc": 5221.9,
"arc": 4768.0,
"fixed": ""
},
{
@ -1429,10 +1429,10 @@
"place": "하비",
"title": "하비 수공",
"at": [
654.6,
1262.7
818.9,
1481.8
],
"arc": 5503.9,
"arc": 5208.0,
"fixed": ""
},
{
@ -1443,10 +1443,10 @@
"place": "하비",
"title": "하비 성문 — 장료",
"at": [
708.1,
994.4
662.9,
1127.8
],
"arc": 5785.9,
"arc": 5640.0,
"fixed": ""
},
{
@ -1461,7 +1461,7 @@
842.3
],
"arc": 6067.9,
"fixed": "@end"
"fixed": ""
}
],
"landmarks": [

View File

@ -1118,7 +1118,7 @@
0.0,
5429.6
],
"stage_rule": "장소 고정 노드(fixed) = 그 장소에서 가장 가까운 길 점(건물 위에 앉으면 길 따라 조금 밂) · 첫 노드 = 길 첫 점 · 마지막 = 길 끝(보스 장소 앞) · 사이 = 앞뒤 고정 노드 사이 호 길이 등분",
"stage_rule": "고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · 물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음",
"road_trim_px": [
0,
0
@ -1137,7 +1137,7 @@
3429.0
],
"arc": 0.0,
"fixed": "@start"
"fixed": ""
},
{
"stage": 2,
@ -1147,10 +1147,10 @@
"place": "허도 동쪽",
"title": "허도 출진 — 원술 차단",
"at": [
688.4,
3404.2
819.0,
3385.7
],
"arc": 260.0,
"arc": 392.0,
"fixed": ""
},
{
@ -1161,10 +1161,10 @@
"place": "서주 남쪽",
"title": "서주 남쪽 — 원술군 선봉",
"at": [
945.6,
3367.7
1196.9,
3319.8
],
"arc": 520.0,
"arc": 776.0,
"fixed": ""
},
{
@ -1175,10 +1175,10 @@
"place": "서주 남쪽",
"title": "원술 친위대",
"at": [
1200.7,
3318.9
1578.2,
3230.1
],
"arc": 780.0,
"arc": 1168.0,
"fixed": ""
},
{
@ -1189,11 +1189,11 @@
"place": "서주 남쪽",
"title": "서주 남쪽 — 기령",
"at": [
1453.6,
3259.4
1846.9,
3015.8
],
"arc": 1040.0,
"fixed": "jiling"
"arc": 1552.0,
"fixed": ""
},
{
"stage": 6,
@ -1203,11 +1203,11 @@
"place": "수춘 북쪽",
"title": "원술의 몰락 — 패잔병",
"at": [
1857.0,
2788.3
1856.5,
2632.3
],
"arc": 1780.0,
"fixed": "ysu_remnant"
"arc": 1936.0,
"fixed": ""
},
{
"stage": 7,
@ -1217,11 +1217,11 @@
"place": "서주성",
"title": "서주성 앞 — 차주의 복병",
"at": [
1445.8,
2427.1
1537.2,
2436.2
],
"arc": 2420.0,
"fixed": "xz_n"
"arc": 2328.0,
"fixed": ""
},
{
"stage": 8,
@ -1231,10 +1231,10 @@
"place": "서주성",
"title": "서주성 — 차주",
"at": [
1167.0,
2406.3
1155.2,
2404.4
],
"arc": 2700.0,
"arc": 2712.0,
"fixed": ""
},
{
@ -1245,10 +1245,10 @@
"place": "서주",
"title": "서주 외곽 — 조조 토벌군",
"at": [
889.2,
2373.3
773.5,
2366.1
],
"arc": 2980.0,
"arc": 3096.0,
"fixed": ""
},
{
@ -1259,11 +1259,11 @@
"place": "서주",
"title": "서주 — 유대·왕충",
"at": [
634.7,
2298.7
621.0,
2072.2
],
"arc": 3260.0,
"fixed": "liudai"
"arc": 3488.0,
"fixed": ""
},
{
"stage": 11,
@ -1273,11 +1273,11 @@
"place": "소패",
"title": "소패 야습",
"at": [
613.4,
1820.8
657.0,
1700.3
],
"arc": 3740.0,
"fixed": "xiaopei"
"arc": 3872.0,
"fixed": ""
},
{
"stage": 12,
@ -1287,10 +1287,10 @@
"place": "소패 북쪽",
"title": "소패 패주로",
"at": [
778.1,
1507.4
908.8,
1471.0
],
"arc": 4120.0,
"arc": 4256.0,
"fixed": ""
},
{
@ -1301,11 +1301,11 @@
"place": "하비",
"title": "하비 — 고립된 관우",
"at": [
1148.5,
1427.1
1294.3,
1402.1
],
"arc": 4499.9,
"fixed": "xiapi"
"arc": 4648.0,
"fixed": ""
},
{
"stage": 14,
@ -1315,10 +1315,10 @@
"place": "하비",
"title": "하비 성 밖 — 하후돈의 유인",
"at": [
1472.9,
1173.7
1480.9,
1107.0
],
"arc": 4964.7,
"arc": 5032.0,
"fixed": ""
},
{
@ -1329,11 +1329,11 @@
"place": "토산",
"title": "토산 — 서황·허저",
"at": [
1697.7,
777.7
1691.2,
789.6
],
"arc": 5429.6,
"fixed": "@end"
"arc": 5416.0,
"fixed": ""
}
],
"landmarks": [

View File

@ -1118,7 +1118,7 @@
0.0,
5433.2
],
"stage_rule": "장소 고정 노드(fixed) = 그 장소에서 가장 가까운 길 점(건물 위에 앉으면 길 따라 조금 밂) · 첫 노드 = 길 첫 점 · 마지막 = 길 끝(보스 장소 앞) · 사이 = 앞뒤 고정 노드 사이 호 길이 등분",
"stage_rule": "고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · 물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음",
"road_trim_px": [
0,
0
@ -1137,7 +1137,7 @@
3429.0
],
"arc": 0.0,
"fixed": "@start"
"fixed": ""
},
{
"stage": 2,
@ -1147,10 +1147,10 @@
"place": "백마",
"title": "백마 — 쓰러진 송헌·위속",
"at": [
670.0,
3414.2
706.8,
3410.2
],
"arc": 235.0,
"arc": 272.0,
"fixed": ""
},
{
@ -1161,10 +1161,10 @@
"place": "백마",
"title": "백마 들판 — 안량 본진 앞",
"at": [
902.8,
3383.3
975.4,
3369.0
],
"arc": 470.0,
"arc": 544.0,
"fixed": ""
},
{
@ -1175,10 +1175,10 @@
"place": "백마",
"title": "백마 — 측면 기병",
"at": [
1132.5,
3334.1
1241.2,
3312.0
],
"arc": 705.0,
"arc": 816.0,
"fixed": ""
},
{
@ -1189,11 +1189,11 @@
"place": "백마",
"title": "백마 — 안량",
"at": [
1362.8,
3287.6
1503.0,
3240.6
],
"arc": 940.0,
"fixed": "yanliang"
"arc": 1088.0,
"fixed": ""
},
{
"stage": 6,
@ -1203,10 +1203,10 @@
"place": "연진",
"title": "연진 — 원소군 도하",
"at": [
1659.9,
3157.0
1721.3,
3087.6
],
"arc": 1266.7,
"arc": 1360.0,
"fixed": ""
},
{
@ -1217,10 +1217,10 @@
"place": "연진",
"title": "연진 — 버려진 군량과 말",
"at": [
1761.0,
2859.3
1753.2,
2574.7
],
"arc": 1593.3,
"arc": 1880.0,
"fixed": ""
},
{
@ -1231,11 +1231,11 @@
"place": "연진",
"title": "연진 — 장료·서황의 패퇴",
"at": [
1761.0,
2535.9
1755.2,
2304.2
],
"arc": 1920.0,
"fixed": "yj_n"
"arc": 2152.0,
"fixed": ""
},
{
"stage": 9,
@ -1245,10 +1245,10 @@
"place": "연진",
"title": "연진 강변 — 문추 친위",
"at": [
1754.2,
2286.3
1604.4,
2111.6
],
"arc": 2170.0,
"arc": 2424.0,
"fixed": ""
},
{
@ -1259,11 +1259,11 @@
"place": "연진",
"title": "연진 — 문추",
"at": [
1608.4,
2112.5
1335.7,
2070.5
],
"arc": 2419.9,
"fixed": "wenchou"
"arc": 2696.0,
"fixed": ""
},
{
"stage": 11,
@ -1273,11 +1273,11 @@
"place": "동령관",
"title": "동령관 — 공수",
"at": [
1272.0,
2064.6
1072.7,
2047.8
],
"arc": 2760.0,
"fixed": "dongling"
"arc": 2960.0,
"fixed": ""
},
{
"stage": 12,
@ -1287,11 +1287,11 @@
"place": "낙양",
"title": "낙양 외곽 — 맹탄",
"at": [
953.3,
2036.5
801.8,
2024.3
],
"arc": 3080.0,
"fixed": "luoyang"
"arc": 3232.0,
"fixed": ""
},
{
"stage": 13,
@ -1301,10 +1301,10 @@
"place": "낙양",
"title": "낙양 성문 — 한복",
"at": [
754.2,
2019.2
546.9,
1944.8
],
"arc": 3280.0,
"arc": 3504.0,
"fixed": ""
},
{
@ -1315,10 +1315,10 @@
"place": "사수관(진국사)",
"title": "사수관 — 진국사 매복",
"at": [
565.1,
1960.5
471.0,
1700.1
],
"arc": 3480.0,
"arc": 3776.0,
"fixed": ""
},
{
@ -1329,11 +1329,11 @@
"place": "사수관",
"title": "사수관 — 변희",
"at": [
471.0,
1796.1
469.3,
1446.3
],
"arc": 3680.0,
"fixed": "sishui"
"arc": 4048.0,
"fixed": ""
},
{
"stage": 16,
@ -1343,11 +1343,11 @@
"place": "형양",
"title": "형양 — 왕식의 연회",
"at": [
470.6,
1434.4
554.7,
1197.4
],
"arc": 4060.0,
"fixed": "xingyang"
"arc": 4320.0,
"fixed": ""
},
{
"stage": 17,
@ -1357,10 +1357,10 @@
"place": "형양",
"title": "형양 — 불붙은 객관",
"at": [
615.3,
1140.4
782.1,
1053.4
],
"arc": 4403.3,
"arc": 4592.0,
"fixed": ""
},
{
@ -1371,10 +1371,10 @@
"place": "형양",
"title": "형양 성문 — 왕식",
"at": [
923.1,
990.1
1031.4,
944.9
],
"arc": 4746.6,
"arc": 4864.0,
"fixed": ""
},
{
@ -1385,10 +1385,10 @@
"place": "활주",
"title": "활주 나루 — 진기",
"at": [
1242.5,
864.5
1286.5,
850.9
],
"arc": 5089.9,
"arc": 5136.0,
"fixed": ""
},
{
@ -1400,10 +1400,10 @@
"title": "황하 나루 — 하후돈",
"at": [
1419.0,
633.7
666.9
],
"arc": 5433.2,
"fixed": "@end"
"arc": 5400.0,
"fixed": ""
}
],
"landmarks": [

View File

@ -886,7 +886,7 @@
0.0,
4276.0
],
"stage_rule": "장소 고정 노드(fixed) = 그 장소에서 가장 가까운 길 점(건물 위에 앉으면 길 따라 조금 밂) · 첫 노드 = 길 첫 점 · 마지막 = 길 끝(보스 장소 앞) · 사이 = 앞뒤 고정 노드 사이 호 길이 등분",
"stage_rule": "고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · 물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음",
"road_trim_px": [
0,
0
@ -905,7 +905,7 @@
3421.0
],
"arc": 0.0,
"fixed": "@start"
"fixed": ""
},
{
"stage": 2,
@ -915,11 +915,11 @@
"place": "와우산",
"title": "와우산 — 주창의 산채",
"at": [
885.8,
3327.9
889.6,
3326.9
],
"arc": 460.0,
"fixed": "zhoucang"
"arc": 464.0,
"fixed": ""
},
{
"stage": 3,
@ -929,10 +929,10 @@
"place": "고성",
"title": "고성 — 의심하는 장비",
"at": [
1165.2,
3239.3
1330.3,
3182.6
],
"arc": 753.4,
"arc": 928.0,
"fixed": ""
},
{
@ -943,10 +943,10 @@
"place": "고성",
"title": "고성 외곽 — 채양 본대",
"at": [
1439.1,
3135.3
1675.9,
2911.1
],
"arc": 1046.7,
"arc": 1384.0,
"fixed": ""
},
{
@ -957,11 +957,11 @@
"place": "고성",
"title": "고성 — 채양",
"at": [
1661.3,
2952.6
1718.9,
2449.8
],
"arc": 1340.0,
"fixed": "gucheng"
"arc": 1848.0,
"fixed": ""
},
{
"stage": 6,
@ -971,11 +971,11 @@
"place": "관정장 북쪽",
"title": "하북 경계 — 유비의 탈출",
"at": [
1719.0,
2257.8
1458.9,
2008.9
],
"arc": 2040.0,
"fixed": "guandingzhuang"
"arc": 2440.0,
"fixed": ""
},
{
"stage": 7,
@ -985,10 +985,10 @@
"place": "관정장",
"title": "관정장 — 관평",
"at": [
1349.3,
1999.9
996.6,
1974.1
],
"arc": 2550.0,
"arc": 2904.0,
"fixed": ""
},
{
@ -999,11 +999,11 @@
"place": "와우산",
"title": "와우산 — 배원소",
"at": [
843.5,
1947.2
614.5,
1762.5
],
"arc": 3060.0,
"fixed": "wawu_n"
"arc": 3360.0,
"fixed": ""
},
{
"stage": 9,
@ -1013,10 +1013,10 @@
"place": "양산",
"title": "양산 — 조조의 추격",
"at": [
618.0,
1455.7
655.3,
1304.4
],
"arc": 3668.0,
"arc": 3824.0,
"fixed": ""
},
{
@ -1031,7 +1031,7 @@
927.7
],
"arc": 4276.0,
"fixed": "@end"
"fixed": ""
}
],
"landmarks": [

View File

@ -1046,7 +1046,7 @@
0.0,
5066.4
],
"stage_rule": "장소 고정 노드(fixed) = 그 장소에서 가장 가까운 길 점(건물 위에 앉으면 길 따라 조금 밂) · 첫 노드 = 길 첫 점 · 마지막 = 길 끝(보스 장소 앞) · 사이 = 앞뒤 고정 노드 사이 호 길이 등분",
"stage_rule": "고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · 물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음",
"road_trim_px": [
0,
0
@ -1065,7 +1065,7 @@
3429.0
],
"arc": 0.0,
"fixed": "@start"
"fixed": ""
},
{
"stage": 2,
@ -1075,10 +1075,10 @@
"place": "강하",
"title": "강하 — 반란군 선봉",
"at": [
744.1,
3398.0
785.8,
3393.0
],
"arc": 310.0,
"arc": 352.0,
"fixed": ""
},
{
@ -1089,11 +1089,11 @@
"place": "강하",
"title": "강하 산채 — 반란군 궁병",
"at": [
1050.0,
3349.0
1124.7,
3335.1
],
"arc": 620.0,
"fixed": "jiangxia"
"arc": 696.0,
"fixed": ""
},
{
"stage": 4,
@ -1103,10 +1103,10 @@
"place": "강하",
"title": "강하 — 진손",
"at": [
1344.8,
3294.1
1468.5,
3261.4
],
"arc": 920.0,
"arc": 1048.0,
"fixed": ""
},
{
@ -1117,11 +1117,11 @@
"place": "강하",
"title": "강하 — 장무",
"at": [
1625.4,
3191.9
1734.0,
3062.2
],
"arc": 1220.0,
"fixed": "zhangwu"
"arc": 1392.0,
"fixed": ""
},
{
"stage": 6,
@ -1131,11 +1131,11 @@
"place": "양양",
"title": "양양 연회 — 채모의 복병",
"at": [
1754.2,
2956.5
1761.0,
2720.8
],
"arc": 1500.0,
"fixed": "xiangyang"
"arc": 1736.0,
"fixed": ""
},
{
"stage": 7,
@ -1145,11 +1145,11 @@
"place": "단계",
"title": "단계 — 적로의 도약",
"at": [
1761.0,
2716.8
1758.0,
2178.9
],
"arc": 1740.0,
"fixed": "tanxi"
"arc": 2296.0,
"fixed": ""
},
{
"stage": 8,
@ -1159,11 +1159,11 @@
"place": "신야",
"title": "신야 — 여광",
"at": [
1760.7,
2494.8
1557.7,
1960.4
],
"arc": 1979.9,
"fixed": "xinye"
"arc": 2640.0,
"fixed": ""
},
{
"stage": 9,
@ -1173,10 +1173,10 @@
"place": "신야",
"title": "신야 — 여상",
"at": [
1755.0,
2135.1
1207.5,
1926.1
],
"arc": 2339.9,
"arc": 2992.0,
"fixed": ""
},
{
@ -1187,11 +1187,11 @@
"place": "신야",
"title": "신야 — 조인 · 팔문금쇄진",
"at": [
1498.0,
1955.1
866.3,
1885.4
],
"arc": 2700.0,
"fixed": "caoren"
"arc": 3336.0,
"fixed": ""
},
{
"stage": 11,
@ -1201,11 +1201,11 @@
"place": "번성",
"title": "번성 — 빈 성",
"at": [
1139.9,
1920.0
572.3,
1732.9
],
"arc": 3059.9,
"fixed": "fancheng"
"arc": 3680.0,
"fixed": ""
},
{
"stage": 12,
@ -1215,10 +1215,10 @@
"place": "번성",
"title": "번성 방위 — 조조군 반격",
"at": [
745.1,
1860.1
519.0,
1391.4
],
"arc": 3460.0,
"arc": 4032.0,
"fixed": ""
},
{
@ -1229,11 +1229,11 @@
"place": "융중",
"title": "융중 가는 길 — 눈보라 속 산적",
"at": [
519.0,
1563.4
607.8,
1066.9
],
"arc": 3860.0,
"fixed": "longzhong"
"arc": 4376.0,
"fixed": ""
},
{
"stage": 14,
@ -1243,10 +1243,10 @@
"place": "박망파",
"title": "박망파 — 하후돈 선봉",
"at": [
672.6,
1008.9
904.3,
900.6
],
"arc": 4463.2,
"arc": 4720.0,
"fixed": ""
},
{
@ -1261,7 +1261,7 @@
813.0
],
"arc": 5066.4,
"fixed": "@end"
"fixed": ""
}
],
"landmarks": [

View File

@ -1006,7 +1006,7 @@
0.0,
4876.4
],
"stage_rule": "장소 고정 노드(fixed) = 그 장소에서 가장 가까운 길 점(건물 위에 앉으면 길 따라 조금 밂) · 첫 노드 = 길 첫 점 · 마지막 = 길 끝(보스 장소 앞) · 사이 = 앞뒤 고정 노드 사이 호 길이 등분",
"stage_rule": "고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · 물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음",
"road_trim_px": [
0,
0
@ -1025,7 +1025,7 @@
3429.0
],
"arc": 0.0,
"fixed": "@start"
"fixed": ""
},
{
"stage": 2,
@ -1035,11 +1035,11 @@
"place": "백하",
"title": "백하 — 관우의 수공",
"at": [
694.5,
3405.5
746.2,
3400.1
],
"arc": 260.0,
"fixed": "baihe"
"arc": 312.0,
"fixed": ""
},
{
"stage": 3,
@ -1049,11 +1049,11 @@
"place": "박릉 나루",
"title": "박릉 나루 — 장비 매복",
"at": [
1089.4,
3354.1
1288.7,
3310.5
],
"arc": 659.9,
"fixed": "bolin_pt"
"arc": 864.0,
"fixed": ""
},
{
"stage": 4,
@ -1063,11 +1063,11 @@
"place": "번성",
"title": "번성 철수 — 백성 행렬",
"at": [
1362.2,
3292.1
1577.2,
3201.9
],
"arc": 940.0,
"fixed": "fancheng"
"arc": 1176.0,
"fixed": ""
},
{
"stage": 5,
@ -1077,11 +1077,11 @@
"place": "양양",
"title": "양양 성문 — 문빙",
"at": [
1701.0,
3097.1
1746.8,
2956.5
],
"arc": 1339.9,
"fixed": "xiangyang"
"arc": 1488.0,
"fixed": ""
},
{
"stage": 6,
@ -1091,11 +1091,11 @@
"place": "당양",
"title": "당양 — 호표기의 추격",
"at": [
1767.0,
2728.4
1761.0,
2648.7
],
"arc": 1720.0,
"fixed": "dangyang"
"arc": 1800.0,
"fixed": ""
},
{
"stage": 7,
@ -1106,9 +1106,9 @@
"title": "장판 — 순우도",
"at": [
1761.0,
2493.7
2336.7
],
"arc": 1955.0,
"arc": 2112.0,
"fixed": ""
},
{
@ -1119,10 +1119,10 @@
"place": "장판",
"title": "장판 — 하후은",
"at": [
1755.6,
2258.9
1664.3,
2058.4
],
"arc": 2190.0,
"arc": 2424.0,
"fixed": ""
},
{
@ -1133,10 +1133,10 @@
"place": "장판",
"title": "장판 — 안명과 하북 4장",
"at": [
1663.4,
2058.0
1360.3,
1991.9
],
"arc": 2425.0,
"arc": 2736.0,
"fixed": ""
},
{
@ -1147,11 +1147,11 @@
"place": "장판",
"title": "장판파 — 장합",
"at": [
1435.0,
2005.7
831.5,
1927.4
],
"arc": 2660.0,
"fixed": "changban"
"arc": 3272.0,
"fixed": ""
},
{
"stage": 11,
@ -1161,11 +1161,11 @@
"place": "장판교",
"title": "장판교 — 장비의 일갈",
"at": [
1278.8,
1973.1
558.1,
1793.0
],
"arc": 2820.0,
"fixed": "cb_e"
"arc": 3584.0,
"fixed": ""
},
{
"stage": 12,
@ -1175,11 +1175,11 @@
"place": "장판교",
"title": "부서진 장판교",
"at": [
1021.5,
1951.4
519.0,
1486.9
],
"arc": 3080.0,
"fixed": "cb_w"
"arc": 3896.0,
"fixed": ""
},
{
"stage": 13,
@ -1189,10 +1189,10 @@
"place": "한진 서쪽",
"title": "한진 가는 길 — 조조 철기",
"at": [
528.3,
1703.6
570.1,
1182.5
],
"arc": 3678.8,
"arc": 4208.0,
"fixed": ""
},
{
@ -1203,10 +1203,10 @@
"place": "한진",
"title": "한진 — 관우·유기의 수군",
"at": [
612.4,
1127.6
781.1,
953.6
],
"arc": 4277.6,
"arc": 4520.0,
"fixed": ""
},
{
@ -1218,10 +1218,10 @@
"title": "한진 나루 — 조조",
"at": [
951.0,
669.7
714.1
],
"arc": 4876.4,
"fixed": "@end"
"arc": 4832.0,
"fixed": ""
}
],
"landmarks": [

View File

@ -1334,7 +1334,7 @@
0.0,
6501.3
],
"stage_rule": "장소 고정 노드(fixed) = 그 장소에서 가장 가까운 길 점(건물 위에 앉으면 길 따라 조금 밂) · 첫 노드 = 길 첫 점 · 마지막 = 길 끝(보스 장소 앞) · 사이 = 앞뒤 고정 노드 사이 호 길이 등분",
"stage_rule": "고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · 물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음",
"road_trim_px": [
0,
0
@ -1353,7 +1353,7 @@
3429.0
],
"arc": 0.0,
"fixed": "@start"
"fixed": ""
},
{
"stage": 2,
@ -1363,11 +1363,11 @@
"place": "번구",
"title": "장강 — 형주 수군 경계선",
"at": [
886.1,
3377.6
739.8,
3399.5
],
"arc": 460.0,
"fixed": "fankou"
"arc": 312.0,
"fixed": ""
},
{
"stage": 3,
@ -1377,10 +1377,10 @@
"place": "삼강구",
"title": "삼강구 — 채훈",
"at": [
1076.2,
3344.4
1047.9,
3351.9
],
"arc": 653.3,
"arc": 624.0,
"fixed": ""
},
{
@ -1391,10 +1391,10 @@
"place": "삼강구",
"title": "삼강구 — 형주 수군 본대",
"at": [
1265.0,
3307.2
1344.9,
3292.3
],
"arc": 846.6,
"arc": 928.0,
"fixed": ""
},
{
@ -1405,11 +1405,11 @@
"place": "삼강구",
"title": "삼강구 — 채모·장윤",
"at": [
1453.8,
3266.6
1636.3,
3185.8
],
"arc": 1039.9,
"fixed": "sanjiang"
"arc": 1240.0,
"fixed": ""
},
{
"stage": 6,
@ -1419,11 +1419,11 @@
"place": "오림 앞 강",
"title": "초선차전 — 안개 속 화살비",
"at": [
1760.9,
2955.7
1761.8,
2594.5
],
"arc": 1520.0,
"fixed": "br_s"
"arc": 1888.0,
"fixed": ""
},
{
"stage": 7,
@ -1433,11 +1433,11 @@
"place": "오림",
"title": "장강 북안 — 감택의 밀서",
"at": [
1761.3,
2582.5
1767.6,
2282.9
],
"arc": 1900.0,
"fixed": "br_n"
"arc": 2200.0,
"fixed": ""
},
{
"stage": 8,
@ -1447,10 +1447,10 @@
"place": "오림",
"title": "연환선 — 사슬로 묶인 함대",
"at": [
1761.0,
2395.8
1695.1,
2004.7
],
"arc": 2086.6,
"arc": 2504.0,
"fixed": ""
},
{
@ -1461,10 +1461,10 @@
"place": "오림",
"title": "오림 수채 앞 — 순찰 선단",
"at": [
1767.0,
2209.6
1388.3,
1963.5
],
"arc": 2273.3,
"arc": 2816.0,
"fixed": ""
},
{
@ -1475,11 +1475,11 @@
"place": "오림",
"title": "연환선단 — 우금·모개",
"at": [
1729.9,
2031.4
1078.0,
1933.2
],
"arc": 2460.0,
"fixed": "wulin_s"
"arc": 3128.0,
"fixed": ""
},
{
"stage": 11,
@ -1489,11 +1489,11 @@
"place": "적벽",
"title": "동남풍 — 화선 출격",
"at": [
1145.5,
1941.1
791.9,
1855.8
],
"arc": 3060.0,
"fixed": "chibi"
"arc": 3432.0,
"fixed": ""
},
{
"stage": 12,
@ -1503,10 +1503,10 @@
"place": "적벽",
"title": "적벽 — 불타는 연환선",
"at": [
699.0,
1661.2
714.8,
1580.6
],
"arc": 3660.0,
"arc": 3744.0,
"fixed": ""
},
{
@ -1517,11 +1517,11 @@
"place": "오림",
"title": "수채 — 감녕과 채중",
"at": [
1190.5,
1431.1
979.7,
1453.3
],
"arc": 4260.0,
"fixed": "wulin_w"
"arc": 4048.0,
"fixed": ""
},
{
"stage": 14,
@ -1531,10 +1531,10 @@
"place": "오림",
"title": "수채 본진 — 불길 속 친위대",
"at": [
1518.6,
1396.8
1289.9,
1420.0
],
"arc": 4590.0,
"arc": 4360.0,
"fixed": ""
},
{
@ -1545,11 +1545,11 @@
"place": "오림",
"title": "적벽 — 장료",
"at": [
1767.0,
1240.7
1591.2,
1382.3
],
"arc": 4919.9,
"fixed": "wulin_n"
"arc": 4664.0,
"fixed": ""
},
{
"stage": 16,
@ -1559,10 +1559,10 @@
"place": "오림 서쪽",
"title": "오림 — 조운의 매복",
"at": [
1478.2,
1010.9
1767.0,
1184.6
],
"arc": 5359.9,
"arc": 4976.0,
"fixed": ""
},
{
@ -1573,11 +1573,11 @@
"place": "호로구",
"title": "호로구 — 장비의 매복",
"at": [
1040.5,
993.0
1552.4,
1033.3
],
"arc": 5800.0,
"fixed": "hulukou"
"arc": 5280.0,
"fixed": ""
},
{
"stage": 18,
@ -1587,10 +1587,10 @@
"place": "화용도",
"title": "화용도 — 진흙길",
"at": [
808.7,
968.5
992.5,
993.0
],
"arc": 6033.7,
"arc": 5848.0,
"fixed": ""
},
{
@ -1601,10 +1601,10 @@
"place": "화용도",
"title": "화용도 — 마지막 호위대",
"at": [
586.3,
902.5
647.3,
931.2
],
"arc": 6267.5,
"arc": 6200.0,
"fixed": ""
},
{
@ -1619,7 +1619,7 @@
705.7
],
"arc": 6501.3,
"fixed": "@end"
"fixed": ""
}
],
"landmarks": [

View File

@ -5,3 +5,4 @@ filter,night,지금 쓰는 필터 = sunset(석양) · night(밤) 중 하나 —
suffix,하드,장 이름 띠 뒤에 붙는 글자(「제1장 도원결의 · 하드」)
sunset,#FFC8A0|#FF7A3C80|#6A2A7030|#FF9060,석양: 곱하는 색|위쪽 덧칠(주황 하늘)|아래쪽 덧칠(보랏빛 그늘)|띠 색
night,#8292DC|#0A123C99|#1E2C7840|#8C9CFF,밤: 곱하는 색|위쪽 덧칠(남색 하늘)|아래쪽 덧칠|띠 색
night_light,UI/worldmap_lights|gacha_fx_core|#FF7A22A6|3.2|#FFC0606B|1.4|0.78|1|1.5|0.04|40,밤 불빛(PD 2026-11-26 「본영에 불 빛이 비춰지는 형태로 자연스럽게」): 자리 표|빛 그림(뽑기 광원 · 덧셈 합성)|바깥 번짐 색|바깥 크기 배율(× 자리 size)|속빛 색|속빛 배율|깜빡임 최저|최고|빠르기|크기 흔들림 비|아래로 내림 px · 방사형 햇살 금지 · 석양은 줄 없음 = 불빛 없음

1 # 출정 하드 난이도의 월드맵 표시(PD 2026-11-24 「하드 월드맵 구분 표시 · 쉐이더나 필터로 월드맵 색에 변화 · 석양이 지는 오후 또는 밤」)
5 suffix,하드,장 이름 띠 뒤에 붙는 글자(「제1장 도원결의 · 하드」)
6 sunset,#FFC8A0|#FF7A3C80|#6A2A7030|#FF9060,석양: 곱하는 색|위쪽 덧칠(주황 하늘)|아래쪽 덧칠(보랏빛 그늘)|띠 색
7 night,#8292DC|#0A123C99|#1E2C7840|#8C9CFF,밤: 곱하는 색|위쪽 덧칠(남색 하늘)|아래쪽 덧칠|띠 색
8 night_light,UI/worldmap_lights|gacha_fx_core|#FF7A22A6|3.2|#FFC0606B|1.4|0.78|1|1.5|0.04|40,밤 불빛(PD 2026-11-26 「본영에 불 빛이 비춰지는 형태로 자연스럽게」): 자리 표|빛 그림(뽑기 광원 · 덧셈 합성)|바깥 번짐 색|바깥 크기 배율(× 자리 size)|속빛 색|속빛 배율|깜빡임 최저|최고|빠르기|크기 흔들림 비|아래로 내림 px · 방사형 햇살 금지 · 석양은 줄 없음 = 불빛 없음

View File

@ -0,0 +1,80 @@
# 하드(밤) 월드맵 불빛 자리(PD 2026-11-26 「밤이 되었다면 어울리게 본영에 불 빛이 비춰지는 형태로 자연스럽게 연출」)
# 좌표 = 맵 그림 px(왼쪽 위 원점 · y 아래로 · 맵 2160×3840) · 맵 그림의 성 · 진영 · 마을 가운데(그림을 눈으로 짚어 땀 · 2026-11-26) · size = 건물 폭 px(빛 크기 = size × 표 worldmap_hard 의 배율)
# 맵 그림을 바꾸면 이 표도 다시 짚는다 · 불빛 모양 · 색 · 깜빡임 = worldmap_hard.csv 의 <필터>_light 줄
map,x,y,size,note
ch01,1772,600,360,성(위)
ch01,1532,1640,260,망루
ch01,1620,2100,320,성
ch01,1048,2400,320,목책 마을
ch01,1048,3020,240,마을
ch01,432,3140,360,성(아래 왼쪽)
ch01,740,3620,280,마을(아래)
ch02,1760,660,420,관문(위)
ch02,2008,1580,240,진영(오른쪽)
ch02,1480,2360,420,관문(가운데)
ch02,548,3060,420,목책 진영
ch02,1152,3120,280,천막
ch03,1300,640,360,진영(위)
ch03,428,1440,400,성(왼쪽)
ch03,1520,1720,320,진영
ch03,1988,2400,360,성(오른쪽)
ch03,1408,3040,340,목책 진영
ch03,432,3180,360,성(아래 왼쪽)
ch03,960,3540,340,진영(아래)
ch04,60,110,180,성(왼쪽 위 귀퉁이 · 잘린 성 · QA M3)
ch04,940,620,360,성(위)
ch04,1980,1380,300,마을(오른쪽)
ch04,1060,1820,420,성(가운데)
ch04,1988,2060,300,성(오른쪽 끝)
ch04,288,2460,300,마을(왼쪽)
ch04,600,3120,380,성(아래)
ch04,1028,3120,320,마을(아래)
ch05,748,360,280,성(위)
ch05,1668,660,280,진영(위 오른쪽)
ch05,1140,1180,360,성
ch05,388,1640,360,궁(왼쪽)
ch05,400,2200,320,마을(왼쪽)
ch05,1140,2700,400,성(가운데 아래)
ch05,2060,2640,240,천막(오른쪽 끝)
ch05,1468,3040,320,천막
ch05,468,3160,400,궁(아래)
ch06,228,1300,340,성읍(왼쪽 위)
ch06,520,1580,360,성벽 관문
ch06,940,1820,340,궁
ch06,1300,1820,200,작은 관문
ch06,1640,1940,360,진영
ch06,468,3160,340,성(아래)
ch06,1360,3080,320,진영(아래)
ch07,880,780,280,진영(위)
ch07,1532,1540,240,마을
ch07,820,2190,150,산 위 진지(봉화 · QA M1 세기 낮춤)
ch07,1940,2240,320,마을(오른쪽)
ch07,1928,2840,360,성
ch07,872,3080,240,진영(아래)
ch08,1200,660,240,궁(위)
ch08,1888,740,200,관문(위 오른쪽)
ch08,320,1680,200,초가
ch08,1128,1740,280,성
ch08,1508,1800,320,성읍
ch08,660,2280,200,초가
ch08,1988,2320,320,성(오른쪽 끝)
ch08,1988,2840,320,성(오른쪽 끝 아래)
ch08,412,3160,400,궁(아래)
ch08,1052,3140,360,성(아래)
ch08,1580,3070,190,군기 진영(깃발만 · 땅 쪽으로 내림 · QA M2)
ch09,220,960,240,마을(왼쪽 위)
ch09,1800,1280,280,마을
ch09,1460,1760,280,진영
ch09,420,3200,320,성(아래 왼쪽)
ch09,1352,3080,320,성
ch09,1980,2980,360,성(오른쪽)
ch10,480,500,280,진영(위)
ch10,1960,1320,320,진영(오른쪽)
ch10,1960,1800,320,진영(오른쪽 아래)
ch10,428,2080,200,제단
ch10,1220,2660,220,배(왼쪽)
ch10,1500,2680,220,배(오른쪽)
ch10,2040,2850,200,배(다리 옆)
ch10,432,3120,360,성(아래 왼쪽)
ch10,872,3140,240,진영
ch10,1552,3040,280,진영
1 # 하드(밤) 월드맵 불빛 자리(PD 2026-11-26 「밤이 되었다면 어울리게 본영에 불 빛이 비춰지는 형태로 자연스럽게 연출」)
2 # 좌표 = 맵 그림 px(왼쪽 위 원점 · y 아래로 · 맵 2160×3840) · 맵 그림의 성 · 진영 · 마을 가운데(그림을 눈으로 짚어 땀 · 2026-11-26) · size = 건물 폭 px(빛 크기 = size × 표 worldmap_hard 의 배율)
3 # 맵 그림을 바꾸면 이 표도 다시 짚는다 · 불빛 모양 · 색 · 깜빡임 = worldmap_hard.csv 의 <필터>_light 줄
4 map,x,y,size,note
5 ch01,1772,600,360,성(위)
6 ch01,1532,1640,260,망루
7 ch01,1620,2100,320,성
8 ch01,1048,2400,320,목책 마을
9 ch01,1048,3020,240,마을
10 ch01,432,3140,360,성(아래 왼쪽)
11 ch01,740,3620,280,마을(아래)
12 ch02,1760,660,420,관문(위)
13 ch02,2008,1580,240,진영(오른쪽)
14 ch02,1480,2360,420,관문(가운데)
15 ch02,548,3060,420,목책 진영
16 ch02,1152,3120,280,천막
17 ch03,1300,640,360,진영(위)
18 ch03,428,1440,400,성(왼쪽)
19 ch03,1520,1720,320,진영
20 ch03,1988,2400,360,성(오른쪽)
21 ch03,1408,3040,340,목책 진영
22 ch03,432,3180,360,성(아래 왼쪽)
23 ch03,960,3540,340,진영(아래)
24 ch04,60,110,180,성(왼쪽 위 귀퉁이 · 잘린 성 · QA M3)
25 ch04,940,620,360,성(위)
26 ch04,1980,1380,300,마을(오른쪽)
27 ch04,1060,1820,420,성(가운데)
28 ch04,1988,2060,300,성(오른쪽 끝)
29 ch04,288,2460,300,마을(왼쪽)
30 ch04,600,3120,380,성(아래)
31 ch04,1028,3120,320,마을(아래)
32 ch05,748,360,280,성(위)
33 ch05,1668,660,280,진영(위 오른쪽)
34 ch05,1140,1180,360,성
35 ch05,388,1640,360,궁(왼쪽)
36 ch05,400,2200,320,마을(왼쪽)
37 ch05,1140,2700,400,성(가운데 아래)
38 ch05,2060,2640,240,천막(오른쪽 끝)
39 ch05,1468,3040,320,천막
40 ch05,468,3160,400,궁(아래)
41 ch06,228,1300,340,성읍(왼쪽 위)
42 ch06,520,1580,360,성벽 관문
43 ch06,940,1820,340,궁
44 ch06,1300,1820,200,작은 관문
45 ch06,1640,1940,360,진영
46 ch06,468,3160,340,성(아래)
47 ch06,1360,3080,320,진영(아래)
48 ch07,880,780,280,진영(위)
49 ch07,1532,1540,240,마을
50 ch07,820,2190,150,산 위 진지(봉화 · QA M1 세기 낮춤)
51 ch07,1940,2240,320,마을(오른쪽)
52 ch07,1928,2840,360,성
53 ch07,872,3080,240,진영(아래)
54 ch08,1200,660,240,궁(위)
55 ch08,1888,740,200,관문(위 오른쪽)
56 ch08,320,1680,200,초가
57 ch08,1128,1740,280,성
58 ch08,1508,1800,320,성읍
59 ch08,660,2280,200,초가
60 ch08,1988,2320,320,성(오른쪽 끝)
61 ch08,1988,2840,320,성(오른쪽 끝 아래)
62 ch08,412,3160,400,궁(아래)
63 ch08,1052,3140,360,성(아래)
64 ch08,1580,3070,190,군기 진영(깃발만 · 땅 쪽으로 내림 · QA M2)
65 ch09,220,960,240,마을(왼쪽 위)
66 ch09,1800,1280,280,마을
67 ch09,1460,1760,280,진영
68 ch09,420,3200,320,성(아래 왼쪽)
69 ch09,1352,3080,320,성
70 ch09,1980,2980,360,성(오른쪽)
71 ch10,480,500,280,진영(위)
72 ch10,1960,1320,320,진영(오른쪽)
73 ch10,1960,1800,320,진영(오른쪽 아래)
74 ch10,428,2080,200,제단
75 ch10,1220,2660,220,배(왼쪽)
76 ch10,1500,2680,220,배(오른쪽)
77 ch10,2040,2850,200,배(다리 옆)
78 ch10,432,3120,360,성(아래 왼쪽)
79 ch10,872,3140,240,진영
80 ch10,1552,3040,280,진영

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: d85902d8c431b0d49959330fa7855752
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -243,8 +243,7 @@ namespace TKS.OutGame
wm.ModeRequested = Session.HardAvailable ? ToggleHard : (Action)null;
wm.ModeLabel = () => Session.Hard ? "하드 난이도" : "일반 난이도";
wm.Filter = HardFilter; // 하드 = 월드맵 색 필터(석양 · 밤) + 장 이름 띠 「· 하드」(PD 2026-11-24)
wm.Sweep = DoSweep;
wm.NodeDecor = NodeBadge;
wm.Sweep = DoSweep; // 맵 깃발의 지역 보상 표식(골드 · 경험 · 장비)은 뺌 — 스테이지 팝업에서만(PD 2026-11-26)
wm.BackRequested = ShowLobby;
}
@ -947,19 +946,6 @@ namespace TKS.OutGame
get { return lootFx; }
}
/// <summary>월드맵 노드 지역 표식(2026-11-23 · 노드 오른쪽 위 = 짙은 원 + 골드 · 경험치 · 장비 아이콘).</summary>
void NodeBadge(int si, RectTransform node)
{
var sd = EconomyRules.StageDropOf(Session.Db, Battle.Config.stages[si]);
if (sd == null) return;
string icon = RegionIcon(sd.region);
if (icon.Length == 0) return;
var plate = UiKit.Rect("Region", node, new Vector2(1f, 1f), new Vector2(0.5f, 0.5f), new Vector2(-2f, -2f), new Vector2(62f, 62f));
var bg = UiKit.Skin(plate, "circle_frame", UiKit.Col("chip_dark", UiKit.Dark));
if (bg != null) bg.raycastTarget = false;
var ic = UiKit.Icon(plate, icon, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), Vector2.zero, 46f);
if (ic != null) ic.raycastTarget = false;
}
/// <summary>지역 특화 아이콘 id(UI 테마) — 골드 · 경험치 · 장비.</summary>
public static string RegionIcon(string region)
@ -1158,8 +1144,10 @@ namespace TKS.OutGame
WorldMapScreen.MapFilter HardFilter()
{
if (!Session.Hard) return null;
var a = HardMapValue(HardFilterPreset ?? HardMapValue("filter")).Split('|');
var f = new WorldMapScreen.MapFilter { suffix = HardMapValue("suffix") };
string preset = HardFilterPreset ?? HardMapValue("filter");
var a = HardMapValue(preset).Split('|');
// 밤 불빛 = 표의 <필터>_light 줄(없으면 불빛 없음 · PD 2026-11-26 「본영에 불 빛이 비춰지는 형태로 자연스럽게」)
var f = new WorldMapScreen.MapFilter { suffix = HardMapValue("suffix"), light = WorldMapScreen.MapLight.Parse(HardMapValue(preset + "_light")) };
if (a.Length < 4) return f; // 색 줄이 없으면 띠 글자만
Color c;
if (ColorUtility.TryParseHtmlString(a[0].Trim(), out c)) f.tint = c;

View File

@ -375,6 +375,27 @@ namespace TKS.OutGame
root.OpenWorldMap();
yield return Wait();
var wm = root.Map;
yield return Shot(cam, "worldmap_main", W, H); // 팝업 없는 월드맵(PD 2026-11-25 「버튼 디자인 · 폰트 제안」 목업 바탕)
if (wm.ModeRequested != null && (only == null || Match("worldmap_hard") != null)) // 하드 난이도 글자 · 명패 색(열려 있을 때만 · 찍고 되돌림)
{
wm.ModeRequested();
yield return Wait();
yield return Shot(cam, "worldmap_hard", W, H);
wm.ModeRequested();
yield return Wait();
}
if (only == null || Match("worldmap_progress") != null) // 장 중간 진행(5칸 깸 · 6칸 = 지금 칸 · 앞 칸 안 보임 · PD 2026-11-26) — 메모리 진행만 바꾸고 세이브로 되돌림
{
int wch = wm.Chapter;
WorldProgress.MarkCleared(wch, Mathf.Min(4, wm.NodesIn(wch) - 2));
wm.ShowChapter(wch);
yield return Wait();
Log("worldmap_progress visible=" + wm.VisibleNodeCount + "/" + wm.NodeCount + " current=" + wm.CurrentNode + " cursor=" + wm.CursorShown);
yield return Shot(cam, "worldmap_progress", W, H);
root.Session.SyncWorldProgress();
wm.ShowChapter(wch);
yield return Wait();
}
wm.OpenPopup(0);
yield return Shot(cam, "worldmap_popup", W, H);
wm.ConfirmPopup();

View File

@ -0,0 +1,68 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace TKS
{
/// <summary>
/// 월드맵 밤 불빛 깜빡임(PD 2026-11-26 「본영에 불 빛이 비춰지는 형태로 자연스럽게」) — 불빛마다 다른 박자의 펄린 잡음으로 세기 · 바깥 번짐 크기를 조금씩 흔든다(모닥불 · 횃불 느낌 · 규칙적 맥동 아님).
/// 시간 = 실시간. 매 프레임 색이 바뀌므로 이 부품이 붙은 층은 자기 Frame 캔버스(WorldMapScreen.BuildLights · P41 — 맵 · 노드 캔버스를 매 프레임 다시 묶지 않게).
/// 모양 값 = 표 worldmap_hard 의 &lt;필터&gt;_light 줄(WorldMapScreen.MapLight).
/// </summary>
public class MapLightFlicker : MonoBehaviour
{
readonly List<Image> outers = new List<Image>();
readonly List<Image> inners = new List<Image>();
readonly List<float> seeds = new List<float>();
WorldMapScreen.MapLight style;
public int Count { get { return outers.Count; } }
public void Style(WorldMapScreen.MapLight s)
{
style = s;
}
public void Clear()
{
outers.Clear();
inners.Clear();
seeds.Clear();
}
public void Add(Image outer, Image inner, float seed)
{
outers.Add(outer);
inners.Add(inner);
seeds.Add(seed);
Apply(outers.Count - 1, Time.unscaledTime); // 첫 프레임(캡처)부터 제 색
}
void Update()
{
if (style == null) return;
float t = Time.unscaledTime;
for (int i = 0; i < outers.Count; i++) Apply(i, t);
}
void Apply(int i, float time)
{
var o = outers[i];
var n = inners[i];
if (o == null || n == null || style == null) return;
float s = seeds[i];
float t = time * style.flickerSpeed;
// 느린 일렁임 + 빠른 떨림(펄린 0.25~0.75 를 0~1 로 펼침)
float raw = Mathf.PerlinNoise(t + s, s * 0.37f) * 0.65f + Mathf.PerlinNoise(t * 2.9f + s * 1.7f, 3.1f) * 0.35f;
float k = Mathf.Lerp(style.flickerMin, style.flickerMax, Mathf.Clamp01((raw - 0.25f) * 2f));
var oc = style.outer;
oc.a *= k;
o.color = oc;
var ic = style.inner;
ic.a *= k;
n.color = ic;
float sc = 1f + style.sway * (k - 0.5f * (style.flickerMin + style.flickerMax)) / Mathf.Max(0.01f, style.flickerMax - style.flickerMin) * 2f;
o.rectTransform.localScale = new Vector3(sc, sc, 1f);
}
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: b355204a5c1ceec4db9d6e897a22a18e

View File

@ -289,8 +289,6 @@ namespace TKS
/// <summary>소탕(별 3 · 전투 없음) 가능 여부 · 실행.</summary>
public Func<int, bool> CanSweep;
public Action<int> Sweep;
/// <summary>노드 꾸미기(스테이지 인덱스 · 노드 그림) — 지역 특화 표식(골드 · 경험치 · 장비 · 2026-11-23) · null 이면 없음.</summary>
public Action<int, RectTransform> NodeDecor;
/// <summary>「◀ 본영」(로비로) · null 이면 버튼 숨김.</summary>
public Action BackRequested;
/// <summary>장 열림 판정을 아웃게임이 대신한다(null 을 돌려주면 원래 판정) — 출정 하드 난이도 = 그 장 일반을 모두 깨면 열림(2026-11-24).</summary>
@ -310,6 +308,40 @@ namespace TKS
public Color bottom;
public Color banner = Color.white;
public string suffix = "";
/// <summary>밤 불빛(null = 없음) — 맵의 성 · 진영 · 마을 둘레 따뜻한 번짐 + 깜빡임(PD 2026-11-26).</summary>
public MapLight light;
}
/// <summary>
/// 밤 불빛 모양(표 worldmap_hard 의 &lt;필터&gt;_light 줄) — 자리 표|빛 그림|바깥 번짐 색|바깥 배율|속빛 색|속빛 배율|깜빡임 최저|최고|빠르기|크기 흔들림 비|아래로 내림 px.
/// 자리 = 자리 표(map,x,y,size · 맵 px) · 빛 크기 = size × 배율 · 덧셈 합성(부드러운 번짐 · 방사형 햇살 아님).
/// </summary>
public class MapLight
{
public string table, sprite;
public Color outer, inner;
public float outerScale, innerScale, flickerMin, flickerMax, flickerSpeed, sway, drop;
/// <summary>표 값 한 줄 → 모양(칸이 모자라거나 숫자 · 색이 틀리면 null = 불빛 없음).</summary>
public static MapLight Parse(string s)
{
var a = string.IsNullOrEmpty(s) ? null : s.Split('|');
if (a == null || a.Length < 11) return null;
var L = new MapLight { table = a[0].Trim(), sprite = a[1].Trim() };
var f = new float[9];
int[] at = { 3, 5, 6, 7, 8, 9, 10 };
for (int i = 0; i < at.Length; i++)
if (!float.TryParse(a[at[i]].Trim(), NumberStyles.Float, CultureInfo.InvariantCulture, out f[i])) return null;
if (!ColorUtility.TryParseHtmlString(a[2].Trim(), out L.outer) || !ColorUtility.TryParseHtmlString(a[4].Trim(), out L.inner)) return null;
L.outerScale = f[0];
L.innerScale = f[1];
L.flickerMin = f[2];
L.flickerMax = f[3];
L.flickerSpeed = f[4];
L.sway = f[5];
L.drop = f[6];
return L;
}
}
/// <summary>지금 맵에 씌울 필터(null = 없음) — 아웃게임이 정한다.</summary>
@ -317,8 +349,20 @@ namespace TKS
Image filterImage;
Texture2D filterTex;
Image bannerImage;
// 월드맵 위 · 아래 꾸밈(PD 2026-11-25) — 장 이름 = 붉은 칠 명패(tre_plaque · A안) · 넘김 = 금테 붉은 판(ms_plaque) · 본영 = 나무 현판(bt_turn_plaque_ally · C안) · 난이도 = 장 이름 아래 글자만 · 글꼴 = 제목체
const float PlaqueW = 740f, PlaqueH = 124f, NavSize = 96f, BackW = 250f, BackH = 100f, ModeGap = 30f;
static readonly Color PlaqueText = new Color(1f, 0.96f, 0.88f), PlaqueInk = new Color(0.27f, 0.08f, 0.05f), WoodText = new Color(1f, 0.92f, 0.74f), WoodInk = new Color(0.24f, 0.12f, 0.04f),
ModeNormal = new Color(1f, 0.88f, 0.52f), ModeHard = new Color(1f, 0.55f, 0.36f);
bool plaqueTop;
RectTransform modeRt;
/// <summary>필터가 켜져 있는가 · 맵 그림에 곱한 색 · 장 이름 띠 글자(테스트).</summary>
public bool FilterOn { get { return filterImage != null && filterImage.gameObject.activeSelf; } }
// 밤 불빛 층(노드 · 길 아래 · 하늘빛 덧칠 위 · 매 프레임 깜빡임 = 자기 Frame 캔버스 · P41)
RectTransform lightLayer;
MapLightFlicker lightFlicker;
readonly Dictionary<string, Dictionary<string, List<Vector3>>> lightTables = new Dictionary<string, Dictionary<string, List<Vector3>>>();
/// <summary>지금 맵에 켜진 밤 불빛 수(테스트 · 일반 · 석양 = 0).</summary>
public int NightLightCount { get; private set; }
public Color MapTint { get { return mapImage != null ? mapImage.color : Color.white; } }
public string ChapterBannerText { get { return bannerText != null ? bannerText.text : ""; } }
Button modeButton;
@ -352,8 +396,18 @@ namespace TKS
public int ChapterCount { get { return HasData ? cfg.chapters.Length : 0; } }
public WorldData Data { get { return data; } }
public Sprite MapSprite { get { return mapImage != null ? mapImage.sprite : null; } }
public int NodeCount { get { return nodeButtons.Count; } }
/// <summary>지금 장의 노드 자리 수(= 스테이지 수 · 보이지 않는 앞 칸 포함).</summary>
public int NodeCount { get { return nodeTotal; } }
public int BossNodeCount { get; private set; }
/// <summary>깃발이 보이는 칸 수(깬 칸 + 지금 칸 · PD 2026-11-26 「클리어하지 않은 거점은 표시하지 않아야」).</summary>
public int VisibleNodeCount { get; private set; }
/// <summary>커서가 있는 지금 칸(다음에 도전할 칸 · 장을 다 깼으면 -1).</summary>
public int CurrentNode { get; private set; }
public bool CursorShown { get { return cursor != null; } }
int nodeTotal;
// 깃발 번호 글자 크기 · 보이지 않는 누름 판 최소 크기(깃발 108×152 보다 넓게 · PD 2026-11-26 「터치 영역도 너무 좁음」) · 커서 흔들림 높이
const int NumSize = 40, NumSizeBoss = 46;
const float HitW = 200f, HitH = 250f, CursorBob = 16f;
/// <summary>챕터(0부터)의 노드 수 = 스테이지 표의 그 챕터 스테이지 수.</summary>
public int NodesIn(int ch)
@ -465,15 +519,36 @@ namespace TKS
banner.type = Image.Type.Sliced;
var bk = data.Kit("banner");
float tcy = bk != null && bk.numberCenter != null ? bk.numberCenter[1] : 0.4f;
bannerText = Label(banner.transform, "", 40, Paper, new Vector2(0.5f, 1f - tcy));
var plaque = UISkin.Icon("tre_plaque"); // 장 이름 = 붉은 칠 명패(서양식 리본 대신 · A안)
plaqueTop = plaque != null;
if (plaqueTop)
{
banner.sprite = plaque;
banner.type = Image.Type.Sliced;
banner.rectTransform.sizeDelta = new Vector2(PlaqueW, PlaqueH);
banner.pixelsPerUnitMultiplier = plaque.rect.height / PlaqueH;
tcy = 0.5f;
}
bannerText = Label(banner.transform, "", plaqueTop ? 46 : 40, plaqueTop ? PlaqueText : Paper, new Vector2(0.5f, 1f - tcy));
if (plaqueTop) TitleStyle(bannerText, PlaqueInk);
bannerRt = banner.rectTransform;
bannerImage = banner;
prevButton = SmallButton("Prev", root.transform, "◀", new Vector2(0f, 1f), new Vector2(70f, -96f), () => ShowChapter(chapter - 1));
nextButton = SmallButton("Next", root.transform, "▶", new Vector2(1f, 1f), new Vector2(-70f, -96f), () => ShowChapter(chapter + 1));
prevRt = (RectTransform)prevButton.transform;
nextRt = (RectTransform)nextButton.transform;
NavPlaque(prevButton);
NavPlaque(nextButton);
var hint = Label(root.transform, "맵을 끌어 둘러보고 깃발을 눌러 출전", 30, Paper, new Vector2(0.5f, 0f));
if (plaqueTop)
{
// 안내 글 받침(지도 색에 묻히지 않게 · 짙은 나무색 둥근 띠)
var hb = Img("HintBg", root.transform, TKS.OutGame.UiKit.Round, new Vector2(0.5f, 0f), new Vector2(0.5f, 0f), new Vector2(0.5f, 0.5f), new Vector2(0f, 90f), new Vector2(540f, 62f));
hb.type = Image.Type.Sliced;
hb.color = new Color(0.2f, 0.13f, 0.08f, 0.86f);
hb.raycastTarget = false;
}
var hint = Label(root.transform, "맵을 끌어 둘러보고 깃발을 눌러 출전", plaqueTop ? 28 : 30, Paper, new Vector2(0.5f, 0f));
var hrt = hint.rectTransform;
hrt.anchorMin = hrt.anchorMax = new Vector2(0.5f, 0f);
hrt.anchoredPosition = new Vector2(0f, 90f);
@ -487,8 +562,27 @@ namespace TKS
{
if (BackRequested != null && Time.unscaledTime >= inputBlockUntil) BackRequested();
});
var bl = Label(back.transform, "◀ 본영", 36, new Color(0.45f, 0.22f, 0.12f), new Vector2(0.5f, 0.55f));
var wood = UISkin.Icon("bt_turn_plaque_ally"); // 본영 = 나무 현판 + 성문 아이콘(C안)
var bl = Label(back.transform, wood != null ? "본영" : "◀ 본영", 36, new Color(0.45f, 0.22f, 0.12f), new Vector2(0.5f, 0.55f));
bl.GetComponent<Outline>().enabled = false;
if (wood != null)
{
back.sprite = wood;
back.type = Image.Type.Sliced;
back.rectTransform.sizeDelta = new Vector2(BackW, BackH);
back.rectTransform.anchoredPosition = new Vector2(BackW * 0.5f + 10f, 90f);
back.pixelsPerUnitMultiplier = wood.rect.height / BackH;
bl.color = WoodText;
TitleStyle(bl, WoodInk);
bl.rectTransform.anchoredPosition += new Vector2(34f, -4f);
var home = UISkin.Icon("tab_domestic");
if (home != null)
{
var hi = Img("Icon", back.transform, home, new Vector2(0f, 0.5f), new Vector2(0f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(76f, 2f), new Vector2(68f, 68f));
hi.preserveAspect = true;
hi.raycastTarget = false;
}
}
// 난이도 버튼(오른쪽 아래 · 본영 버튼과 같은 판)
var mode = Img("Mode", root.transform, Sprite("plate"), new Vector2(1f, 0f), new Vector2(1f, 0f), new Vector2(0.5f, 0.5f), new Vector2(-160f, 90f), new Vector2(280f, 96f));
@ -501,6 +595,23 @@ namespace TKS
});
modeText = Label(mode.transform, "", 34, new Color(0.45f, 0.22f, 0.12f), new Vector2(0.5f, 0.55f));
modeText.GetComponent<Outline>().enabled = false;
modeRt = mode.rectTransform;
if (plaqueTop)
{
// 난이도 = 장 이름 명패 아래 글자만(판 없이 · 누르면 일반 ↔ 하드 · 자리는 Show 가 명패 아래로)
// 받침 = 짙은 나무색 둥근 띠(안내 글과 같은 · PD 2026-11-26 「난이도 문구에 백판 · 가독성」)
mode.sprite = TKS.OutGame.UiKit.Round;
mode.type = Image.Type.Sliced;
mode.color = new Color(0.2f, 0.13f, 0.08f, 0.88f);
modeRt.anchorMin = modeRt.anchorMax = new Vector2(0.5f, 1f);
modeRt.sizeDelta = new Vector2(300f, 60f);
modeText.fontSize = 34;
modeText.rectTransform.anchoredPosition = Vector2.zero;
TitleStyle(modeText, PlaqueInk);
var sh = modeText.gameObject.AddComponent<Shadow>();
sh.effectColor = new Color(0f, 0f, 0f, 0.45f);
sh.effectDistance = new Vector2(0f, -5f);
}
BuildPopup();
root.SetActive(false);
@ -522,14 +633,15 @@ namespace TKS
nextRt.anchoredPosition = new Vector2(-70f, -96f - TopInset);
backButton.gameObject.SetActive(BackRequested != null);
modeButton.gameObject.SetActive(ModeRequested != null);
if (ModeLabel != null) modeText.text = ModeLabel();
if (plaqueTop) modeRt.anchoredPosition = new Vector2(0f, -40f - TopInset - PlaqueH - ModeGap);
if (ModeLabel != null) SetModeText(ModeLabel());
ShowChapter(ch);
}
/// <summary>맵 색 필터 — 하늘빛 덧칠(위 → 아래 · 맵 그림 바로 위 · 노드와 길 아래) · 장 이름 띠 색. 맵 그림에 곱하는 색은 ShowChapter 가 넣는다.</summary>
void ApplyFilter(MapFilter f)
{
if (bannerImage != null) bannerImage.color = f != null ? f.banner : Color.white;
if (bannerImage != null) bannerImage.color = f != null && !plaqueTop ? f.banner : Color.white; // 명패 = 밤 · 석양에도 색 그대로(PD 2026-11-26 「밤 배경을 추가하더라도 타이틀 UI 색상이 바뀌면 안돼」)
if (f == null)
{
if (filterImage != null) filterImage.gameObject.SetActive(false);
@ -550,6 +662,82 @@ namespace TKS
filterImage.transform.SetAsFirstSibling();
}
/// <summary>
/// 밤 불빛(PD 2026-11-26 「밤이 되었다면 어울리게 본영에 불 빛이 비춰지는 형태로 자연스럽게 연출」) — 자리 표의 그 맵 줄마다 바깥 번짐 + 속빛(덧셈 합성) ·
/// 하늘빛 덧칠 바로 위 · 길 점 · 깃발 아래 · 깜빡임 = MapLightFlicker(자기 Frame 캔버스). 모양이 없거나 그 맵 줄이 없으면 끈다.
/// </summary>
void BuildLights(MapLight L, string map)
{
NightLightCount = 0;
if (lightLayer != null)
for (int i = lightLayer.childCount - 1; i >= 0; i--) Destroy(lightLayer.GetChild(i).gameObject);
if (lightFlicker != null) lightFlicker.Clear();
var pts = L != null ? LightsOf(L.table, map) : null;
var sp = L != null && pts != null && pts.Count > 0 ? UISkin.Icon(L.sprite) : null;
if (sp == null)
{
if (L != null && pts != null && pts.Count > 0) Debug.LogWarning("[TKS] 밤 불빛 그림 없음: " + L.sprite);
if (lightLayer != null) lightLayer.gameObject.SetActive(false);
return;
}
if (lightLayer == null)
{
lightLayer = Rect("NightLights", content, Vector2.zero, Vector2.one, new Vector2(0.5f, 0.5f), Vector2.zero, Vector2.zero);
UiLayer.Nest(lightLayer.gameObject, UiRate.Frame, false);
lightFlicker = lightLayer.gameObject.AddComponent<MapLightFlicker>();
}
lightLayer.gameObject.SetActive(true);
lightLayer.SetSiblingIndex(FilterOn ? filterImage.transform.GetSiblingIndex() + 1 : 0);
lightFlicker.Style(L);
var mat = TKS.OutGame.GachaCutscene.AddMat;
for (int i = 0; i < pts.Count; i++)
{
var p = new Vector2(pts[i].x, pts[i].y + L.drop);
var outer = LightImage("Glow" + i, sp, mat, p, pts[i].z * L.outerScale);
var inner = LightImage("Core" + i, sp, mat, p, pts[i].z * L.innerScale);
lightFlicker.Add(outer, inner, 17.3f * (i + 1) + 5.1f * chapter); // 불빛마다 다른 박자
}
NightLightCount = pts.Count;
}
Image LightImage(string name, Sprite sp, Material mat, Vector2 mapPos, float size)
{
var rt = Rect(name, lightLayer, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(mapPos.x, -mapPos.y), new Vector2(size, size));
var img = rt.gameObject.AddComponent<Image>();
img.sprite = sp;
img.raycastTarget = false;
if (mat != null) img.material = mat;
return img;
}
/// <summary>자리 표(map,x,y,size) 의 그 맵 줄(x · y = 맵 px · z = size) — 표마다 한 번 읽어 둔다.</summary>
List<Vector3> LightsOf(string table, string map)
{
if (string.IsNullOrEmpty(table) || string.IsNullOrEmpty(map)) return null;
Dictionary<string, List<Vector3>> byMap;
if (!lightTables.TryGetValue(table, out byMap))
{
byMap = new Dictionary<string, List<Vector3>>();
var rows = TKS.OutGame.UiText.Rows(table);
if (rows == null) Debug.LogWarning("[TKS] 밤 불빛 자리 표 없음: " + table);
else
foreach (var r in rows)
{
string m, xs, ys, ss;
float x, y, s;
if (!r.TryGetValue("map", out m) || !r.TryGetValue("x", out xs) || !r.TryGetValue("y", out ys) || !r.TryGetValue("size", out ss)) continue;
if (!float.TryParse(xs, NumberStyles.Float, CultureInfo.InvariantCulture, out x) || !float.TryParse(ys, NumberStyles.Float, CultureInfo.InvariantCulture, out y) ||
!float.TryParse(ss, NumberStyles.Float, CultureInfo.InvariantCulture, out s)) continue;
List<Vector3> list;
if (!byMap.TryGetValue(m, out list)) byMap[m] = list = new List<Vector3>();
list.Add(new Vector3(x, y, s));
}
lightTables[table] = byMap;
}
List<Vector3> res;
return byMap.TryGetValue(map, out res) ? res : null;
}
/// <summary>월드맵을 닫는다(로비로 돌아갈 때 · 전투는 건드리지 않음).</summary>
public void Hide()
{
@ -586,7 +774,8 @@ namespace TKS
var filter = Filter != null ? Filter() : null;
mapImage.color = sp == null ? new Color(0.55f, 0.7f, 0.45f) : filter != null ? filter.tint : Color.white;
ApplyFilter(filter);
bannerText.text = "제" + def.no + "장 " + def.title + (filter != null && !string.IsNullOrEmpty(filter.suffix) ? " · " + filter.suffix : "");
BuildLights(filter != null ? filter.light : null, c.map);
bannerText.text = "제" + def.no + "장 " + def.title + (!plaqueTop && filter != null && !string.IsNullOrEmpty(filter.suffix) ? " · " + filter.suffix : ""); // 명패 = 장 이름만(난이도는 아래 글자 · PD 2026-11-26 「챕터 명칭에 하드 문구 추가하지 마」)
prevButton.interactable = chapter > 0;
nextButton.interactable = chapter < cfg.chapters.Length - 1;
@ -601,8 +790,11 @@ namespace TKS
float spacing = Mathf.Max(8f, data.dotSpacing);
for (int i = 0; i + 1 < slots.Length; i++)
{
float l0 = Mathf.Min(len[i], len[i + 1]) + 44f;
float l1 = Mathf.Max(len[i], len[i + 1]) - 44f;
// 깃발이 있는 칸 둘레는 비우고(44) · 안 보이는 앞 칸 자리는 점을 이어 찍음(빈틈이 칸 자리를 드러내지 않게 · PD 2026-11-26)
float ta = i <= cleared ? 44f : spacing * 0.5f, tb = i + 1 <= cleared ? 44f : spacing * 0.5f;
bool fwd = len[i] <= len[i + 1];
float l0 = Mathf.Min(len[i], len[i + 1]) + (fwd ? ta : tb);
float l1 = Mathf.Max(len[i], len[i + 1]) - (fwd ? tb : ta);
if (l1 <= l0) continue;
int m = Mathf.Max(0, Mathf.FloorToInt((l1 - l0) / spacing));
for (int j = 0; j <= m; j++)
@ -623,26 +815,38 @@ namespace TKS
t.GetComponent<Outline>().enabled = false;
plate.rectTransform.sizeDelta = new Vector2(t.preferredWidth + 60f, plate.rectTransform.sizeDelta.y);
}
// 노드
// 노드(PD 2026-11-26) — 보이는 깃발 = 깬 칸 + 지금 칸(다음에 도전할 칸)만 · 앞 칸은 깃발 없이 길 점만(마지막 스테이지를 바로 알아보게) ·
// 커서 = 지금 칸 하나만(위아래 흔들림) · 번호 = 스테이지 번호만(장은 위 명패가 알려 줌) · 보상 재화 표시 없음(스테이지 팝업에서) · 누름 = 깃발보다 넓은 보이지 않는 판
nodeTotal = slots.Length;
CurrentNode = cleared < slots.Length ? cleared : -1;
VisibleNodeCount = 0;
for (int i = 0; i < slots.Length; i++)
{
var stage = cfg.stages[nodeStages[i]];
bool boss = stage.kind == StageKind.Boss;
if (boss) BossNodeCount++;
var st = StateOf(chapter, i);
int node = i;
if (i > cleared) // 앞 칸 = 안 보임(시험 옵션 「전 스테이지 열기」 때만 그 자리에 보이지 않는 누름 판 · 시험 플레이로 들어갈 수 있게)
{
if (TestOptions.UnlockAllStages) HiddenNodeButton(slots[i], () => OnNodeClicked(node));
continue;
}
string key = (boss ? "flag_boss_" : "flag_") + (st == NodeState.Clear ? "clear" : st == NodeState.Open ? "open" : "lock");
if (boss) Piece("frame", slots[i] + V(data.flagFrame), false);
if (boss && i == CurrentNode) Piece("frame", slots[i] + V(data.flagFrame), false); // 보스 메달 = 커서를 두르는 틀 → 지금 칸일 때만(깬 보스 위 빈 메달 없음)
var img = Piece(key, slots[i], true);
if (img == null) continue;
int node = i;
VisibleNodeCount++;
var btn = img.gameObject.AddComponent<Button>();
btn.transition = Selectable.Transition.ColorTint;
btn.onClick.AddListener(() => OnNodeClicked(node));
nodeButtons.Add(btn);
var kit = data.Kit(key);
HitPlate(img.rectTransform, kit);
if (st != NodeState.Lock && kit != null)
{
var t = Label(img.transform, def.no + "-" + stage.stage, boss ? 38 : (def.no >= 10 || stage.stage >= 10 ? 26 : 32), Paper, new Vector2(kit.numberCenter[0], 1f - kit.numberCenter[1]));
var t = Label(img.transform, stage.stage.ToString(), boss ? NumSizeBoss : NumSize, Paper, new Vector2(kit.numberCenter[0], 1f - kit.numberCenter[1]));
TitleStyle(t, Ink);
t.raycastTarget = false;
}
if (st == NodeState.Clear)
@ -651,8 +855,7 @@ namespace TKS
int stars = StarsOf != null ? StarsOf(nodeStages[i]) : int.MaxValue; // 아웃게임 세이브 별(#1093 §6)
for (int k = 0; k + 1 < so.Length; k += 2) Piece(k / 2 < stars ? "star_on" : "star_off", slots[i] + new Vector2(so[k], so[k + 1]), false);
}
if (NodeDecor != null) NodeDecor(nodeStages[i], img.rectTransform);
if (st == NodeState.Open)
if (i == CurrentNode && st != NodeState.Lock)
{
var co = boss ? data.flagBossCursor : data.flagCursor;
var cimg = Piece("cursor", slots[i] + V(co), false);
@ -986,7 +1189,7 @@ namespace TKS
void Update()
{
if (cursor != null) cursor.anchoredPosition = cursorBase + new Vector2(0f, 10f * Mathf.Abs(Mathf.Sin(Time.unscaledTime * 4f)));
if (cursor != null) cursor.anchoredPosition = cursorBase + new Vector2(0f, CursorBob * Mathf.Abs(Mathf.Sin(Time.unscaledTime * 4f)));
bool interact = Time.unscaledTime >= inputBlockUntil;
if (group != null && group.interactable != interact) group.interactable = interact; // 바뀔 때만(버튼 색 전환 → 재구성 방지)
}
@ -1002,6 +1205,38 @@ namespace TKS
}
/// <summary>맵 px 위치(y 아래로)에 부품 1개. 크기 = kit refSize · 피벗 = kit pivot.</summary>
/// <summary>깃발 둘레 보이지 않는 누름 판(깃발보다 넓게 · 깃발 단추가 누름을 받음 · 투명 = 그리지 않음).</summary>
static void HitPlate(RectTransform flag, WorldKitItem kit)
{
var sz = flag.sizeDelta;
var rt = Rect("Hit", flag, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(0f, -sz.y * 0.1f),
new Vector2(Mathf.Max(HitW, sz.x + 60f), Mathf.Max(HitH, sz.y + 70f)));
rt.SetAsFirstSibling();
var img = rt.gameObject.AddComponent<Image>();
img.color = new Color(1f, 1f, 1f, 0f);
img.canvasRenderer.cullTransparentMesh = true;
img.raycastTarget = true;
}
/// <summary>안 보이는 앞 칸의 누름 판(시험 옵션 「전 스테이지 열기」 전용).</summary>
void HiddenNodeButton(Vector2 mapPos, UnityEngine.Events.UnityAction click)
{
var go = new GameObject("HiddenNode");
go.transform.SetParent(content, false);
var rt = go.AddComponent<RectTransform>();
rt.anchorMin = rt.anchorMax = new Vector2(0f, 1f);
rt.pivot = new Vector2(0.5f, 0.3f);
rt.sizeDelta = new Vector2(HitW, HitH);
rt.anchoredPosition = new Vector2(mapPos.x, -mapPos.y);
var img = go.AddComponent<Image>();
img.color = new Color(1f, 1f, 1f, 0f);
img.canvasRenderer.cullTransparentMesh = true;
var b = go.AddComponent<Button>();
b.transition = Selectable.Transition.None;
b.onClick.AddListener(click);
spawned.Add(go);
}
Image Piece(string name, Vector2 mapPos, bool raycast)
{
var sp = Sprite(name);
@ -1062,6 +1297,42 @@ namespace TKS
return t;
}
/// <summary>제목체 + 짙은 테(명패 · 현판 위 글자).</summary>
static void TitleStyle(Text t, Color ink)
{
UISkin.UseTitle(t);
var o = t.GetComponent<Outline>();
if (o == null) o = t.gameObject.AddComponent<Outline>();
o.enabled = true;
o.effectColor = ink;
o.effectDistance = new Vector2(3f, -3f);
}
/// <summary>장 넘김 = 금테 붉은 판(ms_plaque) + 밝은 화살표.</summary>
void NavPlaque(Button b)
{
var sq = UISkin.Icon("ms_plaque");
if (sq == null || !plaqueTop) return;
var img = b.GetComponent<Image>();
img.sprite = sq;
img.type = Image.Type.Sliced;
img.rectTransform.sizeDelta = new Vector2(NavSize, NavSize);
img.pixelsPerUnitMultiplier = sq.rect.height / NavSize;
var t = b.GetComponentInChildren<Text>();
if (t == null) return;
t.color = PlaqueText;
var o = t.GetComponent<Outline>();
if (o != null) { o.enabled = true; o.effectColor = PlaqueInk; }
t.rectTransform.anchoredPosition = new Vector2(0f, 2f);
}
/// <summary>난이도 글자(하드 = 주황 붉은 · 일반 = 금빛).</summary>
void SetModeText(string s)
{
modeText.text = s;
if (plaqueTop) modeText.color = s.Contains("하드") ? ModeHard : ModeNormal;
}
Button SmallButton(string name, Transform parent, string label, Vector2 anchor, Vector2 pos, Action onClick)
{
var img = Img(name, parent, Sprite("plate"), anchor, anchor, new Vector2(0.5f, 0.5f), pos, new Vector2(110f, 80f));

View File

@ -1295,6 +1295,11 @@ namespace TKS.Tests
Assert.AreEqual(0, bm.Units.Count, "전투 정리");
Assert.AreEqual(NodeState.Clear, wm.StateOf(0, 0));
Assert.AreEqual(NodeState.Open, wm.StateOf(0, 1), "다음 노드 열림");
// PD 2026-11-26: 보이는 깃발 = 깬 칸 + 지금 칸 · 커서 = 지금 칸 하나(앞 칸 안 보임)
Assert.AreEqual(2, wm.VisibleNodeCount, "1-1(깸) + 1-2(지금)만 깃발");
Assert.AreEqual(1, wm.CurrentNode, "커서 = 1-2");
Assert.IsTrue(wm.CursorShown);
Assert.AreEqual(wm.NodesIn(0), wm.NodeCount, "노드 자리 수 = 스테이지 수(안 보이는 칸 포함)");
wm.OpenPopup(1);
wm.ConfirmPopup();

View File

@ -1161,17 +1161,21 @@ namespace TKS.Tests
Assert.IsFalse(wm.FilterOn, "일반 = 필터 없음");
Assert.AreEqual(Color.white, wm.MapTint);
StringAssert.DoesNotContain("하드", wm.ChapterBannerText);
Assert.AreEqual(0, wm.NightLightCount, "일반 = 밤 불빛 없음");
og.ToggleHard();
wm.ShowChapter(0);
yield return null;
Assert.IsTrue(wm.FilterOn, "하드 = 색 필터");
Assert.Greater(wm.NightLightCount, 0, "하드(밤) = 성 · 진영 불빛(표 worldmap_lights · PD 2026-11-26)");
Assert.AreNotEqual(Color.white, wm.MapTint, "맵 그림에 곱하는 색");
StringAssert.Contains("하드", wm.ChapterBannerText, "장 이름 띠");
StringAssert.DoesNotContain("하드", wm.ChapterBannerText, "장 이름 = 하드 글자 없음(PD 2026-11-26 · 난이도는 장 이름 아래 글자)");
StringAssert.Contains("하드", wm.ModeText, "난이도 글자");
// 표의 두 묶음(석양 · 밤)은 서로 다른 색 — 지금 쓰는 것은 표의 filter 줄(PD 2026-11-24 = 밤)
OutGameRoot.HardFilterPreset = "sunset";
wm.ShowChapter(0);
yield return null;
var sunset = wm.MapTint;
Assert.AreEqual(0, wm.NightLightCount, "석양 = 불빛 줄 없음");
OutGameRoot.HardFilterPreset = "night";
wm.ShowChapter(0);
yield return null;
@ -1182,6 +1186,7 @@ namespace TKS.Tests
yield return null;
Assert.IsFalse(wm.FilterOn, "일반으로 돌아오면 꺼짐");
Assert.AreEqual(Color.white, wm.MapTint);
Assert.AreEqual(0, wm.NightLightCount, "일반으로 돌아오면 불빛 꺼짐");
// 거래 > 상점 · 패스 = 떠돌이 상인 띠
og.Show(og.Trade);
og.Trade.SetPage(2);

190
Tools/node_layout.py Normal file
View File

@ -0,0 +1,190 @@
# -*- coding: utf-8 -*-
"""챕터 월드맵 스테이지 노드 자리 다시 짜기(PD 2026-11-26 「맵에 배치된 거점의 간격이 너무 몰려 있거나 제대로 된 위치에 배치되지 않았어 · 거점 배치 간격이나 위치를 재검토」).
이전 규칙(챕터맵 보강 세션 납품) = 장소 고정 노드 사이를 호 길이로 등분 → 고정 장소가 길 위에서 가까우면 몇 칸이 몰리고(10장 187 px) 멀면 벌어짐(600 px) · 다리 위에도 앉음.
새 규칙 = 그려진 큰길(road)에서 물 건너기(다리 · 짧은 물 구간) 를 뺀 길이를 고르게 나눔(첫 칸 = 길 첫 점 · 마지막 = 길 끝 쪽 = 보스 자리)
→ 칸이 다리 위에 앉지 않고 이웃도 같이 고르게(1차 = 물에 걸린 칸만 밀어 이웃과 몰림 · QA r1 B1) · 물을 따라가는 긴 길은 빼지 않음(빼면 그 앞뒤가 벌어짐 · QA r2 B1) ·
길이 굽어 길 위로는 멀어도 화면에서 가까운 칸은 경고만.
쓰기 = Assets/Resources/ChapterMap/Data/<맵>.json 의 stages[].at · arc (+ stage_rule 문구) — 맵 그림 · 길 · 장소는 그대로.
납품(apply_delivery.py worldmap)을 다시 받으면 이 파일이 납품본으로 덮이므로 그 뒤 이 도구를 다시 돌린다.
쓰기: python -I Tools/node_layout.py [ch01 …] [--dry-run] [--sheet 출력.png]
"""
import argparse, colorsys, json, math, os, sys
from PIL import Image, ImageDraw
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
CM = os.path.join(ROOT, "Assets", "Resources", "ChapterMap")
R_DISC = 120 # 칸 둘레 물 검사 반지름(px · 60 은 다리 판자만 보고 다리 위를 놓침)
FLAG_BOX = (54, 140, 10) # 깃발 그림(가로 반폭 · 위로 · 아래로 px) — world.json kit flag_open 108×152 · pivot 0.88
WATER_DISC = 0.05 # 둘레 물 비율이 이보다 크면 물가 · 다리 위
WATER_FLAG = 0.10 # 깃발 그림 아래 물 비율
NEAR_2D = 200 # 화면에서 이보다 가까운 두 칸 = 경고
CROSS_MAX = 400 # 이보다 짧은 물 구간 = 다리 · 물 건너기(등분 길이에서 뺌) · 긴 구간 = 물을 따라가는 길(길로 셈)
ALONG_MAX = 2.5 # 물을 따라가는 길 위 칸이 이보다 젖었으면 가까운 덜 젖은 자리로
def water_mask(png):
"""물 = 파란 색상(185~225°) · 채도 > 0.2 · 밝기 > 0.45(PIL 채널 문턱 곱 · numpy 없이)."""
from PIL import ImageChops
im = Image.open(png).convert("RGB")
w, h = im.size
hh, s, v = im.convert("HSV").split()
lo, hi = 185 * 255 / 360, 225 * 255 / 360
a = hh.point(lambda t: 255 if lo < t < hi else 0)
b = s.point(lambda t: 255 if t > 51 else 0) # 강 가장자리 밝은 물빛(채도 0.2~0.35)까지
c = v.point(lambda t: 255 if t > 115 else 0)
m = ImageChops.multiply(ImageChops.multiply(a, b), c).point(lambda t: 1 if t else 0) # 255×255/255 = 255 → 1
return m.tobytes(), w, h
def frac(m, w, h, x0, y0, x1, y1, disc=None):
x0, y0, x1, y1 = max(0, int(x0)), max(0, int(y0)), min(w, int(x1)), min(h, int(y1))
tot = hit = 0
for y in range(y0, y1, 3):
for x in range(x0, x1, 3):
if disc and (x - disc[0]) ** 2 + (y - disc[1]) ** 2 > disc[2] ** 2:
continue
tot += 1
hit += m[y * w + x]
return hit / tot if tot else 0.0
def road_tools(road):
acc = [0.0]
for i in range(1, len(road)):
acc.append(acc[-1] + math.dist(road[i - 1], road[i]))
def at(l):
l = max(0.0, min(acc[-1], l))
for i in range(1, len(road)):
if acc[i] >= l:
t = (l - acc[i - 1]) / max(acc[i] - acc[i - 1], 1e-6)
return (road[i - 1][0] + (road[i][0] - road[i - 1][0]) * t, road[i - 1][1] + (road[i][1] - road[i - 1][1]) * t)
return tuple(road[-1])
return acc, at
def layout(mid, log):
path = os.path.join(CM, "Data", mid + ".json")
d = json.load(open(path, encoding="utf-8"))
m, w, h = water_mask(os.path.join(CM, "Maps", mid + ".png"))
road = d["road"]
acc, at = road_tools(road)
L = acc[-1]
n = len(d["stages"])
g = L / (n - 1)
def score(a):
"""물 점수(> 1 = 물가 · 다리 위) = 둘레 물 비율 ÷ 문턱 과 깃발 아래 물 비율 ÷ 문턱 중 큰 것."""
x, y = at(a)
fd = frac(m, w, h, x - R_DISC, y - R_DISC, x + R_DISC, y + R_DISC, (x, y, R_DISC))
ff = frac(m, w, h, x - FLAG_BOX[0], y - FLAG_BOX[1], x + FLAG_BOX[0], y + FLAG_BOX[2])
return max(fd / WATER_DISC, ff / WATER_FLAG)
def wet(a):
return score(a) > 1.0
# 마른 길 길이로 등분(QA r1 B1 · 물에 걸린 칸 하나만 밀면 이웃과 몰림 → 물 구간을 뺀 길이로 나눠 이웃도 같이 고르게)
STEP = 8.0
ks = int(L // STEP)
samples = [k * STEP for k in range(ks + 1)] + ([L] if ks * STEP < L else [])
sc = [score(a) for a in samples]
# 물 구간 = 연속으로 젖은 샘플 · 짧은 구간(≤ CROSS_MAX) = 다리 · 물 건너기 → 등분 길이에서 뺌 ·
# 긴 구간 = 개울 · 강을 따라가는 길(QA r2 B1 · 10장 576 px 를 빼서 13-14 가 2.9 배로 벌어짐) → 길로 셈(칸은 가장 젖은 곳만 피함)
skip = [False] * len(samples)
k = 0
while k < len(samples):
if sc[k] > 1.0:
j = k
while j + 1 < len(samples) and sc[j + 1] > 1.0:
j += 1
if samples[j] - samples[k] <= CROSS_MAX:
for t in range(k, j + 1):
skip[t] = True
k = j + 1
else:
k += 1
D = [0.0]
for k in range(1, len(samples)):
D.append(D[-1] + (samples[k] - samples[k - 1] if not skip[k] and not skip[k - 1] else 0.0))
Dt = D[-1]
ok_idx = [k for k in range(len(samples)) if not skip[k]]
if not ok_idx:
sys.exit(mid + ": 마른 길이 없음")
idx = []
for i in range(n):
t = Dt * i / (n - 1)
idx.append(next((k for k in ok_idx if D[k] >= t - 1e-6), ok_idx[-1]))
idx[-1] = ok_idx[-1] # 마지막 칸 = 길 끝에서 가장 가까운 건너기 밖 자리(보스 자리)
g2 = Dt / (n - 1)
for i in range(1, n): # 물을 따라가는 길 위 칸이 많이 젖었으면(점수 > ALONG_MAX) 가까운 덜 젖은 샘플로(간격 ±25 % 안)
if sc[idx[i]] <= ALONG_MAX:
continue
r = int(g2 * 0.25 / STEP)
cands = [k for k in range(max(0, idx[i] - r), min(len(samples), idx[i] + r + 1)) if not skip[k] and (i + 1 == n or k < idx[i + 1]) and k > idx[i - 1]]
if cands:
idx[i] = min(cands, key=lambda k: (sc[k] > ALONG_MAX, abs(k - idx[i])))
arcs = [samples[k] for k in idx]
wet_len = round(L - Dt)
moved = [(i + 1, round(a - i * g)) for i, a in enumerate(arcs) if abs(a - i * g) > STEP]
if wet_len:
log.append(" %s 물 건너기(다리) %d px 를 빼고 등분" % (mid, wet_len))
pts = [at(a) for a in arcs]
for i in range(n):
for j in range(i + 2, n):
if math.dist(pts[i], pts[j]) < NEAR_2D:
log.append(" ! %s %d칸 ↔ %d칸 화면 거리 %d px(길이 굽음)" % (mid, i + 1, j + 1, math.dist(pts[i], pts[j])))
gaps = [round(arcs[i + 1] - arcs[i]) for i in range(n - 1)]
dgaps = [round(D[idx[i + 1]] - D[idx[i]]) for i in range(n - 1)]
log.append("%s n=%d 길=%d 마른 길=%d · 길 간격 %d~%d · 마른 길 간격 %d~%d · 등분에서 옮겨진 칸 %d개" % (mid, n, L, Dt, min(gaps), max(gaps), min(dgaps), max(dgaps), len(moved)))
for s, a, p in zip(d["stages"], arcs, pts):
s["at"] = [round(p[0], 1), round(p[1], 1)]
s["arc"] = round(a, 1)
s["fixed"] = ""
d["stage_rule"] = ("고른 간격(PD 2026-11-26 「거점 간격이 몰려 있거나 제대로 된 위치가 아님」 · Tools/node_layout.py) = 그려진 큰길 전체를 호 길이로 등분(첫 칸 = 길 첫 점 · 마지막 = 길 끝) · "
"물 건너기(다리 · 짧은 물 구간 ≤ 400 px · 둘레 120 px 물 비율) 를 뺀 길 길이로 등분(칸이 다리 위에 앉지 않고 이웃도 고르게 · 물을 따라가는 긴 길은 길로 세고 가장 젖은 곳만 피함 · 마지막 칸 = 길 끝 쪽 건너기 밖) · 이전 규칙(장소 고정 + 사이 등분)은 쓰지 않음")
return d, path
def sheet(results, out):
from PIL import ImageFont
font = ImageFont.truetype(os.path.join(ROOT, "Assets", "UI", "Fonts", "Maplestory OTF Bold.otf"), 64)
tiles = []
for mid, d in results:
im = Image.open(os.path.join(CM, "Maps", mid + ".png")).convert("RGB")
dr = ImageDraw.Draw(im)
for s in d["stages"]:
x, y = s["at"]
c = (255, 40, 40) if s.get("boss") else (255, 230, 0)
dr.ellipse([x - 34, y - 34, x + 34, y + 34], fill=c, outline=(0, 0, 0), width=5)
dr.text((x + 38, y - 40), str(s["stage"]), font=font, fill=(255, 255, 255), stroke_width=6, stroke_fill=(0, 0, 0))
tiles.append(im.resize((540, 960), Image.LANCZOS))
sh = Image.new("RGB", (540 * len(tiles), 960))
for i, t in enumerate(tiles):
sh.paste(t, (i * 540, 0))
sh.save(out)
def main():
sys.stdout.reconfigure(encoding="utf-8") # python -I 는 PYTHONIOENCODING 을 무시
ap = argparse.ArgumentParser()
ap.add_argument("maps", nargs="*")
ap.add_argument("--dry-run", action="store_true")
ap.add_argument("--sheet")
a = ap.parse_args()
maps = a.maps or sorted(f[:-5] for f in os.listdir(os.path.join(CM, "Data")) if f.startswith("ch") and f.endswith(".json"))
log, results = [], []
for mid in maps:
d, path = layout(mid, log)
results.append((mid, d))
if not a.dry_run:
open(path, "w", encoding="utf-8").write(json.dumps(d, ensure_ascii=False, indent=1))
print("\n".join(log))
if a.sheet:
sheet(results, a.sheet)
if __name__ == "__main__":
main()