feat(bunsik): 화면 UI 전면 개편 — 시뮬레이터 스타일(굵은 테두리·그러데이션·입체 버튼·직접 그린 아이콘·애니메이션)

- Theme 모듈: 색, 테두리, 입체 버튼(누르면 들어감, PC 마우스 올리면 커짐), 반짝임, 배지
- 아이콘 32개를 직접 그린 한 장(art/ui_icons.png, tools/icons.py)으로 올리고 Icons 모듈로 잘라 씀
- 돈 알약+동전, +돈 떠오름, 네모 아이콘 버튼, 다음 업그레이드 카드(이름표·아이콘·진행 막대),
  업그레이드/설정 창(리본 제목·빨간 X·뒤 어둡게·튀어나오며 열림·다음 줄로 자동 스크롤)
- 손님 말풍선·+돈 글자 테두리 색 통일
- 미리보기 도구: tests/cloud/dump_gui.luau + tools/gui_render.py + tools/preview.sh
- 통합 테스트 668/668, Layout 1522 검사 통과

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-12 17:24:16 +09:00
parent 998b2467d6
commit 05848d19d6
14 changed files with 2604 additions and 449 deletions

View File

@@ -0,0 +1,52 @@
--!strict
-- 화면 UI 아이콘. 그림 한 장(art/ui_icons.png, tools/icons.py로 직접 그림)을 128px 칸으로 잘라 씁니다.
-- 칸 순서를 바꾸면 tools/icons.py --luau 출력으로 아래 표를 다시 맞추고, 그림을 새로 올려 ASSET을 바꿉니다.
local Icons = {}
Icons.ASSET = "rbxassetid://89649261251254"
Icons.CELL = Vector2.new(128, 128)
Icons.OFFSET = {
coin = Vector2.new(0, 0),
moneyBag = Vector2.new(128, 0),
bolt = Vector2.new(256, 0),
gear = Vector2.new(384, 0),
upgrade = Vector2.new(512, 0),
plate = Vector2.new(640, 0),
lock = Vector2.new(768, 0),
check = Vector2.new(896, 0),
close = Vector2.new(0, 128),
table = Vector2.new(128, 128),
sign = Vector2.new(256, 128),
flame = Vector2.new(384, 128),
sauce = Vector2.new(512, 128),
chef = Vector2.new(640, 128),
store = Vector2.new(768, 128),
tray = Vector2.new(896, 128),
Tteokbokki = Vector2.new(0, 256),
Gimbap = Vector2.new(128, 256),
Sundae = Vector2.new(256, 256),
Eomuk = Vector2.new(384, 256),
Twigim = Vector2.new(512, 256),
globe = Vector2.new(640, 256),
speaker = Vector2.new(768, 256),
mouse = Vector2.new(896, 256),
wrench = Vector2.new(0, 384),
star = Vector2.new(128, 384),
sparkle = Vector2.new(256, 384),
rays = Vector2.new(384, 384),
glow = Vector2.new(512, 384),
arrowDown = Vector2.new(640, 384),
scroll = Vector2.new(768, 384),
hand = Vector2.new(896, 384),
} :: { [string]: Vector2 }
-- ImageLabel/ImageButton에 아이콘을 씌웁니다.
function Icons.apply(image: ImageLabel, name: string)
image.Image = Icons.ASSET
image.ImageRectOffset = Icons.OFFSET[name] or Vector2.zero
image.ImageRectSize = Icons.CELL
end
return Icons

View File

@@ -17,6 +17,8 @@ local STRINGS: { [string]: { [string]: string } } = {
stage1 = "1단계 · 포장마차",
stage2 = "2단계 · 실내 분식집",
next = "다음",
nextUp = "다음 업그레이드",
doubleOn = "적용 중",
close = "닫기",
cookAction = "{menu} 만들기",
cookWait = "손님 기다리는 중",
@@ -106,6 +108,8 @@ local STRINGS: { [string]: { [string]: string } } = {
stage1 = "Stage 1 · Street Stall",
stage2 = "Stage 2 · Indoor Shop",
next = "Next",
nextUp = "Next Upgrade",
doubleOn = "Active",
close = "Close",
cookAction = "Cook {menu}",
cookWait = "Waiting for customers",
@@ -195,6 +199,8 @@ local STRINGS: { [string]: { [string]: string } } = {
stage1 = "ステージ1 · 屋台",
stage2 = "ステージ2 · 室内のお店",
next = "次",
nextUp = "次のアップグレード",
doubleOn = "適用中",
close = "閉じる",
cookAction = "{menu}を作る",
cookWait = "お客さんを待っています",
@@ -284,6 +290,8 @@ local STRINGS: { [string]: { [string]: string } } = {
stage1 = "第1阶段 · 路边摊",
stage2 = "第2阶段 · 室内小吃店",
next = "下一个",
nextUp = "下一个升级",
doubleOn = "已生效",
close = "关闭",
cookAction = "制作{menu}",
cookWait = "等待客人中",