5번 카드에 리부트 프로토콜 이미지 카드 적용 (로컬 워크스페이스 스프라이트)
invincible belief.png를 Maker 로컬 워크스페이스 스프라이트로 임포트해 Card5 SpriteGUIRenderer의 ImageRUID로 지정. 클라우드 계정 리소스는 로컬 워크스페이스 플레이에서 로드되지 않아 로컬 임포트 RUID 사용. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
23
RootDesk/MyDesk/invincible belief.sprite
Normal file
23
RootDesk/MyDesk/invincible belief.sprite
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1132,9 +1132,9 @@
|
|||||||
"b": 0.5019608,
|
"b": 0.5019608,
|
||||||
"a": 0.7058824
|
"a": 0.7058824
|
||||||
},
|
},
|
||||||
"TemplateRUID": "1cad0eb694dd415dbf11a74e0e91bae1",
|
"TemplateRUID": "93a3334d007949658766225bb6363c4b",
|
||||||
"Type": 1,
|
"Type": 1,
|
||||||
"WebUrl": "",
|
"WebUrl": "eab37efa7f0d400f94259a2df836eb8a",
|
||||||
"Enable": true
|
"Enable": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -5,12 +5,14 @@ const FILE = 'ui/DefaultGroup.ui';
|
|||||||
// ---- card data ----
|
// ---- card data ----
|
||||||
const ATTACK = { r: 0.86, g: 0.42, b: 0.38, a: 1.0 };
|
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 };
|
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 = [
|
const cards = [
|
||||||
{ name: '타격', cost: '1', desc: '피해 6', tint: ATTACK },
|
{ name: '타격', cost: '1', desc: '피해 6', tint: ATTACK },
|
||||||
{ 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: '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;
|
const CARD_W = 180, CARD_H = 250, CARD_SPACING = 200;
|
||||||
// AlignmentType enum: Center=0, TopLeft=4, BottomCenter=6 (MSW가 이 값으로 앵커를 결정)
|
// AlignmentType enum: Center=0, TopLeft=4, BottomCenter=6 (MSW가 이 값으로 앵커를 결정)
|
||||||
|
|||||||
2336
ui/DefaultGroup.ui
2336
ui/DefaultGroup.ui
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user