diff --git a/Assets/Data/UI/ui_atlas.csv b/Assets/Data/UI/ui_atlas.csv index bb1a6d54..66565490 100644 --- a/Assets/Data/UI/ui_atlas.csv +++ b/Assets/Data/UI/ui_atlas.csv @@ -8,6 +8,7 @@ theme,UI_Recruit,/Samguk/recruit/|/Samguk/flag_rank/,1024,명장 등용 배너(P theme,UI_TreasureL,/treasure_l/,2048,보물 상세 정보·상자 결과 팝업 큰 유물 240² 30장(PD 2026-11-16 7차 「유물 강조」 · 4배 업스케일 중간본 → 면적 평균) — 그 두 팝업에서만 쓰임 · UI_Common 을 키우지 않게 따로 한 장 theme,UI_TreasureS,/treasure_s/,2048,보물 상세 정보 무대용 유물 240² 30장(PD 2026-11-17 12차 「상세 화면 유물과 배경 톤이 안 맞음」 · Fable 안 A = _l 에서 바깥 검정 띠 얇게 + 검정 → 고동 · 상세 무대에서만 쓰임 · 진열장·결과 팝업 = UI_TreasureL 그대로) theme,UI_Growth,/Samguk/growth/,1024,영웅 성장 화면(정보 · 진화 · 각성 · 외형 · PD 2026-11-20 재설계) 메뉴 아이콘 4 · 각성석 · 비서 · 자물쇠 2 · 메뉴 판 · 장면 창 테 · 등급 도장 — 영웅 상세 · 성장 창에서만 +theme,UI_Mission,/Samguk/mission/,1024,임무 화면(PD 2026-11-20 재디자인 · 본영 마당 방 게시판) 줄 아이콘 8(호패 · 탑 · 쌍칼 · 투구 · 과녁 · 충차 · 사슬 · 비급) — 임무 화면에서만 theme,UI_Common,*,4096,모든 화면 공통 크롬(틀·버튼·바·탭·재화·병과·작은 아이콘) — 위 줄에 안 걸린 테마 스프라이트 전부 folder,WorldMap_UI,Assets/Resources/ChapterMap/UI,2048,월드맵 부품(깃발·띠·판·별·커서) — 폴더 전체 option,single_area,,262144,이 넓이(px) 넘는 큰 그림(로비 바탕·키아트·로고·패턴)은 아틀라스에 넣지 않음 — 한 장 = 드로우콜 1 · 아틀라스 공간 낭비 방지 diff --git a/Assets/Resources/UI/Mission/bg_mission.png b/Assets/Resources/UI/Mission/bg_mission.png new file mode 100644 index 00000000..a525a6fc Binary files /dev/null and b/Assets/Resources/UI/Mission/bg_mission.png differ diff --git a/Assets/Resources/UI/Mission/bg_mission.png.meta b/Assets/Resources/UI/Mission/bg_mission.png.meta new file mode 100644 index 00000000..cbc1dbbd --- /dev/null +++ b/Assets/Resources/UI/Mission/bg_mission.png.meta @@ -0,0 +1,169 @@ +fileFormatVersion: 2 +guid: a4696186db614cc987e6ebfa3c4003f5 +TextureImporter: + internalIDToNameTable: + - first: + 213: -3370075889449434983 + second: scene_lobby_0 + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 0 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 4096 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: + - serializedVersion: 2 + name: scene_lobby_0 + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1080 + height: 2340 + alignment: 0 + pivot: {x: 0, y: 0} + border: {x: 0, y: 0, z: 0, w: 0} + customData: + outline: [] + physicsShape: [] + tessellationDetail: -1 + bones: [] + spriteID: 854249db765545910800000000000000 + internalID: -3370075889449434983 + vertices: [] + indices: + edges: [] + weights: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: 854249db765545910800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: + scene_lobby_0: -3370075889449434983 + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/UI/Mission/mission_screen.csv b/Assets/Resources/UI/Mission/mission_screen.csv index 3ec6b252..cb34bcd4 100644 --- a/Assets/Resources/UI/Mission/mission_screen.csv +++ b/Assets/Resources/UI/Mission/mission_screen.csv @@ -1,40 +1,40 @@ s_key,s_value,Memo # 임무 화면 표(2026-11-20 · 임무 메뉴 목업 미션_img 7장) — 아이콘 = UI 테마 id(ui_theme.csv icon 줄) · 색 = #RRGGBB(AA) · 바로가기 = 화면[:쪽] -icon.login,lobby_event,접속(목업 Calendar_Check → 테마 달력) -icon.login_days,lobby_event, -icon.daily_full,lobby_event, -icon.weekly_full,lobby_event, +icon.login,ic_ms_login,접속(목업 Calendar_Check → 테마 달력) · 2026-11-20 재디자인(이전 lobby_event) +icon.login_days,ic_ms_login, 2026-11-20 재디자인(이전 lobby_event) +icon.daily_full,lobby_mission, 2026-11-20 재디자인(이전 lobby_event) +icon.weekly_full,lobby_mission, 2026-11-20 재디자인(이전 lobby_event) icon.stage_win,btn_sortie, -icon.stage_star,star_on_l, +icon.stage_star,ic_menu_evolve, 2026-11-20 재디자인(이전 star_on_l) icon.stamina_spent,cur_stamina, icon.supply_play,cur_gold, -icon.tower_play,cur_ticket, -icon.tower_floor,cur_ticket, +icon.tower_play,ic_ms_tower, 2026-11-20 재디자인(이전 cur_ticket) +icon.tower_floor,ic_ms_tower, 2026-11-20 재디자인(이전 cur_ticket) icon.arena_play,btn_arena, icon.arena_win,btn_arena, icon.raid_play,chest_point,목업 Badge_Gold -icon.scenario_clear,cur_skillbook,목업 Book_1_Wine +icon.scenario_clear,ic_menu_info,목업 Book_1_Wine · 2026-11-20 재디자인(이전 cur_skillbook) icon.gacha_pull,chest_general,목업 Badge_Crown(테마에 없음 → 명장 상자) icon.gem_spent,cur_gem, icon.hero_grow,tab_hero, -icon.hero_levelup,cur_exp, +icon.hero_levelup,ic_ms_exp, 2026-11-20 재디자인(이전 cur_exp) icon.skill_levelup,gear_book, -icon.evolve,star_on, +icon.evolve,ic_menu_evolve, 2026-11-20 재디자인(이전 star_on) icon.hero_own,tab_hero, icon.treasure_up,tab_treasure, icon.chest_open,chest_bronze, icon.gold_spent,cur_gold, icon.patrol_claim,tab_domestic, -icon.kill_any,sword, +icon.kill_any,ic_ms_kill, 2026-11-20 재디자인(이전 sword) icon.kill_inf,cls_infantry, icon.kill_spear,cls_spear, icon.kill_cav,cls_cavalry, icon.kill_arc,cls_archer, icon.kill_stg,cls_strategist, -icon.boss_kill,chest_silver,목업 Chest_Skull -icon.crit,star_l, -icon.push,arrow_next, -icon.chain,arrow_next, +icon.boss_kill,ic_ms_boss,목업 Chest_Skull · 2026-11-20 재디자인(이전 chest_silver) +icon.crit,ic_ms_crit, 2026-11-20 재디자인(이전 star_l) +icon.push,ic_ms_push, 2026-11-20 재디자인(이전 arrow_next) +icon.chain,ic_ms_chain, 2026-11-20 재디자인(이전 arrow_next) icon.active_use,gear_book, reward_icon.gold,cur_gold, reward_icon.gem,cur_gem, @@ -48,7 +48,7 @@ reward_icon.gold_chest,chest_gold, reward_icon.general_chest,chest_general, reward_icon.gem_chest,chest_gem, box_icons,chest_bronze;chest_gold;chest_gem;chest_general,구간 상자 그림(앞 구간 → 마지막 구간 · 목업 IC.nd) -timer_icon,clock, +timer_icon,ic_ms_incense,시계 아이콘(9차 = 금 향로 + 향 한 대 · gen_r7 s41 · 서양 초시계 대신 동양 시간 물건) check_icon,check, gem_icon,cur_gem, goto.stage,map,출정 = 챕터 월드맵 @@ -61,19 +61,155 @@ goto.raid,arena:4,맹장 토벌전 goto.gacha,trade:0,명장 등용 goto.treasure,treasure:0,보물 done_alpha,0.6,받은 임무 줄 흐림(0~1) -color.panel,#262B45,포인트 판 · 업적 분류 칩 바탕 -color.row,#2B3150,임무 줄 바탕 -color.row_done,#22263BCC,받은 줄(흐림) -color.text,#FFFFFF, -color.text_dim,#9EA4C2, +color.panel,#26283E,포인트 판(이벤트 score_col) · 업적 분류 칩 꺼짐 대체 +color.row,#FFF4DE,임무 · 업적 줄 = 크림 종이 쪽지(이벤트 m7_card_col 몸) · 우편 칸 · 업적 팝업 줄 +color.row_done,#E6D8BC,받은 줄(흐림 done_alpha 와 함께) +color.text,#5A3A22,크림 줄 위 제목(고동 · 외곽선 없음) +color.text_dim,#8A6A4A,크림 줄 위 도움말 · 설명 color.text_gold,#FFD23E, color.bar_full,#FFC23A,다 찬 진행 막대 color.bar_part,#3BA7F0,진행 중 막대 color.alt,#F08A24,대체 표시 -color.chip,#161A2C,포인트 칩 · 원 안 -color.ring,#FFD23E,포인트 원 테두리 · 받을 수 있는 상자 테두리 +color.chip,#3A2414,줄 포인트 칩 color.tag,#3B55C9,업적 단계 표시 color.cat_on,#D8402F,분류 칩 켜짐 color.badge,#FF243E,빨간 점 color.pop_gold,#C98A12,보상 팝업 제목 띠 color.pop_mail,#3B55C9,우편 팝업 제목 띠 +# --- 화풍 재디자인(PD 2026-11-20 「미션 메뉴에 적합한 UI 배경 · UI 디자인」 · Fable 초안 mission_ui/design/디자인기획_초안_r1.md · 컨셉 = 본영 마당의 방 게시판) · 좌표 = 쪽(탭 아래 116) 기준 px +bg,UI/Mission/bg_mission,화면 배경(Resources · 1080×1920 · 화면 비가 달라도 덮음 · 비면 예전 남색) +color.dim,#14102447,배경 어둠 한 겹 +points_rect,20|4|1040|250,포인트 판 x|y|폭|높이 +points_art,ms_plaque,포인트 띠 판 그림(3차 PD 2026-11-21 「배경 패널을 컨셉으로 다시」 · Fable mission_ui/design/디자인기획_r3.md = 금 테 · 금 구름 귀 붉은 옻칠 현판 · 9 분할 좌우 158 · 비면 예전 색 띠) +points_pattern,,현판 장식 그림|x|y|폭|높이(비면 없음 · 10차 회문 띠 반려 · B안 = ms_plaque_tray 움푹한 홈)(10차 PD 2026-11-21 A안) +points_hook,ms_hook|150|890|226|40|54,현판을 게시대 들보에 거는 금 고리 그림|왼 x|오른 x|위 y|폭|높이(판 기준 · 현판 그림일 때만) +color.points_band,#FFFFFF,포인트 띠 판 틴트(색은 아래 그러데이션 · PD 2026-11-21 레퍼런스 붉은 띠) +color.points_top,#B8432F,포인트 띠 위 +color.points_bottom,#7A2318,포인트 띠 아래 +point_big,144|106|120|182|36,포인트 아이콘 가운데 x|가운데 y|크기|숫자 가운데 y|글자(10차 PD 2026-11-21 A안) +box_pill,80|32|22,구간 숫자 알약 폭|높이|글자 +color.box_pill,#3A1612E6,구간 숫자 알약(3차 · 옻칠 현판 위 = 짙은 적갈 · Fable r3 §5) +points_line,UI/Event/parts/frame_line,포인트 판 금 테(9 분할 흰 선 · 비면 없음) +color.panel_line,#C98A2C,포인트 판 금 테 색 +timer_sprite,,시계 아이콘(Resources · 비면 timer_icon 테마 아이콘 · 9차 = 향로로 바꾸며 비움) +timer_rect,320|40|4|96|38,시계 알약 폭|높이|금 테 두께|판 오른쪽에서|판 위에서(7차 = 현판 안쪽 면 안 · 테에 걸치지 않음 · 오른쪽 위 귀 구름 피함) +list_head,38|286|1004|84|44|84,게시대 제목 줄 x|y|폭|높이|제목 글자|제목 x(10차 PD 2026-11-21 향로 명패 높이 74 → 줄 84) +list_timer_rect,380|74|0|50|5,제목 줄 시계 폭|높이|금 테|오른쪽에서|위에서(10차 PD 2026-11-21 「향로가 UI 를 벗어나지 않게 프레임 상하 길이를 늘려」 56 → 74) +list_timer_rect_art,ms_plaque|3.38,시계 받침 그림|9 분할 배율(250 / 74 = 높이를 원본 비율 그대로 · 귀 구름이 세로로 안 늘어남 · 테 112 → 33) +list_timer_rect_icon,60|46|92|28,시계 아이콘 가운데 x|크기|글자 x|글자 크기(향로가 테 안) +color.timer_text,#FFE9B0,시계 글자(옻칠 명패 위 금빛 크림) +color.list_head_text,#FFFFFF,게시대 제목 글자 +color.timer,#17131E,시계 알약 안 +color.timer_rim,#FFD23E,시계 알약 금 테 +color.track_panel,#4A1510,포인트 막대 홈(3차 · 옻칠 현판 위 짙은 적갈 · 검정이 떠 보임) +bar,144|112|761|30,포인트 막대 x(0 % = 아이콘 가운데)|가운데 y|폭|두께(10차 PD 2026-11-21 A안) +box_y,,상자 줄 가운데 y(비면 막대에 걸침 = 막대 y − 4 · 7차 PD 「게이지는 이전처럼」) +bar_tick,0|0,구간 눈금 폭|높이(7차 = 0 · 이전처럼 상자가 막대에 얹혀 눈금 없음) +color.bar_tick,#FFD45A,구간 눈금 금색 +color.bar_tick_line,#3A1408,구간 눈금 외곽선 +color.bar_top,#FFE07A,포인트 막대 채움 위 +color.bar_bottom,#F29A1F,포인트 막대 채움 아래 +box,112|104|180,구간 상자 누름 칸|아이콘|구간 숫자 알약 가운데 y(10차 PD 2026-11-21 A안) +box_check,8|-5|80,받은 상자 체크 x|y|크기(상자 104) +box_glow,gacha_fx_core,받을 상자 빛(테마 아이콘이면 덧셈 합성 · 뽑기 광원 · 2026-11-21 붉은 띠 위 glow_circle 알파 섞기는 거의 안 보임 → 교체 · 스킨이면 알파 섞기) +box_glow_size,494,빛 크기(상자 104 의 4.75 배) +box_glow_pulse,0.85|0.8,번짐 빛 깜빡임 최소 α|주기 초(0 = 깜빡임 없음 · QA r4 M2 약해지는 구간 줄임) +color.box_glow,#FFE9A0FF,빛 틴트(덧셈 · 알파 = 세기 · QA r4 M2 붉은 띠와 대비 = 밝은 노랑) +box_shadow,tre_shadow_oval,구간 상자 접지 그림자(테마 아이콘 · 비면 없음) +box_shadow_rect,94|14|47,그림자 폭|높이|상자 가운데 아래 y(상자 104) +color.box_shadow,#00000059,그림자 색 +gray,UI/UiGray|0.3,받은 상자 탈색 셰이더|원색 남김 비 +color.box_got,#73737FFF,셰이더가 없을 때 받은 상자 곱 색 +color.text_panel,#FFFFFF,포인트 판 위 글자 +color.text_panel_dim,#C9CBD8,포인트 판 안내 · 상한 +board.Daily,20|268|140|14,나무 게시판 x|위 y|아래 여백(쪽 아래에서)|안쪽 들임 +board.Weekly,20|268|140|14, +board.achieve,20|72|140|14, +board_art,ms_board,목록 뒤 판 그림(3차 · 금 마개 들보 + 두 기둥 + 밑틀 나무 게시대 · 9 분할 L40 B22 R40 T55 · 비면 예전 board.* 색 판) +board_art.Daily,2|240|1076|132,게시대 x|위 y(= 첫 줄 290 − 들보 50)|폭(기둥 안끝 37 = 줄 38 밖)|아래 여백(예전 판 아래끝 + 8) +board_art.Weekly,2|240|1076|132, +board_art.achieve,2|56|1076|132,업적 = 첫 줄 106 − 50(3차 QA r5 B1 · r6 U = 분류 칩 아래로 +12) +color.board,#6B4428,게시판 테(이벤트 m7_list_col) +color.board_in,#8C5D36,게시판 안쪽 +board_nail,16|7,못 지름|귀에서 들임(테 위 · 줄 목록에 안 가림 · QA r1 M6 · 0 = 없음) +color.nail,#F2C14E,못 머리 +color.nail_rim,#4E2F1B,못 테 +rows.Daily,38|370|1004|100|12|162,줄 목록 x|위 y|줄 폭|줄 높이|간격|아래 여백(10차 제목 줄 84) +rows.Weekly,38|370|1004|100|12|162, +rows.achieve,38|106|1004|132|10|162,3차 QA r5 B1 = 94 → 102(게시대 들보가 분류 칩 아래로) · r6 106 +row_head,104|24,줄 왼쪽 금 띠 폭|크림 몸 판 밑으로 겹칠 폭(경계 = 몸 판 외곽선 · QA r1 B1) +color.row_head,#FFD45A,금 띠 +color.row_dim,#1E16103C,받은 줄 덮개(승인 이벤트 m7_card_col 「받은 카드 어둡게」와 같은 값 · 있으면 done_alpha 대신) +row_icon,10|8|84|0.93,줄 아이콘 칸 x|y|크기|아이콘 비 +row_title,120|6|560|46|32,제목 x|y|폭|높이|글자 +row_bar,122|72|240|24|20,진행 막대 x|가운데 y|폭|두께|글자 +color.track,#4E2F1B,줄 진행 막대 홈 +row_hint,378|54|330|36|24,도움말 x|y|폭|높이|글자(QA r3 M3 · 포인트 알약과 간격) +point_icon,ic_ms_point,임무 포인트 아이콘(4차 PD 2026-11-21 「M 별이 옻칠 현판 디자인에 어울리지 않음」 → 금 호부(호랑이 병부 · 군공 상징 · gen_r4 pt_tiger_s41 · 후보 = 영패 · 호부 · 공훈 메달 3 × 3) · 띠 + 줄 알약 공용 · 옛 M 별 = 아트 _prev_r4_game) +point_icon.Daily,ic_ms_pt_tiger,일일 포인트 = 백호(PD 2026-11-21 「일일 = 백호 · 주간 = 청룡 · 타이틀 디자인 참고」 · 타이틀 로고 우백호 그림 그대로 256² · 생성 0) +point_icon.Weekly,ic_ms_pt_dragon,주간 포인트 = 청룡(타이틀 로고 좌청룡 그림 그대로 256²) +row_point,724|22|112|56|50|30,줄 보상 포인트 = 어두운 알약(칩) x|y|폭|높이|아이콘|수량 글자(PD 「+20 대신 아이콘 + 수량」 · 상아 별이 크림 줄에 묻히지 않게) +row_btn,852|16|136|68|32,버튼 x|y|폭|높이|글자 +row_ready_line,UI/Event/parts/frame_line,받을 줄 금 테(정지 · 비면 없음) +color.row_ready,#FFC23A,받을 줄 금 테 색 +ach_head,120|24,업적 줄 금 띠 폭|겹칠 폭 +ach_icon,12|18|96|0.92,업적 아이콘 칸 x|y|크기|비 +ach_name,134|8|400|44|32, +ach_desc,134|52|580|34|24, +ach_bar,136|94|300|24|20, +ach_next,448|92|288|30|22,(QA r3 M2 · 보상 칸과 간격) +color.text_next,#B5651D,「받으면 n단계도 바로」(크림 위 짙은 주황) +ach_reward,752|24|84,업적 보상 칸(등급 틀 + 보옥 + 수량 칩) x|y|크기(PD 「아이템 프레임에 재화를 담아서」) +ach_btn_y,32,업적 버튼 y +foot,24|120|632|96|24,아래 안내 알약 x|쪽 아래에서 y|폭|높이|글자 +color.foot,#14101AE6,아래 안내 · 업적 수 알약(QA r1 M7 · M8 진하게) +color.foot_text,#F6E6C6,알약 위 글자 +count_pill,40|22,업적 수 알약 높이|글자 +color.cat_off,#36364E,업적 분류 칩 꺼짐 +pop_cell,130|0.7|8,팝업 보상 칸 크기|아이콘 비|틀 안 바탕 들임 +pop_box_h,580,구간 상자 보상 팝업 높이(QA r1 M10) +color.pop_cell_bg,#2A2C44,보상 칸 틀 안 바탕 +reward_frame.default,frame_blue,보상 칸 등급 틀(테마 스킨 frame_<색> · 재화별 아래 줄 · 없으면 이 값) +reward_frame.gem,frame_green, +reward_frame.gold,frame_gold, +reward_frame.skill_book,frame_purple, +reward_frame.gem_chest,frame_purple, +reward_frame.general_chest,frame_orange, +reward_frame.gold_chest,frame_gold, +pop_line,860|96|96|72,업적 팝업 줄 폭|높이|금 띠 폭|아이콘 +pop_line_reward,80|74,업적 팝업 줄 보상 칸 크기|줄 오른쪽 끝에서 가운데까지(QA r3 M5) +pop_sum,860|64,업적 팝업 합계 금 판 폭|높이 +color.sum_top,#FFE480,합계 판 위 +color.sum_bottom,#F0AC34,합계 판 아래 +color.sum_line,#6B3A10,합계 숫자 외곽선 +color.sum_text,#5A2A08,「합계」 글자 +# --- 우편 팝업 = 포상 조서 두루마리(PD 2026-11-20 「단순 · 글자 작음 · 우편 보상은 무조건 받기만 · 삼국지 세계관 팝업」 · Fable mission_ui/design/디자인기획_r2.md §A) · 좌표 = 팝업 판 왼쪽 위 기준 +mail_skin,mail_scroll,우편 팝업 판(테마 아이콘 · 9 분할 L126 B135 R126 T146 · 가운데 단색이라 원본 = 가운데 자른 308×337 · 비면 팩 popup) +mail_panel,1000|860|1500,팝업 폭|최소 높이|최대 높이 +mail_fixed_h,482,통 블록을 뺀 고정 높이(= 글 칸 위 + 아래 여백 · QA r3 M7 헐거움 줄임) +mail_paper,140|176|720|306,글 칸 x|위 y|폭|아래 여백 +mail_title,62|520|44,축 위 제목 가운데 y(실측 윗 축 가운데)|폭|글자 +color.mail_title_line,#5A1A12,축 위 제목 외곽선 +mail_deco_icon,lobby_mail,왼쪽 위 서신 장식(로비 우편 아이콘 · 비면 없음) +mail_deco,34|-40|136,서신 장식 x|y|크기 +mail_badge,104|-6|44|26,통 수 배지 x|y(장식 기준)|크기|글자(2통부터) +mail_x,1|-130|-60,닫기 X 표시|x(오른쪽 위 기준)|y(윗 축 위 · 금 마개 피함) +mail_block,400|18,통 블록 높이|간격 +mail_head,52|38,우편 제목 높이|글자 +mail_rule,62|3,붉은 괘선 y|두께 +color.mail_rule,#C8402F8C,붉은 괘선 +mail_body,80|100|30|1.25,본문 y|높이|글자|줄 간격(본문 색 = color.text) +mail_tray,196|190,보상 받침 y|높이 +color.mail_tray,#F3E2BE,보상 받침 +mail_cell,112|24|14|28,보상 칸 크기|간격|받침 안 y|이름 글자 +color.mail_div,#C9B48A,블록 구분 선 +color.mail_sub,#6E4E30,빈 우편함 글 +mail_btn,420|112|262|44,받기 버튼 폭|높이|아래에서 y|글자 +mail_btn_skin,btn_l_yellow,받기 버튼 스킨(팩 그대로) +mail_seal_sprite,UI/Event/parts/seal,본영 인장 그림(Resources · 비면 없음) +mail_seal,744|256|104|-8|30,인장 x|아래에서 y|크기|회전|글자 +color.mail_seal,#C8402F,인장 글자 +mail_claim_mode,all,받기 = 보이는 우편 전부(all) / 맨 위 한 통(one) +mail_close_after,1,전부 받은 뒤 팝업 닫기(0 = 빈 우편함 다시 열기) +mail_unroll,1|0.06|0.42,두루마리 펼침(PD 2026-11-21) 켬 1/0|닫힌 채(두 축만) 멈춤 초|펼침 초(빠르게 풀리다 멈춤) +points_next,0|0|0|0,다음 상자 안내 x|가운데 y|폭|글자(0 = 없음 · 10차 C안)(10차 PD 2026-11-21 A안) diff --git a/Assets/Resources/UI/Mission/mission_text.csv b/Assets/Resources/UI/Mission/mission_text.csv index e7bef529..93ff368f 100644 --- a/Assets/Resources/UI/Mission/mission_text.csv +++ b/Assets/Resources/UI/Mission/mission_text.csv @@ -4,15 +4,15 @@ mission_sub,일일 · 주간 · 업적,,제목 띠 부제 tab_daily,일일 임무,,탭 tab_weekly,주간 임무,,탭 tab_achieve,업적,,탭 -points_Daily,일일 포인트,,포인트 판 제목 -points_Weekly,주간 포인트,,포인트 판 제목 -point_max,/ {0},,원 안 상한 +points_Daily,일일 포인트,,포인트 판 제목 · 미사용(2026-11-21 포인트 띠 단순화 · 글은 그대로) +points_Weekly,주간 포인트,,포인트 판 제목 · 미사용(2026-11-21 포인트 띠 단순화 · 글은 그대로) +point_max,/ {0},,원 안 상한 · 미사용(2026-11-21 포인트 띠 단순화 · 글은 그대로) reset_in,초기화까지 {0},,시계 칩 reset_hms,{0}:{1}:{2},,남은 시간(시:분:초) reset_dhm,{0}일 {1}:{2},,남은 시간(일 시:분) -box_ready,받기,,빛나는 구간 상자 위 글자 -note_Daily,구간에 닿으면 상자가 빛나고 누르면 받는다 · 모두 끝내면 {0}점,,포인트 판 아래 · {0} = 상한 -note_Weekly,초기화 = 매주 {0}요일 {1}시 · 모두 끝내면 {2}점,,포인트 판 아래 · {0} 요일 {1} 시 {2} 상한 +box_ready,받기,,빛나는 구간 상자 위 글자 · 미사용(2026-11-21 포인트 띠 단순화 · 글은 그대로) +note_Daily,구간에 닿으면 상자가 빛나고 누르면 받는다 · 모두 끝내면 {0}점,,포인트 판 아래 · {0} = 상한 · 미사용(2026-11-21 포인트 띠 단순화 · 글은 그대로) +note_Weekly,초기화 = 매주 {0}요일 {1}시 · 모두 끝내면 {2}점,,포인트 판 아래 · {0} 요일 {1} 시 {2} 상한 · 미사용(2026-11-21 포인트 띠 단순화 · 글은 그대로) foot_Daily,끝낸 임무를 받으면 포인트가 오른다\n안 받고 하루가 지나도 우편으로 온다,,아래 안내 foot_Weekly,끝낸 임무를 받으면 포인트가 오른다\n잠긴 콘텐츠 칸은 대체 임무가 대신한다,,아래 안내 foot_achieve,숫자는 처음부터 계속 쌓인다\n받아야 다음 단계가 열린다,,아래 안내 @@ -66,9 +66,10 @@ mail_mission_weekly_title,지난 주간 임무 보상,,우편 제목 mail_mission_weekly_body,{0}월 {1}일 주 · 끝냈지만 받지 않은 임무 포인트를 더해 닿은 구간({2}) 보상입니다,,우편 내용 mail_need,{0}점,,우편 구간 표시 mail_claim,받기,,우편 버튼 -mail_claim_all,모두 받기,,우편 버튼 -mail_close,닫기,,우편 버튼 +mail_claim_all,모두 받기,,(2026-11-20 우편 팝업에서 안 씀 · 받기 하나) +mail_close,닫기,,(2026-11-20 우편 팝업에서 안 씀 · 닫기 X) mail_got,우편 {0}통 받음,,토스트 +mail_seal,본영,,우편 팝업 인장 글자(PD 2026-11-20 우편 팝업 재디자인) menu_locked,임무 = {0} 클리어 뒤 열림,,잠긴 로비 버튼 토스트 menu_server,임무는 기기 세이브 모드에서만 열립니다(서버 임무 준비 중),,서버 모드 로비 버튼 day_Sun,일,,요일 @@ -78,3 +79,5 @@ day_Wed,수,,요일 day_Thu,목,,요일 day_Fri,금,,요일 day_Sat,토,,요일 +points_next,다음 상자({0}점)까지 {1}점,,포인트 띠 아래 안내(10차 C안 · {0} = 다음 구간 · {1} = 남은 점수) +points_next_done,모든 구간 달성,,포인트 띠 아래 안내(10차 C안 · 모든 구간에 닿음) diff --git a/Assets/Resources/UI/UITheme.asset b/Assets/Resources/UI/UITheme.asset index 7d18245a..3a765cb9 100644 --- a/Assets/Resources/UI/UITheme.asset +++ b/Assets/Resources/UI/UITheme.asset @@ -2334,6 +2334,14 @@ MonoBehaviour: pack: {fileID: 0} samguk: {fileID: 21300000, guid: 6c9d7d2d0d4ab4846a963e7cbe5a9cd8, type: 3} tint: {r: 1, g: 1, b: 1, a: 1} + - id: lobby_camp_card + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: ed700fecd6c48f04b9f15b85d0ffabca, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: lobby_formation_card + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: 5fc88ddf221dc3c4fb14cfea487a863a, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} - id: lobby_option pack: {fileID: 0} samguk: {fileID: 21300000, guid: 3f31075068a40864a84a8e3aaa1b2bc9, type: 3} @@ -2386,6 +2394,70 @@ MonoBehaviour: pack: {fileID: 0} samguk: {fileID: 21300000, guid: c7d5c5fdb0f26c34db40248bc372ddfb, type: 3} tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_boss + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: b5ccdeec2eb63e0408e027ef1d7ef1bc, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_chain + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: 09dbc2adb6ff91043a812617c60ee123, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_crit + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: 8c9a414f7f6a84949ad156b60e25a409, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_exp + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: f8a6ccc136b224c47a1045ed7fb5e26d, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_incense + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: e569ac676fc44bc488c77befff7c0b2f, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_kill + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: 2a7075053d9ac6740ada1bd810342c10, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_login + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: 03714d60b63b88743b917f226d1977a0, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_point + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: 3fbad643385ce8d4a843539d999ccb3d, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_pt_dragon + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: 596e78a26f539084eb0ae53dd1a6285f, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_pt_tiger + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: 6c6e7903a0251c2458b70252d623007d, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_push + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: b8b6ca89a848543468a4efcdc98efdbe, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ic_ms_tower + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: c6cdb0819947fce4b865df6ac72a0ae0, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: mail_scroll + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: c00e6357d60d2c54b8b432daa77c60e3, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ms_board + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: d55cceea31797a64190531f052207e7b, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ms_hook + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: b088e3095924e534d937c38da606a67e, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} + - id: ms_plaque + pack: {fileID: 0} + samguk: {fileID: 21300000, guid: 659f7b8c8d11ddf4c91ecb62c0f310af, type: 3} + tint: {r: 1, g: 1, b: 1, a: 1} - id: recruit_bg_other pack: {fileID: 0} samguk: {fileID: 21300000, guid: b2b554a86e7fbd44092b455ec9603057, type: 3} diff --git a/Assets/Resources/UI/Yeonmu/yeonmu_text.csv b/Assets/Resources/UI/Yeonmu/yeonmu_text.csv index 9436b8dc..e01ee098 100644 --- a/Assets/Resources/UI/Yeonmu/yeonmu_text.csv +++ b/Assets/Resources/UI/Yeonmu/yeonmu_text.csv @@ -2,7 +2,7 @@ # 화면의 모든 글자 = 이 표의 키(배경 그림 · 명패 그림에는 글자 없음) · 바뀌는 값 = {0} {1} 자리(값은 게임 데이터 · 장소 표 s_status_args = 시안용 예시) # 언어 칸 = ko(기획 목업 문구) · en 이하 = 번역 칸(비움 · 게임에 로컬라이징 시스템이 아직 없음 — 클라이언트 검색 결과 · 지금 UI 글자는 장면 표 s_text 칸) s_key,ko,en,note -yeonmu_title,연무장,,위 제목 바 +yeonmu_title,군영,,위 제목 바(PD 2026-11-21 「연무장 → 군영」) yeonmu_subtitle,성 안 일곱 곳 · 누르면 들어갑니다,,위 제목 바 부제(PD 2026-11-18 「문구 바꿔」 = 확대 · 설명 패널 없이 누르면 바로 그 장소 화면) yeonmu_hint,장소를 누르면 그곳으로 들어갑니다,,아래 안내 띠(PD 2026-11-18 · 지금 동작에 맞춤) yeonmu_gate_name,맹장 토벌전,,성문 이름표 diff --git a/Assets/Resources/UI/lobby_side.csv b/Assets/Resources/UI/lobby_side.csv index a9cf628f..08c26ea7 100644 --- a/Assets/Resources/UI/lobby_side.csv +++ b/Assets/Resources/UI/lobby_side.csv @@ -6,3 +6,13 @@ label,30|-2,글자 크기|아래에서 y(외곽선 글자) lock,44|-20|-30,잠긴 버튼 자물쇠 크기|오른쪽에서 x|위에서 y lock_tint,#7F808F,잠긴 아이콘 색(불투명 · 곱 · 반투명 금지 = 배경이 비치고 외곽선이 흐려짐) round,116|1352|1414,로비 아래 둥근 버튼(편성 · 연무장) = 프레임 없이 아이콘 크기|아이콘 가운데 y|글자 위 y(본문 좌표) +content_panel,240|136|1310,로비 콘텐츠 버튼(편성 · 군영 · PD 2026-11-21 「중요한 컨텐츠 메뉴로」 · Fable lobby_btn/design/디자인기획_r1.md §2-2) 판 폭|높이|위 y(본문 · 아래끝 1446 ≈ 출정 아래끝 1450) +content_inner,14|12|92,속 창 좌우 들임|위 들임|높이(밝은 판 · 그림 외곽선이 묻히지 않게) +content_art,168|1328,그림 크기|가운데 y(판 위로 66 튀어나옴 · 출정이 눌려 보이면 152) +content_name,214|60|1442|42|30|#FFFFFF|#10141F|3,이름 폭|높이|가운데 y|글자|최소 글자|글자 색|외곽선 색|외곽선 두께(받침 = content. 7·8번째 스킨|틴트 · none = 글자만 · PD 2026-11-21 리본 반려) +content.formation,154|lobby_formation_card|card|#27478A|soft|#8FC4F2|tre_tag|#22325E,편성(군략 탁자) = 가운데 x|그림|판 스킨|판 색(남색 = 싸우기 전 준비)|속 창 스킨|속 창 색|이름 받침(삼국지 목패 tre_tag · PD 2026-11-21 리본 반려 → Fable 3안 중 B)|받침 색(판 색의 짙은 톤) +content.camp,926|lobby_camp_card|card|#7C2B22|soft|#F2BC6F|tre_tag|#5A2018,군영(구 연무장 · 진영 막사(용마루 · 금 띠 · 보주) + 교차 극) = 가운데 x|그림|판 스킨|판 색(어두운 적갈 = 출정과 한 식구 · 더 어둡게)|속 창 스킨|속 창 색(호박 · QA r1 M4 채도 −12 %)|이름 받침(삼국지 목패 tre_tag · PD 2026-11-21 리본 반려 → Fable 3안 중 B)|받침 색(판 색의 짙은 톤 · QA M2 #5A2018) +content_tag.camp,tre_tag|#E0522E|116|40|0|1290|0|24|#FFFFFF|3,군영 전투 표기(글자 lobby_btn_camp_tag = BATTLE) 받침(none = 글자만)|틴트|폭|높이|버튼 가운데에서 x|가운데 y|기울기|글자|글자 색|외곽선 두께(PD 2026-11-21 리본 반려) +content_tag_line,#5A1A0A,전투 표기 글자 외곽선 +settings,72|54|0,로비 설정 버튼(PD 2026-11-21 「로비 화면 상단 가장자리에 설정 메뉴 버튼」) = 제목 띠 오른쪽 끝 · 아이콘 크기|오른쪽에서 x|띠 가운데에서 y · r13 U5 오른쪽 54(재화 바 + 버튼 열에 맞춤) +settings_icon,lobby_option,설정 아이콘(PD 승인 기어 · 테마 아이콘) diff --git a/Assets/Resources/UI/lobby_text.csv b/Assets/Resources/UI/lobby_text.csv new file mode 100644 index 00000000..8a0c6a46 --- /dev/null +++ b/Assets/Resources/UI/lobby_text.csv @@ -0,0 +1,6 @@ +# 로비 글자 표(PD 2026-11-21 콘텐츠 버튼 · 「글자 = 로컬라이징 키 · 통 이미지 금지」) — 코드 = OutGame/UI/LobbyScreen.ContentButton +s_key,ko,en,note +lobby_btn_formation,편성,,콘텐츠 버튼 이름(출전 장수 · 진형) +lobby_btn_camp,군영,,콘텐츠 버튼 이름(PD 2026-11-21 「연무장 → 군영」 · 전투 콘텐츠 허브) +lobby_btn_camp_tag,BATTLE,BATTLE,군영 전투 꼬리표(PD 「battle 문구」 · 전 언어 같은 값) +lobby_settings,설정,Settings,로비 상단 설정 버튼(준비 중 팝업 제목) diff --git a/Assets/Resources/UI/lobby_text.csv.meta b/Assets/Resources/UI/lobby_text.csv.meta new file mode 100644 index 00000000..d3b59339 --- /dev/null +++ b/Assets/Resources/UI/lobby_text.csv.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 824f211ff1f21b9449596348c41765c3 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/OutGame/Arena/ArenaScreen.cs b/Assets/Scripts/OutGame/Arena/ArenaScreen.cs index 2251ff1f..3f58a7b9 100644 --- a/Assets/Scripts/OutGame/Arena/ArenaScreen.cs +++ b/Assets/Scripts/OutGame/Arena/ArenaScreen.cs @@ -58,7 +58,7 @@ namespace TKS.OutGame headerSub = ts.Length > 1 ? ts[ts.Length - 1] : null; // 부제 = 허브에서만(모드 페이지는 자기 제목 띠) headerBand = band; } - else headerBand = Header("연무장", "탑 · 보급전 · 투기장 · 맹장 토벌전", true); + else headerBand = Header("군영", "탑 · 보급전 · 투기장 · 맹장 토벌전", true); KeepHeader(headerBand); // 투기장 아트 화면 = 제목 띠 글자를 투기장으로(시안) root = Body(); } @@ -91,7 +91,7 @@ namespace TKS.OutGame // 주간 랭킹 정산 중에는 랭킹 관련 컨텐츠에 들어갈 수 없다 — 안내를 띄우고 카드 화면에 머문다(PD 2026-11-17) if (p > 0 && ArenaRules.Settling(S.Save, PageKinds[p], S.Now)) { - Root.Modal("연무장", ArenaRules.SettleNotice, new OutGameRoot.ModalButton("확인", UiKit.Dark, null)); + Root.Modal("군영", ArenaRules.SettleNotice, new OutGameRoot.ModalButton("확인", UiKit.Dark, null)); p = 0; } int prev = page; diff --git a/Assets/Scripts/OutGame/Mission/MailBox.cs b/Assets/Scripts/OutGame/Mission/MailBox.cs index c5615916..9f4e3688 100644 --- a/Assets/Scripts/OutGame/Mission/MailBox.cs +++ b/Assets/Scripts/OutGame/Mission/MailBox.cs @@ -6,14 +6,16 @@ using UnityEngine.UI; namespace TKS.OutGame { /// - /// 기기 우편함(2026-11-20 · 임무 메뉴 요청서 §0-6 「우편 최소 기능」 · 목업 07_pop_mail) — 로비 「우편」(기기 세이브 모드) → 목록 · 받기 · 모두 받기. - /// 우편 = SaveData.mail(임무 초기화 때 받지 않은 구간 보상) · 글 = mission_text 의 mail_<kind>_title/body · 보상 아이콘 = mission_screen reward_icon. + /// 기기 우편함(2026-11-20 · 임무 메뉴 요청서 §0-6 「우편 최소 기능」 · 목업 07_pop_mail) — 로비 「우편」(기기 세이브 모드) → 목록 · 받기. + /// 디자인(PD 2026-11-20 「너무 단순 · 글자가 작아 불편 · 우편 보상은 무조건 받기만 · 삼국지 세계관 팝업」 · Fable 기획 `mission_ui/design/디자인기획_r2.md` §A) + /// = 「본영에서 내려온 포상 조서 두루마리」: 두루마리 판(mail_scroll 9 분할) · 축 위 제목 · 왼쪽 위 봉랍 서신 장식(+ 2통부터 통 수 배지) · + /// 통마다 블록(제목 38 · 붉은 괘선 · 본문 30 · 보상 받침 + 등급 틀 칸 112) · 아래 「받기」 하나(= 보이는 우편 전부) + 본영 인장 · 닫기 X = 틀 그대로. + /// 열 때 두루마리 펼침(PD 2026-11-21 · UiUnroll · 표 mail_unroll) = 두 축만 보이는 닫힘 → 위아래로 벌어지며 종이가 가운데부터 드러남. + /// 우편 = SaveData.mail(임무 초기화 때 받지 않은 구간 보상) · 글 = mission_text 의 mail_<kind>_title/body · 좌표 · 색 · 그림 = mission_screen(C45). /// 서버 모드는 기존 서버 우편함(Net/MailPanel). /// public static class MailBox { - const float RowH = 330f; - public static string Title(MailEntry m) { return MissionScreen.T("mail_" + m.kind + "_title"); @@ -39,40 +41,202 @@ namespace TKS.OutGame if (int.TryParse(yyyymmdd.Substring(6, 2), NumberStyles.Integer, CultureInfo.InvariantCulture, out dd)) day = dd.ToString(CultureInfo.InvariantCulture); } + static float[] V(string key, params float[] def) + { + return MissionScreen.V(key, def); + } + + static Color C(string key, Color def) + { + return MissionScreen.Col(key, def); + } + public static void Open(OutGameRoot root) + { + Open(root, true); + } + + /// unroll = 두루마리 펼침 연출(처음 열 때 · 받은 뒤 다시 열 때는 펼친 채). + public static void Open(OutGameRoot root, bool unroll) { UiText.Use(MissionScreen.Texts); var s = root.Session; var items = s.Save.mail != null ? s.Save.mail.items : new List(); var ids = new List(); foreach (var m in items) ids.Add(m.id); - float h = Mathf.Clamp(330f + Mathf.Max(1, items.Count) * (RowH + 14f), 620f, 1500f); - var buttons = new List(); - if (items.Count > 0) buttons.Add(new OutGameRoot.ModalButton(MissionScreen.T("mail_claim_all"), UiKit.Coin, () => Claim(root, ids))); - buttons.Add(new OutGameRoot.ModalButton(MissionScreen.T("mail_close"), UiKit.Dark, null)); - var content = root.ModalCustom(MissionScreen.T("mail_title"), h, buttons.ToArray()); - var head = content.parent.Find("Head"); - if (head != null && head.GetComponent() != null) head.GetComponent().color = MissionScreen.Col("pop_mail", UiKit.Header); - if (items.Count == 0) + int n = items.Count; + var mp = V("mail_panel", 1000f, 920f, 1500f); + var blk = V("mail_block", 434f, 18f); + int shown = Mathf.Max(1, n); + float H = Mathf.Clamp(V("mail_fixed_h", 476f)[0] + shown * blk[0] + (shown - 1) * blk[1], mp[1], mp[2]); + // 버튼 0개 = 팝업 틀이 아래 버튼 줄을 만들지 않음(「받기」 하나는 아래에서 직접 · PD 「우편 보상은 무조건 받기만」) + var content = root.ModalCustom(MissionScreen.T("mail_title"), H); + var panel = (RectTransform)content.parent; + panel.sizeDelta = new Vector2(mp[0], H); + Scroll(panel); + // 종이 = 판 가운데 고정 크기(H) · Reveal(RectMask2D) = 두 축 안쪽만 보임 → 펼칠 때 글이 움직이지 않고 가운데부터 드러남 + float rodT, rodB; + Rods(panel, out rodT, out rodB); + var paper = Paper(panel, mp[0], H, rodT, rodB); + if (unroll) Unroll(panel, H, rodT, rodB); + + // 서신 장식(로비 우편 아이콘) + 통 수 배지(2통부터) + var dc = V("mail_deco", 34f, -40f, 136f); + var deco = UiKit.Icon(panel, MissionScreen.Cfg("mail_deco_icon"), new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(dc[0] + dc[2] * 0.5f, -(dc[1] + dc[2] * 0.5f)), dc[2]); + if (deco != null) { - UiKit.Label(content, MissionScreen.T("mail_empty"), 32, UiKit.InkSoft, TextAnchor.MiddleCenter, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), Vector2.zero, new Vector2(820f, 60f), false); + deco.name = "Deco"; + UiKit.DropShadow(deco, 3f); + if (n >= 2) + { + var bg = V("mail_badge", 104f, -6f, 44f, 26f); + var b = UiKit.Skin(UiKit.Rect("Badge", deco.transform, new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(bg[0], -bg[1]), new Vector2(bg[2], bg[2])), "badge_circle", C("badge", UiKit.Red)); + b.preserveAspect = true; + UiKit.Title(UiKit.FillLabel(b.transform, n.ToString(CultureInfo.InvariantCulture), (int)bg[3], UiKit.White), true); + } + } + + var pa = V("mail_paper", 140f, 190f, 720f, 306f); + if (n == 0) + { + var e = UiKit.Label(paper, MissionScreen.T("mail_empty"), 32, C("mail_sub", UiKit.InkSoft), TextAnchor.MiddleCenter, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(pa[0], -pa[1]), new Vector2(pa[2], H - pa[1] - pa[3]), false); + e.name = "Empty"; return; } - ScrollRect sr; - var grid = UiKit.ScrollGrid("Mails", content, 0f, 0f, 0f, 0f, new Vector2(860f, RowH), new Vector2(0f, 14f), 1, out sr); - foreach (var m in items) + RectTransform list = paper; + bool scroll = n >= 3; + if (scroll) { - var mail = m; - var go = new GameObject("Mail_" + mail.id, typeof(RectTransform)); - go.transform.SetParent(grid, false); - var cell = (RectTransform)go.transform; - UiKit.Skin(cell, "panel12", MissionScreen.Col("row", UiKit.Dark), true); // 팝업 판 = 어두운 테마 → 칸도 어둡게 · 흰 글자 - UiKit.Title(UiKit.Label(cell, Title(mail), 32, MissionScreen.Col("text", UiKit.White), TextAnchor.MiddleLeft, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(24f, -12f), new Vector2(600f, 46f)), true); - var b = UiKit.Label(cell, Body(mail), 24, MissionScreen.Col("text_dim", UiKit.InkSoft), TextAnchor.UpperLeft, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(24f, -80f), new Vector2(812f, 64f), false); - b.lineSpacing = 1.1f; - MissionScreen.RewardRow(cell, mail.reward, 140f, 96f, true); - UiKit.SkinBtn(cell, "Claim", UISkin.Has("btn_l_yellow") ? "btn_l_yellow" : "button", UiKit.White, MissionScreen.T("mail_claim"), 30, UiKit.Col("text_on_yellow", UiKit.Ink), 860f - 180f, 8f, 160f, 62f, () => Claim(root, new List { mail.id })); + ScrollRect sr; + list = UiKit.ScrollGrid("Mails", paper, pa[0], mp[0] - pa[0] - pa[2], pa[1], pa[3], new Vector2(pa[2], blk[0]), new Vector2(0f, blk[1]), 1, out sr); } + for (int i = 0; i < n; i++) + { + RectTransform cell; + if (scroll) + { + var go = new GameObject("Mail_" + items[i].id, typeof(RectTransform)); + go.transform.SetParent(list, false); + cell = (RectTransform)go.transform; + } + else cell = UiKit.At(paper, "Mail_" + items[i].id, pa[0], pa[1] + i * (blk[0] + blk[1]), pa[2], blk[0]); + Block(cell, items[i], pa[2], i > 0); + } + + // 「받기」 하나 = 보이는 우편 전부(mail_claim_mode all) · 팩 노랑 버튼 그대로 + var bt = V("mail_btn", 420f, 112f, 262f, 44f); + var claim = UiKit.SkinBtn(paper, "MailClaim", UISkin.Has(MissionScreen.Cfg("mail_btn_skin", "btn_l_yellow")) ? MissionScreen.Cfg("mail_btn_skin", "btn_l_yellow") : "button", UiKit.White, MissionScreen.T("mail_claim"), (int)bt[3], + UiKit.Col("text_on_yellow", UiKit.Ink), (mp[0] - bt[0]) * 0.5f, H - bt[2], bt[0], bt[1], () => Claim(root, MissionScreen.Cfg("mail_claim_mode", "all") == "one" ? new List { ids[0] } : ids)); + claim.name = "MailClaim"; + Seal(paper, H); + } + + /// 9 분할 판의 윗 축 · 아랫 축 높이(UI 단위 = 테두리 px ÷ 판 pixelsPerUnit) · 판 그림이 없으면 0. + static void Rods(RectTransform panel, out float top, out float bottom) + { + top = bottom = 0f; + var img = panel.GetComponent(); + if (img == null || img.sprite == null || img.type != Image.Type.Sliced) return; + float ppu = Mathf.Max(0.0001f, img.pixelsPerUnit); + top = img.sprite.border.w / ppu; + bottom = img.sprite.border.y / ppu; + } + + /// Reveal(두 축 안쪽 · RectMask2D) 안에 판 가운데 기준 고정 크기 종이 — 좌표계는 판과 같음(왼쪽 위 기준 At). + static RectTransform Paper(RectTransform panel, float w, float h, float top, float bottom) + { + var reveal = UiKit.Fill("Reveal", panel, 0f, 0f, top, bottom); + reveal.gameObject.AddComponent(); + var go = new GameObject("Paper", typeof(RectTransform)); + go.transform.SetParent(reveal, false); + var rt = (RectTransform)go.transform; + rt.anchorMin = rt.anchorMax = rt.pivot = new Vector2(0.5f, 0.5f); + rt.sizeDelta = new Vector2(w, h); + rt.anchoredPosition = new Vector2(0f, (top - bottom) * 0.5f); // Reveal 가운데 ≠ 판 가운데(두 축 높이 차의 반) + return rt; + } + + /// 두루마리 펼침(표 mail_unroll = 켬 | 닫힌 채 초 | 펼침 초 · 닫힘 높이 = 두 축 · 판 그림이 없으면 열림 높이의 0.2). + static void Unroll(RectTransform panel, float H, float top, float bottom) + { + var u = V("mail_unroll", 1f, 0.06f, 0.42f); + if (u[0] <= 0f) return; + float closed = top + bottom > 0f ? top + bottom : H * 0.2f; + UiUnroll.Play(panel, closed, H, u[1], u[2]); + } + + /// 두루마리 판(테마 아이콘 mail_scroll · 9 분할) · 제목 띠 = 투명(글자만 축 위) · 닫기 X 자리. + static void Scroll(RectTransform panel) + { + var sp = UISkin.Icon(MissionScreen.Cfg("mail_skin")); + var img = panel.GetComponent(); + if (sp != null && img != null) + { + img.sprite = sp; + img.type = sp.border.sqrMagnitude > 0f ? Image.Type.Sliced : Image.Type.Simple; + img.color = Color.white; + } + var mt = V("mail_title", 84f, 520f, 44f); + var head = panel.Find("Head") as RectTransform; + if (head != null) + { + var hi = head.GetComponent(); + if (hi != null && sp != null) hi.color = Color.clear; // 파란 제목 띠 폐지(축 위 글자만) + else if (hi != null) hi.color = C("pop_mail", UiKit.Header); + head.anchoredPosition = new Vector2(head.anchoredPosition.x, head.anchoredPosition.y - (mt[0] - (6f + head.rect.height * 0.5f))); + var t = head.GetComponentInChildren(); + if (t != null) + { + t.resizeTextMaxSize = (int)mt[2]; + foreach (var o in t.GetComponents()) o.effectColor = C("mail_title_line", o.effectColor); + } + } + var x = panel.Find("Close") as RectTransform; + var xp = V("mail_x", 1f, -58f, -84f); + if (x != null) x.anchoredPosition = new Vector2(xp[1], xp[2]); + } + + /// 우편 한 통(제목 · 붉은 괘선 · 본문 · 보상 받침 + 등급 틀 칸 · 2통째부터 위 구분 선). + static void Block(RectTransform cell, MailEntry mail, float w, bool divider) + { + var tc = C("text", UiKit.Ink); + var hd = V("mail_head", 52f, 38f); + if (divider) Solid(cell, "Div", C("mail_div", Color.gray), 0f, -V("mail_block", 434f, 18f)[1] * 0.5f - 1f, w, 2f); + var t = UiKit.Title(UiKit.Label(cell, Title(mail), (int)hd[1], tc, TextAnchor.MiddleLeft, new Vector2(0f, 1f), new Vector2(0f, 1f), Vector2.zero, new Vector2(w, hd[0])), false); + t.name = "Title"; + var rl = V("mail_rule", 62f, 3f); + Solid(cell, "Rule", C("mail_rule", UiKit.Red), 0f, rl[0], w, rl[1]); + var bd = V("mail_body", 80f, 132f, 30f, 1.25f); + var b = UiKit.Label(cell, Body(mail), (int)bd[2], tc, TextAnchor.UpperLeft, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(0f, -bd[0]), new Vector2(w, bd[1]), false); + b.name = "Body"; + b.lineSpacing = bd[3]; + b.horizontalOverflow = HorizontalWrapMode.Wrap; + var tr = V("mail_tray", 228f, 190f); + var tray = UiKit.At(cell, "Tray", 0f, tr[0], w, tr[1]); + UiKit.Skin(tray, "soft", C("mail_tray", UiKit.Paper)); + var mc = V("mail_cell", 112f, 24f, 14f, 28f); + MissionScreen.RewardRow(tray, mail.reward, mc[2], mc[0], true, tc); + } + + /// 본영 인장(Resources 그림 + 글자 · 회전) — 그림 경로가 비면 없음. + static void Seal(RectTransform panel, float H) + { + var sp = MissionScreen.Res(MissionScreen.Cfg("mail_seal_sprite")); + if (sp == null) return; + var se = V("mail_seal", 744f, 256f, 104f, -8f, 30f); + var img = UiKit.At(panel, "Seal", se[0], H - se[1], se[2], se[2]).gameObject.AddComponent(); + img.sprite = sp; + img.raycastTarget = false; + img.rectTransform.localEulerAngles = new Vector3(0f, 0f, se[3]); + var t = UiKit.Title(UiKit.FillLabel(img.transform, MissionScreen.T("mail_seal"), (int)se[4], C("mail_seal", UiKit.Red))); + t.name = "SealText"; + } + + static void Solid(RectTransform p, string name, Color c, float x, float y, float w, float h) + { + var img = UiKit.At(p, name, x, y, w, h).gameObject.AddComponent(); + img.color = c; + img.raycastTarget = false; } static void Claim(OutGameRoot root, List ids) @@ -82,7 +246,9 @@ namespace TKS.OutGame if (got.Count == 0) return; s.Commit(); root.Toast(MissionScreen.F("mail_got", got.Count.ToString(CultureInfo.InvariantCulture))); - Open(root); // 받은 우편이 빠진 목록으로 다시 연다 + bool empty = s.Save.mail == null || s.Save.mail.items.Count == 0; + if (empty && MissionScreen.V("mail_close_after", 1f)[0] > 0f) root.CloseModal(); // 전부 받았으면 닫음(빈 우편함을 다시 열지 않음) + else Open(root, false); // 남은 우편으로 다시 연다(펼친 채) } } } diff --git a/Assets/Scripts/OutGame/Mission/MissionScreen.cs b/Assets/Scripts/OutGame/Mission/MissionScreen.cs index d3b432cb..a4d7a4cb 100644 --- a/Assets/Scripts/OutGame/Mission/MissionScreen.cs +++ b/Assets/Scripts/OutGame/Mission/MissionScreen.cs @@ -9,8 +9,10 @@ namespace TKS.OutGame /// /// 임무 화면(2026-11-20 PD 컨펌 · 목업 미션_img 02~06) — 탭 3(일일 · 주간 · 업적 · 빨간 점 = 받기 줄 수) · 포인트 판(원 + 막대 + 구간 상자 + 초기화 시계) · /// 임무 줄(아이콘 · 제목 · 대체 표시 · 진행 막대 · 도움말 · +포인트 · 받기/완료/이동/진행 중) · 업적(분류 칩 · 지금 단계 1줄 · 연쇄 안내) · 모두 받기 · 보상 팝업. - /// 값 = 임무 표(MissionDb) · 글자 = UI/Mission/mission_text · 아이콘·색·바로가기 = UI/Mission/mission_screen(C45). - /// 캔버스 = 화면 Event(OutGameRoot.Add) · 줄 목록 = ScrollGrid Frame · 시계 칩 = 자기 Event 캔버스(1초마다 글자만). + /// 화풍(PD 2026-11-20 「미션 메뉴에 적합한 UI 배경 · UI 디자인」 · Fable 초안 `mission_ui/design/디자인기획_초안_r1.md`) = 「본영 마당의 방(榜) 게시판」: + /// 군막 앞 마당 배경 + 어둠 한 겹 · 포인트 판 = 붉은 현판 + 금 테 · 나무 게시판 위에 크림 종이 쪽지 줄(왼쪽 금 띠 + 스티커 아이콘) · 버튼 · 탭 = 팩 그대로. + /// 값 = 임무 표(MissionDb) · 글자 = UI/Mission/mission_text · 아이콘 · 색 · 좌표 · 그림 · 바로가기 = UI/Mission/mission_screen(C45). + /// 캔버스 = 배경 · 나무 판 = Static(탭을 바꿀 때만) · 화면 Event(OutGameRoot.Add) · 줄 목록 = ScrollGrid Frame · 시계 칩 = 자기 Event 캔버스(1초마다 글자만) · 받을 상자 빛 = UiPulse. /// public class MissionScreen : OutGameScreen { @@ -18,17 +20,18 @@ namespace TKS.OutGame public const string Texts = "UI/Mission/mission_text"; public const int DailyTab = 0, WeeklyTab = 1, AchieveTab = 2; - const float RowW = 1032f; - const float RowH = 100f; - const float AchH = 132f; - const float BottomH = 136f; + const float PageTop = 116f; static Dictionary cfg; + static readonly Dictionary sprites = new Dictionary(); + static Material grayMat; int tab; string cat = ""; + string boardKey; RectTransform body; RectTransform page; + RectTransform artPage; readonly Button[] tabs = new Button[3]; readonly Text[] tabBadges = new Text[3]; @@ -76,17 +79,48 @@ namespace TKS.OutGame return ColorUtility.TryParseHtmlString(Cfg("color." + key), out c) ? c : def; } + /// 표 값 「a|b|c」 → 숫자 배열(칸이 없거나 숫자가 아니면 def 의 같은 칸). + public static float[] V(string key, params float[] def) + { + var p = Cfg(key).Split('|'); + var r = new float[Mathf.Max(p.Length, def.Length)]; + for (int i = 0; i < r.Length; i++) + { + float f; + r[i] = i < p.Length && float.TryParse(p[i].Trim(), NumberStyles.Float, CultureInfo.InvariantCulture, out f) ? f : i < def.Length ? def[i] : 0f; + } + return r; + } + + /// Resources 스프라이트(표의 경로 · 없으면 null). + public static Sprite Res(string path) + { + if (string.IsNullOrEmpty(path)) return null; + Sprite s; + if (!sprites.TryGetValue(path, out s)) + { + s = Resources.Load(path); + sprites[path] = s; + } + return s; + } + [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)] static void ResetStatics() { cfg = null; + sprites.Clear(); + grayMat = null; } public override void Build() { UiText.Use(Texts); + SceneBg(); Header(T("mission_title"), T("mission_sub"), true); body = Body(); + // 나무 게시판 = Static 층(탭을 바꿀 때만 다시 그림 · 쪽 목록보다 뒤) + artPage = UiKit.Fill("ArtPage", UiLayer.Group("BoardArt", body, UiRate.Static), 0f, 0f, PageTop, 0f); string[] keys = { "tab_daily", "tab_weekly", "tab_achieve" }; for (int i = 0; i < 3; i++) { @@ -96,7 +130,25 @@ namespace TKS.OutGame b.preserveAspect = true; tabBadges[i] = UiKit.Title(UiKit.FillLabel(b.transform, "", 26, UiKit.White), true); } - page = UiKit.Fill("Page", body, 0f, 0f, 116f, 0f); + page = UiKit.Fill("Page", body, 0f, 0f, PageTop, 0f); + } + + /// 화면 전체 배경(표 bg = Resources 그림 · 화면 비가 달라도 덮음) + 어둠 한 겹(color.dim) — Static 층 · 재화 바 · 제목 띠 뒤. + void SceneBg() + { + var sp = Res(Cfg("bg")); + if (sp == null) return; + var g = UiLayer.Group("SceneArt", Rt, UiRate.Static); + g.SetAsFirstSibling(); + var bg = UiKit.Rect("SceneBg", g, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), Vector2.zero, OutGameRoot.Reference).gameObject.AddComponent(); + bg.sprite = sp; + bg.raycastTarget = false; + var fit = bg.gameObject.AddComponent(); + fit.aspectMode = AspectRatioFitter.AspectMode.EnvelopeParent; + fit.aspectRatio = sp.rect.width / Mathf.Max(1f, sp.rect.height); + var dim = UiKit.Fill("Dim", g).gameObject.AddComponent(); + dim.color = Col("dim", Color.clear); + dim.raycastTarget = false; } public override void OnShow() @@ -128,6 +180,8 @@ namespace TKS.OutGame tabBadges[i].text = n[i].ToString(CultureInfo.InvariantCulture); tabBadges[i].transform.parent.gameObject.SetActive(n[i] > 0); } + string bk = tab == AchieveTab ? "achieve" : tab == DailyTab ? MissionDb.Daily : MissionDb.Weekly; + if (bk != boardKey) Board(bk); UiKit.Clear(page); RowStates.Clear(); RowTitles.Clear(); @@ -135,6 +189,40 @@ namespace TKS.OutGame else BuildMissions(tab == DailyTab ? MissionDb.Daily : MissionDb.Weekly); } + static float PageH + { + get { return OutGameRoot.BodyH - PageTop; } + } + + /// 나무 게시판(표 board.<탭> = x | 위 y | 아래 여백 | 안쪽 들임 · 테 = 팩 card · 안쪽 = soft · 네 귀 못) — 탭이 바뀔 때만(Static). + void Board(string key) + { + boardKey = key; + UiKit.Clear(artPage); + // 3차(PD 2026-11-21 · Fable 디자인기획_r3) = 금 마개 들보 + 두 기둥 + 밑틀의 나무 게시대 그림(표 board_art · board_art.<탭> = x | 위 y | 폭 | 아래 여백) · 없으면 예전 색 판 + var bart = V("board_art." + key, 4f, 238f, 1072f, 132f); + if (SlicedArt(UiKit.At(artPage, "Board", bart[0], bart[1], bart[2], PageH - bart[1] - bart[3]), Cfg("board_art")) != null) return; + UiKit.Clear(artPage); + var b = V("board." + key, 20f, 268f, 140f, 14f); + float w = OutGameRoot.Reference.x - 2f * b[0], h = PageH - b[1] - b[2]; + var frame = UiKit.At(artPage, "Board", b[0], b[1], w, h); + UiKit.Skin(frame, "card", Col("board", new Color(0.42f, 0.27f, 0.16f))); + UiKit.Skin(UiKit.Fill("Inner", frame, b[3], b[3], b[3], b[3]), "soft", Col("board_in", new Color(0.55f, 0.36f, 0.21f))); + var nl = V("board_nail", 0f, 0f); + if (nl[0] <= 0f) return; + foreach (var p in new[] { new Vector2(nl[1], nl[1]), new Vector2(w - nl[1], nl[1]), new Vector2(nl[1], h - nl[1]), new Vector2(w - nl[1], h - nl[1]) }) + { + var rim = UiKit.Rect("Nail", frame, new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(p.x, -p.y), new Vector2(nl[0], nl[0])).gameObject.AddComponent(); + rim.sprite = UiKit.Circle; + rim.color = Col("nail_rim", Color.black); + rim.raycastTarget = false; + var dot = UiKit.Fill("Head", rim.transform, 4f, 4f, 4f, 4f).gameObject.AddComponent(); + dot.sprite = UiKit.Circle; + dot.color = Col("nail", UiKit.Coin); + dot.raycastTarget = false; + } + } + // ---------- 일일 · 주간 ---------- void BuildMissions(string kind) @@ -145,114 +233,209 @@ namespace TKS.OutGame int max = db.PointMax(kind); int pts = MissionRules.Points(d, kind); - var panel = UiKit.At(page, "Points", 24f, 4f, RowW, 262f); - UiKit.Skin(panel, "card", Col("panel", UiKit.Dark)); - Txt(panel, "Title", T("points_" + kind), 34, Col("text", UiKit.White), 30f, 16f, 360f, 50f, TextAnchor.MiddleLeft, true); - Timer(panel, kind); - - // 원(지금 포인트 / 상한) - foreach (var ring in new[] { UiKit.Box("Ring", panel, new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(105f, -160f), new Vector2(152f, 152f), Col("ring", UiKit.Coin)), - UiKit.Box("Inner", panel, new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(105f, -160f), new Vector2(138f, 138f), Col("chip", UiKit.Dark)) }) + // 포인트 띠(PD 2026-11-21 「포인트 정보를 심플하게 · 레퍼런스 참고」) = 붉은 칠 띠 한 장 + 금 테 + // · 왼쪽 = 임무 포인트 아이콘 크게 + 그 아래 지금 포인트 숫자만 · 막대 위 상자 · 상자 밑 어두운 알약에 구간 숫자 · 시계 = 오른쪽 위 작게 + // (현판 · 원 · 상한 · 안내 글 · 「받기」 꼬리표 없앰 · 받을 상자 = 번짐 빛만) + var pr = V("points_rect", 20f, 4f, 1040f, 250f); + var panel = UiKit.At(page, "Points", pr[0], pr[1], pr[2], pr[3]); + // 3차(PD 2026-11-21 「배경 패널을 컨셉으로 다시」 · Fable 디자인기획_r3) = 금 테 · 금 구름 귀 붉은 옻칠 현판 그림(표 points_art · 9 분할 좌우) · 없으면 예전 색 띠 + var plaque = SlicedArt(panel, Cfg("points_art")); + if (plaque == null) { - ring.sprite = UiKit.Circle; // 평면 원(팩 dot 은 검은 외곽선이 있어 금테가 안 보임) - ring.type = Image.Type.Simple; + var band = UiKit.Skin(panel, "card", Col("points_band", Col("panel", UiKit.Dark))); + if (band != null && Cfg("color.points_top").Length > 0) UiGradient.Add(band, Col("points_top", UiKit.Red), Col("points_bottom", UiKit.Red)); + Line(panel, Cfg("points_line"), Col("panel_line", UiKit.Coin), 0f); } - var pv = UiKit.Title(UiKit.Label(panel, pts.ToString(CultureInfo.InvariantCulture), 62, Col("text_gold", UiKit.Coin), TextAnchor.MiddleCenter, new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(105f, -146f), new Vector2(140f, 70f)), true); - pv.name = "PointValue"; - UiKit.Label(panel, F("point_max", max.ToString(CultureInfo.InvariantCulture)), 24, Col("text_dim", UiKit.InkSoft), TextAnchor.MiddleCenter, new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(105f, -196f), new Vector2(140f, 34f)); + // 옻칠 면 구름 음각 무늬(PD 2026-11-21 8차 「상단 UI 의 남는 여백을 좀 더 꾸며봐」 · Fable 디자인기획_r4 §2 · 표 points_pattern = 그림 | x | y | 폭 | 높이 · 정보 뒤 · 금 테 · 귀 구름 밖으로 안 나감) + if (plaque != null) + { + var pp = Cfg("points_pattern").Split('|'); + var pv4 = V("points_pattern", 0f, 32f, 38f, 976f, 172f); + var psp = pp.Length > 0 && pp[0].Length > 0 ? UISkin.Icon(pp[0]) : null; + if (psp != null) + { + var pimg = UiKit.At(panel, "Pattern", pv4[1], pv4[2], pv4[3], pv4[4]).gameObject.AddComponent(); + pimg.sprite = psp; + pimg.raycastTarget = false; + } + } + // 시계 = 게시대 제목 줄(PD 2026-11-21 8차 시안 「초기화 시간을 아래쪽 상단에」 · 표 list_head = x | y | 폭 | 높이 | 제목 글자 | 제목 x · 없으면 예전처럼 현판 위) + var lh = V("list_head", 0f, 0f, 0f, 0f, 40f, 0f); + if (lh[2] > 0f && lh[3] > 0f) ListHead(kind, lh); + else Timer(panel, kind); - // 막대 + 구간 상자 - const float X0 = 216f, W = 760f, BarY = 150f; - var fill = UiKit.Bar("Bar", panel, new Vector2(0f, 1f), new Vector2(0f, 0.5f), new Vector2(X0, -BarY), new Vector2(W, 30f), Col("chip", UiKit.Dark), Col("bar_full", UiKit.Coin)); - UiKit.SetBar(fill, max > 0 ? pts / (float)max : 0f); + // 임무 포인트 아이콘(표 point_icon.<종류> · 일일 = 백호 · 주간 = 청룡 = 타이틀 로고 그림 · PD 2026-11-21) + 지금 포인트(표 point_big = 가운데 x | 가운데 y | 크기 | 숫자 가운데 y | 글자 · 숫자는 아이콘 아래 따로) + var pb = V("point_big", 104f, 112f, 150f, 196f, 52f); + var big = UiKit.Icon(panel, PointIcon(kind), new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(pb[0], -pb[1]), pb[2]); + if (big != null) + { + big.name = "PointIcon"; + UiKit.DropShadow(big, 4f); + } + var pv = UiKit.Title(UiKit.Label(panel, pts.ToString(CultureInfo.InvariantCulture), (int)pb[4], Col("text_panel", UiKit.White), TextAnchor.MiddleCenter, new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(pb[0], -pb[3]), new Vector2(200f, pb[4] + 18f)), true); + pv.name = "PointValue"; + + // 막대(홈 + 금 채움) + 구간 상자(상자 + 접지 그림자 · 받을 것 = 번짐 빛 · 받음 = 탈색 + 체크) + 구간 숫자 알약 + var br = V("bar", 216f, 140f, 760f, 30f); + float X0 = br[0], BarY = br[1], W = br[2]; var steps = db.Steps(kind); + // 상자 줄 가운데 y(표 box_y · 비면 막대 위에 걸침 = 막대 y − 4) — PD 2026-11-21 「게이지는 아이콘 하단에」 = 상자가 막대 위 · 막대는 상자 아래 + float BoxY = V("box_y", BarY - 4f)[0]; + // 받을 상자 빛 = 막대보다 먼저(뒤) 그림 — 빛이 막대 홈을 밝혀 채움 끝이 흐려지지 않게(QA r4 M1) + foreach (var s in steps) + if (!MissionRules.BoxClaimed(d, kind, s.step) && pts >= s.need) + ReadyGlow(panel, new Vector2(X0 + W * Mathf.Clamp01(s.need / (float)Mathf.Max(1, max)), -BoxY)); + var fill = UiKit.Bar("Bar", panel, new Vector2(0f, 1f), new Vector2(0f, 0.5f), new Vector2(X0, -BarY), new Vector2(W, br[3]), Col("track_panel", UiKit.Dark), Col("bar_full", UiKit.Coin)); + Track(fill, Col("track_panel", UiKit.Dark)); + if (plaque != null) Groove(fill, Col("track_panel", UiKit.Dark)); + UiKit.SetBar(fill, max > 0 ? pts / (float)max : 0f); + var fimg = fill.GetComponent(); + if (fimg != null && Cfg("color.bar_top").Length > 0) UiGradient.Add(fimg, Col("bar_top", UiKit.Coin), Col("bar_bottom", UiKit.Coin)); + // 구간 눈금(PD 2026-11-21 「상자가 실제 달성도 % 에 맞게」 → 막대 위 구간 자리에 금 눈금 · 상자 · 숫자가 그 눈금 위아래 · 표 bar_tick = 폭 | 높이 · 비면 없음) + var tk = V("bar_tick", 0f, 0f); + if (tk[0] > 0f) + foreach (var s in steps) + { + float tx = X0 + W * Mathf.Clamp01(s.need / (float)Mathf.Max(1, max)); + var ol = UiKit.Box("Tick" + s.step, panel, new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(tx, -BarY), new Vector2(tk[0] + 4f, tk[1] + 4f), Col("bar_tick_line", UiKit.Ink), false); + ol.raycastTarget = false; + var inn = UiKit.Box("In", ol.transform, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), Vector2.zero, new Vector2(tk[0], tk[1]), Col("bar_tick", UiKit.Coin), false); + inn.raycastTarget = false; + } var icons = Split(Cfg("box_icons")); + var bx = V("box", 96f, 88f, 196f); for (int i = 0; i < steps.Count; i++) { var s = steps[i]; float x = X0 + W * Mathf.Clamp01(s.need / (float)Mathf.Max(1, max)); bool got = MissionRules.BoxClaimed(d, kind, s.step); - bool ready = !got && pts >= s.need; string icon = icons.Count == 0 ? "" : icons[Mathf.Min(icons.Count - 1, Mathf.RoundToInt(i * (icons.Count - 1) / (float)Mathf.Max(1, steps.Count - 1)))]; - var box = UiKit.Rect("Box" + s.step, panel, new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(x, -BarY + 4f), new Vector2(96f, 96f)); - UiKit.Skin(box, "card", Col("chip", UiKit.Dark), true); - if (ready) - { - // 빛남 = 뒤 판만 깜빡임(UiPulse = 자기 Frame 캔버스 · 누름은 상자 판이 받음) - var glow = UiKit.Skin(UiKit.Fill("Glow", box, -6f, -6f, -6f, -6f), "card", Col("ring", UiKit.Coin)); - glow.gameObject.AddComponent(); - } + var box = UiKit.Rect("Box" + s.step, panel, new Vector2(0f, 1f), new Vector2(0.5f, 0.5f), new Vector2(x, -BoxY), new Vector2(bx[0], bx[0])); + var hit = box.gameObject.AddComponent(); + hit.color = Color.clear; // 누름 칸(그림 없음) + Shadow(box, bx[1]); var bt = box.gameObject.AddComponent