전투 화면 하단 카드 손패 UI + 5번 카드 이미지 적용 #4

Merged
gahusb merged 11 commits from feature/sts2-combat-layout into main 2026-06-06 12:00:08 +09:00
4 changed files with 914 additions and 1453 deletions
Showing only changes of commit d1e8723954 - Show all commits

View File

@@ -0,0 +1,23 @@
{
"Id": "",
"GameId": "",
"EntryKey": "sprite://eab37efa7f0d400f94259a2df836eb8a",
"ContentType": "x-mod/sprite",
"Content": "",
"Usage": 0,
"UsePublish": 1,
"UseService": 0,
"CoreVersion": "26.5.0.0",
"StudioVersion": "0.1.0.0",
"DynamicLoading": 0,
"ContentProto": {
"Use": "Json",
"Json": {
"upload_keyname": "30/54/30542a379cb74d2d807104635740a8ea/sprite/eab37efa7f0d400f94259a2df836eb8a/639163110552472416",
"upload_hash": "AAD8C7C4E500FF8E001E85EAB181F3B19605BA9D8C8368DB28919B419515003D",
"name": "invincible belief",
"resource_guid": "eab37efa7f0d400f94259a2df836eb8a",
"resource_version": "6a238b0f1a7908d59b5d8fe4"
}
}
}

View File

@@ -1132,9 +1132,9 @@
"b": 0.5019608,
"a": 0.7058824
},
"TemplateRUID": "1cad0eb694dd415dbf11a74e0e91bae1",
"TemplateRUID": "93a3334d007949658766225bb6363c4b",
"Type": 1,
"WebUrl": "",
"WebUrl": "eab37efa7f0d400f94259a2df836eb8a",
"Enable": true
}
],

View File

@@ -5,12 +5,14 @@ const FILE = 'ui/DefaultGroup.ui';
// ---- card data ----
const ATTACK = { r: 0.86, g: 0.42, b: 0.38, a: 1.0 };
const DEFEND = { r: 0.42, g: 0.55, b: 0.85, a: 1.0 };
// image RUID = Maker 로컬 워크스페이스로 임포트한 스프라이트 (RootDesk/MyDesk/invincible belief.sprite).
// 클라우드 계정 리소스는 로컬 워크스페이스 플레이에서 로드되지 않아, 에디터 임포트로 만든 로컬 RUID를 사용한다.
const cards = [
{ name: '타격', cost: '1', desc: '피해 6', tint: ATTACK },
{ name: '타격', cost: '1', desc: '피해 6', tint: ATTACK },
{ name: '방어', cost: '1', desc: '방어도 5', tint: DEFEND },
{ name: '방어', cost: '1', desc: '방어도 5', tint: DEFEND },
{ name: '강타', cost: '2', desc: '피해 10', tint: ATTACK, image: '734473d91cc6440491335c204a4de087' },
{ name: '강타', cost: '2', desc: '피해 10', tint: ATTACK, image: 'eab37efa7f0d400f94259a2df836eb8a' },
];
const CARD_W = 180, CARD_H = 250, CARD_SPACING = 200;
// AlignmentType enum: Center=0, TopLeft=4, BottomCenter=6 (MSW가 이 값으로 앵커를 결정)

File diff suppressed because it is too large Load Diff