Compare commits

...

10 Commits

Author SHA1 Message Date
tiendat3699 aa6dcfad2c feat: modify for smart ads 2024-07-15 09:25:19 +07:00
tiendat3699 e73cf76c00 chore 2024-07-11 17:08:49 +07:00
tiendat3699 28deead76e chore 2024-07-11 11:27:45 +07:00
tiendat3699 445fb1e578 Merge branch 'feature/mummy-theme-gacha-anim' into develop 2024-07-11 10:35:39 +07:00
tiendat3699 642e0dcfce feat: add sfx mummy 2024-07-11 10:35:04 +07:00
tiendat3699 124949d6a8
Merge pull request #8 from Gadgame/feature/FxSkinMumy
Feat: Update Fx Mumy
2024-07-11 09:20:45 +07:00
tiendat3699 5038ab3e87 Merge branch 'develop' into feature/mummy-theme-gacha-anim 2024-07-11 09:19:08 +07:00
thanhtu2411 02ea3f9c47 Feat: Update Fx Mumy 2024-07-10 18:10:33 +07:00
tiendat3699 c963353967 feat: mummy gacha anim 2024-07-10 17:32:25 +07:00
tiendat3699 8652bed05b chore 2024-07-10 16:18:06 +07:00
145 changed files with 51236 additions and 10847 deletions

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "b330520b-8be6-420e-bdbe-323e24bc0a7b",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "8400c215-1f3d-4fe9-9721-188336793e3a",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,13 @@
lucky chain.png
size: 256,128
format: RGBA8888
filter: Linear,Linear
repeat: none
card1
rotate: false
xy: 4, 4
size: 125, 91
orig: 125, 91
offset: 0, 0
index: -1

View File

@ -0,0 +1,11 @@
{
"ver": "1.0.2",
"importer": "text",
"imported": true,
"uuid": "510bc6d6-9b6c-4526-a524-a3140b63be13",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,261 @@
{
"skeleton": {
"hash": "nfC1KZjSCC/8bI0maFEwpIRVxnI",
"spine": "3.8.99",
"x": -468.5,
"y": -429.5,
"width": 945,
"height": 878,
"images": "",
"audio": "D:/Huy 2D Animation/works/2024/Product/Galaxy Seeker/Reward Animation/lucky chain"
},
"bones": [
{ "name": "root" },
{ "name": "pivot", "parent": "root" },
{ "name": "frame-pivot", "parent": "pivot" },
{ "name": "cards-pivot", "parent": "frame-pivot" },
{ "name": "card1", "parent": "cards-pivot", "x": -259.5, "y": 297.5 },
{ "name": "card2", "parent": "cards-pivot", "x": 267.5, "y": 297.5 },
{ "name": "card3", "parent": "cards-pivot", "x": 267.5, "y": -278.5 },
{ "name": "card4", "parent": "cards-pivot", "x": -259.5, "y": -278.5 },
{ "name": "card5", "parent": "cards-pivot", "x": -259.5, "y": -278.5 }
],
"slots": [
{ "name": "card5", "bone": "card5", "color": "ffffff00", "attachment": "card1" },
{ "name": "card4", "bone": "card4", "attachment": "card1" },
{ "name": "card3", "bone": "card3", "attachment": "card1" },
{ "name": "card2", "bone": "card2", "attachment": "card1" },
{ "name": "card1", "bone": "card1", "attachment": "card1" },
{ "name": "card2-orange", "bone": "card2", "color": "ffffff00", "attachment": "card1" },
{ "name": "card1-glow", "bone": "card1", "color": "ffffff00", "attachment": "card1", "blend": "additive" }
],
"skins": [
{
"name": "default",
"attachments": {
"card1": {
"card1": { "width": 418, "height": 302 }
},
"card1-glow": {
"card1": { "width": 418, "height": 302 }
},
"card2": {
"card1": { "width": 418, "height": 302 }
},
"card2-orange": {
"card1": { "width": 418, "height": 302 }
},
"card3": {
"card1": { "width": 418, "height": 302 }
},
"card4": {
"card1": { "width": 418, "height": 302 }
},
"card5": {
"card1": { "width": 418, "height": 302 }
}
}
}
],
"events": {
"card-appear": {},
"card-claimed": {},
"new-card-spawned": {}
},
"animations": {
"active": {
"slots": {
"card1": {
"color": [
{ "time": 0.2, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "color": "ffffff00" }
]
},
"card1-glow": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.0667, "color": "ffffffff", "curve": "stepped" },
{ "time": 0.2, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "color": "ffffff00" }
]
},
"card2": {
"color": [
{ "color": "dadadaff", "curve": "stepped" },
{ "time": 0.4, "color": "dadadaff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.7, "color": "ffffffff" }
]
},
"card2-orange": {
"color": [
{ "time": 0.7, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.9, "color": "ffffffff" }
]
},
"card3": {
"color": [
{ "color": "989898ff", "curve": "stepped" },
{ "time": 0.6, "color": "989898ff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.7667, "color": "dadadaff" }
]
},
"card4": {
"color": [
{ "color": "797979ff", "curve": "stepped" },
{ "time": 0.6, "color": "797979ff", "curve": 0.25, "c3": 0.75 },
{ "time": 0.7667, "color": "808080ff" }
]
},
"card5": {
"color": [
{ "color": "79797900", "curve": "stepped" },
{ "time": 0.7, "color": "79797900", "curve": 0.25, "c3": 0.75 },
{ "time": 0.8, "color": "797979ff" }
]
}
},
"bones": {
"card1": {
"scale": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.1333, "x": 0.9, "y": 0.95, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "x": 1.2, "y": 1.2 }
]
},
"card2": {
"translate": [
{ "time": 0.4, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5, "x": 12.5, "curve": 0.25, "c3": 0.75 },
{ "time": 0.7, "x": -567.5, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9, "x": -527 }
]
},
"card3": {
"translate": [
{ "time": 0.6, "curve": 0, "c2": 0.79, "c3": 0.75 },
{ "time": 0.7667, "y": 576 }
]
},
"card4": {
"translate": [
{ "time": 0.6, "curve": 0.25, "c3": 0.75 },
{ "time": 0.7667, "x": 527 }
]
},
"card5": {
"scale": [
{ "x": 0.9, "y": 0.9, "curve": "stepped" },
{ "time": 0.7, "x": 0.9, "y": 0.9, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 1.1 }
]
}
},
"events": [
{ "time": 0.4, "name": "card-claimed" },
{ "time": 0.8, "name": "new-card-spawned" }
]
},
"appear": {
"slots": {
"card1": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.5, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.6333, "color": "ffffffff" }
]
},
"card2": {
"color": [
{ "color": "dadada00", "curve": "stepped" },
{ "time": 0.6, "color": "dadada00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.7333, "color": "dadadaff" }
]
},
"card3": {
"color": [
{ "color": "98989800", "curve": "stepped" },
{ "time": 0.7333, "color": "98989800", "curve": 0.25, "c3": 0.75 },
{ "time": 0.8667, "color": "989898ff" }
]
},
"card4": {
"color": [
{ "color": "79797900", "curve": "stepped" },
{ "time": 0.9, "color": "79797900", "curve": 0.25, "c3": 0.75 },
{ "time": 1.0333, "color": "797979ff" }
]
}
},
"bones": {
"card4": {
"scale": [
{ "x": 0.8, "y": 0.8, "curve": "stepped" },
{ "time": 0.9, "x": 0.8, "y": 0.8, "curve": 0.25, "c3": 0.75 },
{ "time": 1.0333, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 1.4 }
]
},
"card3": {
"scale": [
{ "x": 0.8, "y": 0.8, "curve": "stepped" },
{ "time": 0.7333, "x": 0.8, "y": 0.8, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8667, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 1.2333 }
]
},
"card2": {
"scale": [
{ "x": 0.8, "y": 0.8, "curve": "stepped" },
{ "time": 0.6, "x": 0.8, "y": 0.8, "curve": 0.25, "c3": 0.75 },
{ "time": 0.7333, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 1.1 }
]
},
"card1": {
"scale": [
{ "x": 0.8, "y": 0.8, "curve": "stepped" },
{ "time": 0.5, "x": 0.8, "y": 0.8, "curve": 0.25, "c3": 0.75 },
{ "time": 0.6333, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8, "x": 0.95, "y": 0.95, "curve": 0.25, "c3": 0.75 },
{ "time": 1 }
]
},
"frame-pivot": {
"translate": [
{ "y": -100, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2, "y": 50, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4 }
],
"scale": [
{ "x": 0.8, "y": 0.8, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4 }
]
}
},
"events": [
{ "time": 0.6333, "name": "card-appear" }
]
},
"idle": {
"slots": {
"card2": {
"color": [
{ "color": "dadadaff" }
]
},
"card3": {
"color": [
{ "color": "989898ff" }
]
},
"card4": {
"color": [
{ "color": "7a7a7aff" }
]
}
}
}
}
}

View File

@ -0,0 +1,11 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "93f0e39c-9970-438f-9851-30fcf2301342",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "7adbcfa6-2829-4503-8377-87be09c66237",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "7adbcfa6-2829-4503-8377-87be09c66237@6c48a",
"displayName": "lucky chain",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "7adbcfa6-2829-4503-8377-87be09c66237",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "7adbcfa6-2829-4503-8377-87be09c66237@f9941",
"displayName": "lucky chain",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -61.5,
"offsetY": 14.5,
"trimX": 4,
"trimY": 4,
"width": 125,
"height": 91,
"rawWidth": 256,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-62.5,
-45.5,
0,
62.5,
-45.5,
0,
-62.5,
45.5,
0,
62.5,
45.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
4,
124,
129,
124,
4,
33,
129,
33
],
"nuv": [
0.015625,
0.2578125,
0.50390625,
0.2578125,
0.015625,
0.96875,
0.50390625,
0.96875
],
"minPos": [
-62.5,
-45.5,
0
],
"maxPos": [
62.5,
45.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "7adbcfa6-2829-4503-8377-87be09c66237@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "7adbcfa6-2829-4503-8377-87be09c66237@f9941"
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "9c1bd3bc-7707-404f-a13e-d5cb5758a487",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,41 @@
lucky-chest.png
size: 1024,512
format: RGBA8888
filter: Linear,Linear
repeat: none
chest-lid
rotate: true
xy: 527, 245
size: 252, 146
orig: 252, 146
offset: 0, 0
index: -1
glitter-vfx
rotate: true
xy: 4, 177
size: 320, 317
orig: 339, 323
offset: 6, 0
index: -1
lower-chest
rotate: false
xy: 330, 23
size: 250, 199
orig: 250, 199
offset: 0, 0
index: -1
orange-glow1
rotate: false
xy: 4, 4
size: 322, 169
orig: 337, 178
offset: 8, 2
index: -1
orange-glow2
rotate: true
xy: 325, 226
size: 271, 198
orig: 285, 216
offset: 7, 9
index: -1

View File

@ -0,0 +1,11 @@
{
"ver": "1.0.2",
"importer": "text",
"imported": true,
"uuid": "20406dcb-76c5-456d-985f-6b846434592b",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,254 @@
{
"skeleton": {
"hash": "qiX/QYlvVS8CwH3S40D17e+EzoU",
"spine": "3.8.99",
"x": -349.97,
"y": -127,
"width": 735.67,
"height": 691.34,
"images": "",
"audio": "D:/Huy 2D Animation/works/2024/Product/Galaxy Seeker/Reward Animation/lucky-chest"
},
"bones": [
{ "name": "root" },
{ "name": "pivot", "parent": "root" },
{ "name": "lower-chest", "parent": "pivot", "length": 165.62, "rotation": 90, "x": 25, "y": -60 },
{ "name": "chest-lid", "parent": "lower-chest", "length": 155.21, "x": 180, "y": 35 },
{ "name": "chest-lid2", "parent": "lower-chest", "length": 425.29, "rotation": -79.62, "x": 284.38, "y": 326.62 },
{ "name": "chest-lid3", "parent": "chest-lid2", "length": 177.55, "rotation": 85.02, "x": 79.17, "y": 23.44 },
{ "name": "glitter-vfx", "parent": "pivot", "x": 25, "y": 140 },
{ "name": "chest-vfx", "parent": "lower-chest", "x": 201.94, "y": 21.9 },
{ "name": "gift", "parent": "lower-chest", "x": 198.3, "y": 30.03 }
],
"slots": [
{ "name": "lower-chest", "bone": "lower-chest", "attachment": "lower-chest" },
{ "name": "glitter-vfx", "bone": "glitter-vfx", "color": "ffffff00", "attachment": "glitter-vfx", "blend": "additive" },
{ "name": "orange-glow1", "bone": "chest-vfx", "color": "ffffff00", "attachment": "orange-glow1", "blend": "screen" },
{ "name": "orange-glow2", "bone": "chest-vfx", "color": "ffffff00", "attachment": "orange-glow2", "blend": "screen" },
{ "name": "chest-lid", "bone": "chest-lid", "attachment": "chest-lid" }
],
"skins": [
{
"name": "default",
"attachments": {
"chest-lid": {
"chest-lid": { "x": 97.2, "y": -10, "rotation": -90, "width": 504, "height": 291 }
},
"glitter-vfx": {
"glitter-vfx": { "x": 22.2, "y": 101.34, "width": 677, "height": 646 }
},
"lower-chest": {
"lower-chest": { "x": 132, "y": 25, "rotation": -90, "width": 500, "height": 398 }
},
"orange-glow1": {
"orange-glow1": { "x": 50.44, "y": 16.07, "rotation": -90, "width": 674, "height": 355 }
},
"orange-glow2": {
"orange-glow2": { "x": 40.47, "y": 3.03, "rotation": -90, "width": 569, "height": 431 }
}
}
}
],
"events": {
"open": {}
},
"animations": {
"appear": {
"slots": {
"chest-lid": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.1333, "color": "ffffffff" }
]
},
"lower-chest": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.1333, "color": "ffffffff" }
]
}
},
"bones": {
"pivot": {
"scale": [
{ "x": 0.7, "y": 0.7, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2667, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5 }
]
}
}
},
"idle": {
"bones": {
"pivot": {
"scale": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "x": 1.02, "y": 1.02, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8 }
]
},
"chest-lid": {
"translate": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.2667, "x": 4.89, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5333, "x": -7.33, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8 }
]
}
}
},
"open": {
"slots": {
"chest-lid": {
"color": [
{ "time": 0.6667, "color": "ffffffff", "curve": "stepped" },
{ "time": 0.7333, "color": "ffffff00" }
]
},
"glitter-vfx": {
"color": [
{ "time": 0.7, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.7667, "color": "ffffffff", "curve": "stepped" },
{ "time": 0.9, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 1.3, "color": "ffffff00" }
]
},
"orange-glow1": {
"color": [
{ "time": 0.6667, "color": "ffffff00", "curve": 0, "c2": 0.35, "c3": 0.75 },
{ "time": 0.9, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 2, "color": "ffffff00" }
]
},
"orange-glow2": {
"color": [
{ "time": 0.6667, "color": "ffffff00", "curve": 0, "c2": 0.35, "c3": 0.75 },
{ "time": 0.9, "color": "ffffffff", "curve": 0.25, "c3": 0.75 },
{ "time": 2, "color": "ffffff00" }
]
}
},
"bones": {
"pivot": {
"rotate": [
{ "time": 0.7, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8333, "angle": 2.85, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9667, "angle": -1.62, "curve": 0.25, "c3": 0.75 },
{ "time": 1.1, "angle": 1.81, "curve": 0.25, "c3": 0.75 },
{ "time": 1.2667 }
],
"translate": [
{ "time": 0.7, "curve": 0.25, "c3": 0.75 },
{ "time": 0.7667, "y": 46.56, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8333, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9667, "y": 6.65, "curve": 0.25, "c3": 0.75 },
{ "time": 1.0667, "curve": 0.25, "c3": 0.75 },
{ "time": 1.1667, "y": 2.22, "curve": 0.25, "c3": 0.75 },
{ "time": 1.3 }
],
"scale": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.7, "x": 0.9, "y": 0.9, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 1 }
]
},
"lower-chest": {
"translate": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.1, "x": -2.42, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2, "x": 12.33, "y": -7.37, "curve": 0.25, "c3": 0.75 },
{ "time": 0.3, "x": 4.81, "y": 0.14, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "x": 8.82, "y": 2.81, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5, "x": 3.37, "y": 1.45, "curve": 0.25, "c3": 0.75 },
{ "time": 0.6, "x": 7.52, "y": -4.08, "curve": 0.25, "c3": 0.75 },
{ "time": 0.7, "x": 10.31, "y": 1.49, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8 }
]
},
"chest-lid": {
"translate": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.1, "x": -5.48, "y": -7.31, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2, "x": -9.2, "y": 3.82, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2667, "x": -3.56, "y": 13.21, "curve": 0.25, "c3": 0.75 },
{ "time": 0.3333, "x": -5.46, "y": 3.7, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "x": -11.25, "y": -2.09, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4667, "x": -9.3, "y": 3.77, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5333, "x": -3.36, "y": -2.16, "curve": 0.25, "c3": 0.75 },
{ "time": 0.6, "x": -9.36, "y": 1.84, "curve": 0.25, "c3": 0.75 },
{ "time": 0.6667, "x": -31.49, "y": 5.86, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8 }
]
},
"chest-lid2": {
"rotate": [
{ "time": 0.6667, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8, "angle": 4.28, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9333, "angle": -7.73, "curve": 0.25, "c3": 0.75 },
{ "time": 1.1 }
],
"translate": [
{ "time": 0.6667, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8333, "x": -3.91, "y": 3.78, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9667, "x": 4.44, "y": 14.77, "curve": 0.25, "c3": 0.75 },
{ "time": 1.1333 }
],
"scale": [
{ "time": 0.6667, "curve": 0.25, "c3": 0.75 },
{ "time": 0.7667, "x": 0.984, "y": 1.127, "curve": 0.25, "c3": 0.75 },
{ "time": 1 }
],
"shear": [
{ "time": 0.6667, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8, "x": -2.21, "y": 4.37, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9333, "x": 2.3, "y": 2.71, "curve": 0.25, "c3": 0.75 },
{ "time": 1.1 }
]
},
"chest-lid3": {
"scale": [
{ "time": 0.7, "curve": 0.25, "c3": 0.75 },
{ "time": 0.7667, "x": 0.817, "y": 0.721, "curve": 0.25, "c3": 0.75 },
{ "time": 1 }
],
"shear": [
{ "time": 0.7, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8, "x": 7.69, "y": -14.24, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9333, "x": -6.27, "y": 5.08, "curve": 0.25, "c3": 0.75 },
{ "time": 1.1 }
]
},
"glitter-vfx": {
"rotate": [
{ "time": 0.6333, "curve": 0.25, "c3": 0.75 },
{ "time": 1.4, "angle": -67.1, "curve": "stepped" },
{ "time": 1.5, "angle": -67.1, "curve": 0.25, "c3": 0.75 },
{ "time": 1.6333 }
],
"translate": [
{ "x": 22.9, "y": 24.3 }
],
"scale": [
{ "x": 0.5, "y": 0.5, "curve": "stepped" },
{ "time": 0.7, "x": 0.5, "y": 0.5, "curve": 0, "c2": 0.89, "c3": 0.75 },
{ "time": 1.3, "x": 1.757, "y": 1.757 }
]
},
"gift": {
"translate": [
{ "time": 0.7, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9, "x": 72.4 }
],
"scale": [
{ "time": 0.7, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9, "x": 1.3, "y": 1.3 }
]
}
},
"events": [
{ "time": 0.8, "name": "open" }
]
}
}
}

View File

@ -0,0 +1,11 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "e78c457b-6261-46d8-aa65-3e57eec9f957",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "98fd7e0a-bd86-4980-8c88-ae0d26e6e3bf",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "98fd7e0a-bd86-4980-8c88-ae0d26e6e3bf@6c48a",
"displayName": "lucky-chest",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "98fd7e0a-bd86-4980-8c88-ae0d26e6e3bf",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "98fd7e0a-bd86-4980-8c88-ae0d26e6e3bf@f9941",
"displayName": "lucky-chest",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -173.5,
"offsetY": 5.5,
"trimX": 4,
"trimY": 4,
"width": 669,
"height": 493,
"rawWidth": 1024,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-334.5,
-246.5,
0,
334.5,
-246.5,
0,
-334.5,
246.5,
0,
334.5,
246.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
4,
508,
673,
508,
4,
15,
673,
15
],
"nuv": [
0.00390625,
0.029296875,
0.6572265625,
0.029296875,
0.00390625,
0.9921875,
0.6572265625,
0.9921875
],
"minPos": [
-334.5,
-246.5,
0
],
"maxPos": [
334.5,
246.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "98fd7e0a-bd86-4980-8c88-ae0d26e6e3bf@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "98fd7e0a-bd86-4980-8c88-ae0d26e6e3bf@f9941"
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "12b5ded4-b16d-42fc-9c29-abcc00933033",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "ae013165-2a49-46cb-a7f4-af4e251970c2",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ae013165-2a49-46cb-a7f4-af4e251970c2@6c48a",
"displayName": "Arrow",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ae013165-2a49-46cb-a7f4-af4e251970c2",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ae013165-2a49-46cb-a7f4-af4e251970c2@f9941",
"displayName": "Arrow",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 141,
"height": 261,
"rawWidth": 141,
"rawHeight": 261,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-70.5,
-130.5,
0,
70.5,
-130.5,
0,
-70.5,
130.5,
0,
70.5,
130.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
261,
141,
261,
0,
0,
141,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-70.5,
-130.5,
0
],
"maxPos": [
70.5,
130.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ae013165-2a49-46cb-a7f4-af4e251970c2@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ae013165-2a49-46cb-a7f4-af4e251970c2@f9941"
}
}

View File

@ -0,0 +1,41 @@
lucky-spin.png
size: 1024,1024
format: RGBA8888
filter: Linear,Linear
repeat: none
arrow
rotate: true
xy: 4, 860
size: 71, 131
orig: 71, 131
offset: 0, 0
index: -1
base
rotate: false
xy: 4, 4
size: 464, 464
orig: 464, 464
offset: 0, 0
index: -1
center
rotate: false
xy: 139, 833
size: 98, 98
orig: 98, 98
offset: 0, 0
index: -1
frame
rotate: true
xy: 241, 472
size: 459, 478
orig: 459, 478
offset: 0, 0
index: -1
wheel
rotate: false
xy: 472, 4
size: 464, 464
orig: 464, 464
offset: 0, 0
index: -1

View File

@ -0,0 +1,11 @@
{
"ver": "1.0.2",
"importer": "text",
"imported": true,
"uuid": "eca76b62-8704-46e1-9c31-a95827ac388f",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,127 @@
{
"skeleton": {
"hash": "d4/h6q3eQA6UQ6Ame+jKSPhdCh8",
"spine": "3.8.99",
"x": -464,
"y": -502.43,
"width": 928,
"height": 966.43,
"images": "",
"audio": "D:/Huy 2D Animation/works/2024/Product/Galaxy Seeker/Reward Animation/lucky-spin"
},
"bones": [
{ "name": "root" },
{ "name": "pivot", "parent": "root" },
{ "name": "wheel", "parent": "pivot", "length": 415.93 },
{ "name": "spin-button", "parent": "pivot" },
{ "name": "slot01", "parent": "wheel", "length": 80, "rotation": -75, "x": 311.72, "y": 121.65 },
{ "name": "slot02", "parent": "wheel", "length": 80, "rotation": -30, "x": 134.4, "y": 306.44 },
{ "name": "slot03", "parent": "wheel", "length": 80, "rotation": 15, "x": -121.65, "y": 311.72 },
{ "name": "slot04", "parent": "wheel", "length": 80, "rotation": 60, "x": -306.44, "y": 134.4 },
{ "name": "slot05", "parent": "wheel", "length": 80, "rotation": 105, "x": -311.72, "y": -121.65 },
{ "name": "slot06", "parent": "wheel", "length": 80, "rotation": 150, "x": -134.4, "y": -306.44 },
{ "name": "slot07", "parent": "wheel", "length": 80, "rotation": -165, "x": 121.65, "y": -311.72 },
{ "name": "slot08", "parent": "wheel", "length": 80, "rotation": -120, "x": 306.44, "y": -134.4 }
],
"slots": [
{ "name": "wheel", "bone": "wheel", "attachment": "wheel" },
{ "name": "base", "bone": "pivot", "attachment": "base" },
{ "name": "center", "bone": "spin-button", "attachment": "center" },
{ "name": "arrow", "bone": "pivot", "attachment": "arrow" },
{ "name": "frame", "bone": "pivot", "attachment": "frame" }
],
"skins": [
{
"name": "default",
"attachments": {
"arrow": {
"arrow": { "y": -371.93, "width": 141, "height": 261 }
},
"base": {
"base": { "width": 928, "height": 928 }
},
"center": {
"center": { "width": 196, "height": 196 }
},
"frame": {
"frame": { "y": -15, "width": 918, "height": 956 }
},
"wheel": {
"wheel": { "width": 928, "height": 928 }
}
}
}
],
"animations": {
"appear": {
"slots": {
"arrow": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.1667, "color": "ffffffff" }
]
},
"base": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.1667, "color": "ffffffff" }
]
},
"center": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.1667, "color": "ffffffff" }
]
},
"frame": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.1667, "color": "ffffffff" }
]
},
"wheel": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.1667, "color": "ffffffff" }
]
}
},
"bones": {
"pivot": {
"scale": [
{ "x": 0.8, "y": 0.8, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2667, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5333 }
]
}
}
},
"idle": {
"bones": {
"wheel": {
"rotate": [
{},
{ "time": 3.3333, "angle": 90 },
{ "time": 6.6667, "angle": 180 },
{ "time": 10, "angle": -90 },
{ "time": 13.3333 }
]
}
}
},
"spin": {
"bones": {
"wheel": {
"rotate": [
{},
{ "time": 0.1333, "angle": -90 },
{ "time": 0.2667, "angle": 180 },
{ "time": 0.4, "angle": 90 },
{ "time": 0.5333 }
]
}
}
},
"stop": {}
}
}

View File

@ -0,0 +1,11 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "ac5eecbb-fe72-4cb1-8552-13bc257cb7f4",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "68a7ede0-ba46-4b2c-a4ab-a1950b9779c2",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "68a7ede0-ba46-4b2c-a4ab-a1950b9779c2@6c48a",
"displayName": "lucky-spin",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "68a7ede0-ba46-4b2c-a4ab-a1950b9779c2",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "68a7ede0-ba46-4b2c-a4ab-a1950b9779c2@f9941",
"displayName": "lucky-spin",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -42,
"offsetY": 44.5,
"trimX": 4,
"trimY": 4,
"width": 932,
"height": 927,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-466,
-463.5,
0,
466,
-463.5,
0,
-466,
463.5,
0,
466,
463.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
4,
1020,
936,
1020,
4,
93,
936,
93
],
"nuv": [
0.00390625,
0.0908203125,
0.9140625,
0.0908203125,
0.00390625,
0.99609375,
0.9140625,
0.99609375
],
"minPos": [
-466,
-463.5,
0
],
"maxPos": [
466,
463.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "68a7ede0-ba46-4b2c-a4ab-a1950b9779c2@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "68a7ede0-ba46-4b2c-a4ab-a1950b9779c2@f9941"
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "d6da9b93-0183-4ab4-a9a2-4dcc0175ff0a",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,20 @@
random-flip-card.png
size: 1024,1024
format: RGBA8888
filter: Linear,Linear
repeat: none
back
rotate: false
xy: 4, 4
size: 408, 664
orig: 408, 664
offset: 0, 0
index: -1
front
rotate: false
xy: 416, 4
size: 408, 664
orig: 408, 664
offset: 0, 0
index: -1

View File

@ -0,0 +1,11 @@
{
"ver": "1.0.2",
"importer": "text",
"imported": true,
"uuid": "78838199-ecce-4447-a9eb-3e7f8cfa66e2",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,185 @@
{
"skeleton": {
"hash": "vtmCZHOWS69sS/OIgK3ZPfkmdak",
"spine": "3.8.99",
"x": -454,
"y": -82,
"width": 908,
"height": 664,
"images": "",
"audio": ""
},
"bones": [
{ "name": "root" },
{ "name": "card1", "parent": "root", "x": -250, "y": 250 },
{ "name": "card2", "parent": "root", "x": 250, "y": 250 },
{ "name": "card1-flip", "parent": "card1" },
{ "name": "card2-flip", "parent": "card2" }
],
"slots": [
{ "name": "front1", "bone": "card1-flip", "color": "ffffff00", "attachment": "front" },
{ "name": "front2", "bone": "card2-flip", "color": "ffffff00", "attachment": "front" },
{ "name": "back1", "bone": "card1-flip", "attachment": "back" },
{ "name": "back2", "bone": "card2-flip", "attachment": "back" }
],
"skins": [
{
"name": "default",
"attachments": {
"back1": {
"back": { "width": 408, "height": 664 }
},
"back2": {
"back": { "width": 408, "height": 664 }
},
"front1": {
"front": { "width": 408, "height": 664 }
},
"front2": {
"front": { "width": 408, "height": 664 }
}
}
}
],
"events": {
"card1-active": {},
"card2-active": {},
"card3-active": {},
"card4-active": {}
},
"animations": {
"appear": {
"slots": {
"back1": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.1333, "color": "ffffffff" }
]
},
"back2": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.1667, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.3, "color": "ffffffff" }
]
},
"front2": {
"color": [
{ "time": 0.8, "color": "ffffff00" }
]
}
},
"bones": {
"card1": {
"translate": [
{ "y": -200.13, "curve": 0.25, "c3": 0.75 },
{ "time": 0.1667, "y": 77.24, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2667, "y": -17.55, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4 }
],
"scale": [
{ "x": 0.5, "y": 0.5, "curve": 0.25, "c3": 0.75 },
{ "time": 0.1, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 0.3 }
]
},
"card2": {
"translate": [
{ "y": -200.13, "curve": "stepped" },
{ "time": 0.1667, "y": -200.13, "curve": 0.25, "c3": 0.75 },
{ "time": 0.3333, "y": 77.24, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4333, "y": -17.55, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5667 }
],
"scale": [
{ "x": 0.5, "y": 0.5, "curve": "stepped" },
{ "time": 0.1667, "x": 0.5, "y": 0.5, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2667, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4667 }
]
}
}
},
"card1-active": {
"slots": {
"back1": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.1333, "color": "ffffff00" }
]
},
"front1": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.1333, "color": "ffffffff" }
]
}
},
"bones": {
"card1": {
"scale": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.0667, "x": 0.9, "y": 0.9, "curve": 0.25, "c3": 0.75 },
{ "time": 0.1667, "x": 1.152, "y": 1.152, "curve": 0.25, "c3": 0.75 },
{ "time": 0.3 }
]
},
"card1-flip": {
"scale": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.1333, "x": 0, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2667 }
]
}
},
"events": [
{ "time": 0.1, "name": "card1-active" }
]
},
"card2-active": {
"slots": {
"back2": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.1333, "color": "ffffff00" }
]
},
"front2": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.1333, "color": "ffffffff" }
]
}
},
"bones": {
"card2": {
"scale": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.0667, "x": 0.9, "y": 0.9, "curve": 0.25, "c3": 0.75 },
{ "time": 0.1667, "x": 1.152, "y": 1.152, "curve": 0.25, "c3": 0.75 },
{ "time": 0.3 }
]
},
"card2-flip": {
"scale": [
{ "curve": 0.25, "c3": 0.75 },
{ "time": 0.1333, "x": 0, "curve": 0.25, "c3": 0.75 },
{ "time": 0.2667 }
]
}
},
"events": [
{ "time": 0.1, "name": "card2-active" }
]
},
"idle": {
"slots": {
"front2": {
"color": [
{ "time": 0.0667, "color": "ffffff00" }
]
}
}
}
}
}

View File

@ -0,0 +1,11 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "b4b0064e-446b-433e-85bb-34bf1fa48fcc",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "3c5868ff-f1a8-48f9-ab1c-461e6be48bd2",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "3c5868ff-f1a8-48f9-ab1c-461e6be48bd2@6c48a",
"displayName": "random-flip-card",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "3c5868ff-f1a8-48f9-ab1c-461e6be48bd2",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "3c5868ff-f1a8-48f9-ab1c-461e6be48bd2@f9941",
"displayName": "random-flip-card",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -98,
"offsetY": 176,
"trimX": 4,
"trimY": 4,
"width": 820,
"height": 664,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-410,
-332,
0,
410,
-332,
0,
-410,
332,
0,
410,
332,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
4,
1020,
824,
1020,
4,
356,
824,
356
],
"nuv": [
0.00390625,
0.34765625,
0.8046875,
0.34765625,
0.00390625,
0.99609375,
0.8046875,
0.99609375
],
"minPos": [
-410,
-332,
0
],
"maxPos": [
410,
332,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "3c5868ff-f1a8-48f9-ab1c-461e6be48bd2@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "3c5868ff-f1a8-48f9-ab1c-461e6be48bd2@f9941"
}
}

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"ver": "1.0.1",
"importer": "ttf-font",
"imported": true,
"uuid": "30fcee10-f8fd-48a2-a9f4-bfb449dd9485",
"files": [
".json",
"Icone W01 65 Bold.ttf"
],
"subMetas": {},
"userData": {}
}

View File

@ -25,17 +25,17 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 44 "__id__": 56
}, },
{ {
"__id__": 46 "__id__": 58
}, },
{ {
"__id__": 48 "__id__": 60
} }
], ],
"_prefab": { "_prefab": {
"__id__": 50 "__id__": 62
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -85,23 +85,23 @@
"__id__": 17 "__id__": 17
}, },
{ {
"__id__": 25 "__id__": 31
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 45
}, },
{ {
"__id__": 35 "__id__": 47
}, },
{ {
"__id__": 41 "__id__": 53
} }
], ],
"_prefab": { "_prefab": {
"__id__": 43 "__id__": 55
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -490,21 +490,25 @@
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
}, },
"_children": [], "_children": [
{
"__id__": 18
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 18 "__id__": 24
}, },
{ {
"__id__": 20 "__id__": 26
}, },
{ {
"__id__": 22 "__id__": 28
} }
], ],
"_prefab": { "_prefab": {
"__id__": 24 "__id__": 30
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -535,6 +539,168 @@
}, },
"_id": "" "_id": ""
}, },
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
},
{
"__id__": 21
}
],
"_prefab": {
"__id__": 23
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "81asytc6xIyr209jBvHZWv"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 22
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "x100",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 60,
"_fontSize": 60,
"_fontFamily": "Arial",
"_lineHeight": 60,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "4eb60b5b-72b8-497c-b499-d7921c9b84db",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "58YOFBxVpMBpFEAYt2y/Ja"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "71T2oJlkNDW70+JmfHnm2Z",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
@ -545,7 +711,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 19 "__id__": 25
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -573,7 +739,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 21 "__id__": 27
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -615,7 +781,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 23 "__id__": 29
}, },
"_id": "" "_id": ""
}, },
@ -644,21 +810,25 @@
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
}, },
"_children": [], "_children": [
{
"__id__": 32
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 26 "__id__": 38
}, },
{ {
"__id__": 28 "__id__": 40
}, },
{ {
"__id__": 30 "__id__": 42
} }
], ],
"_prefab": { "_prefab": {
"__id__": 32 "__id__": 44
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -689,17 +859,179 @@
}, },
"_id": "" "_id": ""
}, },
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 33
},
{
"__id__": 35
}
],
"_prefab": {
"__id__": 37
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 25 "__id__": 32
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 27 "__id__": 34
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5eoeNXjvFOPYXSMrTfRQ9o"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 32
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "x100",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 60,
"_fontSize": 60,
"_fontFamily": "Arial",
"_lineHeight": 60,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "4eb60b5b-72b8-497c-b499-d7921c9b84db",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f6Zruw65JO5Z34y8RBL9QQ"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "aflkjd9wJCcZl2dqmv9B8g",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
},
"_enabled": true,
"__prefab": {
"__id__": 39
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -723,11 +1055,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 25 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 29 "__id__": 41
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -765,11 +1097,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 25 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 43
}, },
"_id": "" "_id": ""
}, },
@ -800,7 +1132,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 34 "__id__": 46
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -828,7 +1160,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 36 "__id__": 48
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -852,16 +1184,16 @@
"_cacheMode": 0, "_cacheMode": 0,
"_sockets": [ "_sockets": [
{ {
"__id__": 37 "__id__": 49
}, },
{ {
"__id__": 38 "__id__": 50
}, },
{ {
"__id__": 39 "__id__": 51
}, },
{ {
"__id__": 40 "__id__": 52
} }
], ],
"_useTint": false, "_useTint": false,
@ -901,7 +1233,7 @@
"__type__": "sp.Skeleton.SpineSocket", "__type__": "sp.Skeleton.SpineSocket",
"path": "root/card2/card2-flip", "path": "root/card2/card2-flip",
"target": { "target": {
"__id__": 25 "__id__": 31
} }
}, },
{ {
@ -914,7 +1246,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 42 "__id__": 54
}, },
"ignoreTimeScale": true, "ignoreTimeScale": true,
"_id": "" "_id": ""
@ -946,7 +1278,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 45 "__id__": 57
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -974,10 +1306,10 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 47 "__id__": 59
}, },
"skeleton": { "skeleton": {
"__id__": 35 "__id__": 47
}, },
"_flipX": false, "_flipX": false,
"_flipY": false, "_flipY": false,
@ -997,20 +1329,20 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 49 "__id__": 61
}, },
"animationHandler": { "animationHandler": {
"__id__": 46 "__id__": 58
}, },
"spineRoot": { "spineRoot": {
"__id__": 2 "__id__": 2
}, },
"cards": [ "cards": [
{ {
"__id__": 20 "__id__": 26
}, },
{ {
"__id__": 28 "__id__": 40
} }
], ],
"showSfx": { "showSfx": {
@ -1040,7 +1372,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "244TXoUqdKA4qqvhPODAbd", "fileId": "244TXoUqdKA4qqvhPODAbd",
"instance": null,
"targetOverrides": [] "targetOverrides": []
} }
] ]

View File

@ -898,13 +898,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 72, "width": 77.75700934579439,
"height": 80.33229702970294 "height": 80
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.52
}, },
"_id": "" "_id": ""
}, },
@ -935,7 +935,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "529dfc95-199f-47e5-b1c3-480ce84797df@f9941", "__uuid__": "40ab076b-cfad-4474-8a5e-6c21fbc15e66@f9941",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@ -966,8 +966,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "90kGo41etGuZGVdRbBtRfz", "fileId": "90kGo41etGuZGVdRbBtRfz",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {

View File

@ -25,17 +25,17 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 44 "__id__": 56
}, },
{ {
"__id__": 46 "__id__": 58
}, },
{ {
"__id__": 48 "__id__": 60
} }
], ],
"_prefab": { "_prefab": {
"__id__": 50 "__id__": 62
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -85,23 +85,23 @@
"__id__": 17 "__id__": 17
}, },
{ {
"__id__": 25 "__id__": 31
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 45
}, },
{ {
"__id__": 35 "__id__": 47
}, },
{ {
"__id__": 41 "__id__": 53
} }
], ],
"_prefab": { "_prefab": {
"__id__": 43 "__id__": 55
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -490,21 +490,25 @@
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
}, },
"_children": [], "_children": [
{
"__id__": 18
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 18 "__id__": 24
}, },
{ {
"__id__": 20 "__id__": 26
}, },
{ {
"__id__": 22 "__id__": 28
} }
], ],
"_prefab": { "_prefab": {
"__id__": 24 "__id__": 30
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -535,6 +539,168 @@
}, },
"_id": "" "_id": ""
}, },
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
},
{
"__id__": 21
}
],
"_prefab": {
"__id__": 23
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f2ItJoJdJEL6eLXIXOnDKm"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 22
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "x100",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 60,
"_fontSize": 60,
"_fontFamily": "Arial",
"_lineHeight": 60,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "4eb60b5b-72b8-497c-b499-d7921c9b84db",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "850omvmpZIloiMK6U4pGPa"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "fcGsOjXHpMIYCuNmYd+HCa",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
@ -545,7 +711,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 19 "__id__": 25
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -573,7 +739,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 21 "__id__": 27
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -615,7 +781,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 23 "__id__": 29
}, },
"_id": "" "_id": ""
}, },
@ -644,21 +810,25 @@
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
}, },
"_children": [], "_children": [
{
"__id__": 32
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 26 "__id__": 38
}, },
{ {
"__id__": 28 "__id__": 40
}, },
{ {
"__id__": 30 "__id__": 42
} }
], ],
"_prefab": { "_prefab": {
"__id__": 32 "__id__": 44
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -689,17 +859,179 @@
}, },
"_id": "" "_id": ""
}, },
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 33
},
{
"__id__": 35
}
],
"_prefab": {
"__id__": 37
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 25 "__id__": 32
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 27 "__id__": 34
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "14YeiB62BC46tSFvFvLghP"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 32
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "x100",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 60,
"_fontSize": 60,
"_fontFamily": "Arial",
"_lineHeight": 60,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "4eb60b5b-72b8-497c-b499-d7921c9b84db",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bbjghwHxRKTp+Oie9pr3ts"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "e9RLecc8JBBKp7Jv79h5ds",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
},
"_enabled": true,
"__prefab": {
"__id__": 39
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -723,11 +1055,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 25 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 29 "__id__": 41
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -765,11 +1097,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 25 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 43
}, },
"_id": "" "_id": ""
}, },
@ -800,7 +1132,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 34 "__id__": 46
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -828,7 +1160,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 36 "__id__": 48
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -852,16 +1184,16 @@
"_cacheMode": 0, "_cacheMode": 0,
"_sockets": [ "_sockets": [
{ {
"__id__": 37 "__id__": 49
}, },
{ {
"__id__": 38 "__id__": 50
}, },
{ {
"__id__": 39 "__id__": 51
}, },
{ {
"__id__": 40 "__id__": 52
} }
], ],
"_useTint": false, "_useTint": false,
@ -901,7 +1233,7 @@
"__type__": "sp.Skeleton.SpineSocket", "__type__": "sp.Skeleton.SpineSocket",
"path": "root/card2/card2-flip", "path": "root/card2/card2-flip",
"target": { "target": {
"__id__": 25 "__id__": 31
} }
}, },
{ {
@ -914,7 +1246,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 42 "__id__": 54
}, },
"ignoreTimeScale": true, "ignoreTimeScale": true,
"_id": "" "_id": ""
@ -946,7 +1278,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 45 "__id__": 57
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -974,10 +1306,10 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 47 "__id__": 59
}, },
"skeleton": { "skeleton": {
"__id__": 35 "__id__": 47
}, },
"_flipX": false, "_flipX": false,
"_flipY": false, "_flipY": false,
@ -997,20 +1329,20 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 49 "__id__": 61
}, },
"animationHandler": { "animationHandler": {
"__id__": 46 "__id__": 58
}, },
"spineRoot": { "spineRoot": {
"__id__": 2 "__id__": 2
}, },
"cards": [ "cards": [
{ {
"__id__": 20 "__id__": 26
}, },
{ {
"__id__": 28 "__id__": 40
} }
], ],
"_id": "" "_id": ""

View File

@ -0,0 +1 @@
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"18176838-5351-44eb-88c1-a082f1685554","files":[],"subMetas":{},"userData":{}}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "ab8c9345-1c97-4553-9249-60c86bab6690",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Mummy_Flip_Card"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "730ecd39-d0e9-4b07-935e-458dde301d48",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Mummy_Lucky_Chain"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "5b21c218-21fe-4128-8014-cc1c6999fb2a",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Mummy_Lucky_Chest"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "5d0b482e-ab35-45a8-b8e2-79d3763a9fa9",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Mummy_Lucky_Wheel"
}
}

View File

@ -25,26 +25,26 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 68 "__id__": 67
}, },
{ {
"__id__": 70 "__id__": 69
}, },
{ {
"__id__": 72 "__id__": 71
}, },
{ {
"__id__": 74 "__id__": 73
}, },
{ {
"__id__": 76 "__id__": 75
}, },
{ {
"__id__": 78 "__id__": 77
} }
], ],
"_prefab": { "_prefab": {
"__id__": 82 "__id__": 81
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -94,26 +94,26 @@
"__id__": 18 "__id__": 18
}, },
{ {
"__id__": 30 "__id__": 29
}, },
{ {
"__id__": 36 "__id__": 35
}, },
{ {
"__id__": 42 "__id__": 41
}, },
{ {
"__id__": 51 "__id__": 50
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 65 "__id__": 64
} }
], ],
"_prefab": { "_prefab": {
"__id__": 67 "__id__": 66
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -422,18 +422,18 @@
"__id__": 18 "__id__": 18
}, },
"asset": { "asset": {
"__uuid__": "f6a1c4a1-bf0b-40b2-8b18-6443ae8021d0", "__uuid__": "1113be5d-906c-4ea1-8081-f0bfa8596576",
"__expectedType__": "cc.Prefab" "__expectedType__": "cc.Prefab"
}, },
"fileId": "74Oi+ZAplPMoqFJ0+Pm+/N", "fileId": "74Oi+ZAplPMoqFJ0+Pm+/N",
"instance": { "instance": {
"__id__": 20 "__id__": 20
}, },
"targetOverrides": null "targetOverrides": []
}, },
{ {
"__type__": "cc.PrefabInstance", "__type__": "cc.PrefabInstance",
"fileId": "f3T+366JJHpoJ0eNDUBqV4", "fileId": "67UWSLMzBLzqD+t+lZgD/a",
"prefabRootNode": { "prefabRootNode": {
"__id__": 1 "__id__": 1
}, },
@ -446,17 +446,11 @@
{ {
"__id__": 23 "__id__": 23
}, },
{
"__id__": 24
},
{ {
"__id__": 25 "__id__": 25
}, },
{ {
"__id__": 26 "__id__": 27
},
{
"__id__": 28
} }
], ],
"removedComponents": [] "removedComponents": []
@ -469,7 +463,7 @@
"propertyPath": [ "propertyPath": [
"_name" "_name"
], ],
"value": "Trail" "value": "Trail-Mumy"
}, },
{ {
"__type__": "cc.TargetInfo", "__type__": "cc.TargetInfo",
@ -480,7 +474,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 22 "__id__": 24
}, },
"propertyPath": [ "propertyPath": [
"_lpos" "_lpos"
@ -492,10 +486,16 @@
"z": 0 "z": 0
} }
}, },
{
"__type__": "cc.TargetInfo",
"localID": [
"74Oi+ZAplPMoqFJ0+Pm+/N"
]
},
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 22 "__id__": 26
}, },
"propertyPath": [ "propertyPath": [
"_lrot" "_lrot"
@ -508,10 +508,16 @@
"w": 1 "w": 1
} }
}, },
{
"__type__": "cc.TargetInfo",
"localID": [
"74Oi+ZAplPMoqFJ0+Pm+/N"
]
},
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 22 "__id__": 28
}, },
"propertyPath": [ "propertyPath": [
"_euler" "_euler"
@ -523,45 +529,10 @@
"z": 0 "z": 0
} }
}, },
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 27
},
"propertyPath": [
"_trailModule",
"lifeTime",
"constant"
],
"value": 0.15
},
{ {
"__type__": "cc.TargetInfo", "__type__": "cc.TargetInfo",
"localID": [ "localID": [
"46cV34eRFEJo7sL1+RIesi" "74Oi+ZAplPMoqFJ0+Pm+/N"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 29
},
"propertyPath": [
"startColor",
"color"
],
"value": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"f05RqSilRBMJNEaxPJVvrY"
] ]
}, },
{ {
@ -576,14 +547,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 31 "__id__": 30
}, },
{ {
"__id__": 33 "__id__": 32
} }
], ],
"_prefab": { "_prefab": {
"__id__": 35 "__id__": 34
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -620,11 +591,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 30 "__id__": 29
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 32 "__id__": 31
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -648,11 +619,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 30 "__id__": 29
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 34 "__id__": 33
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -696,6 +667,8 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "abz3Mf5VxMEaQoSXBedPx/", "fileId": "abz3Mf5VxMEaQoSXBedPx/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@ -710,14 +683,14 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 37 "__id__": 36
}, },
{ {
"__id__": 39 "__id__": 38
} }
], ],
"_prefab": { "_prefab": {
"__id__": 41 "__id__": 40
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -754,11 +727,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 36 "__id__": 35
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 38 "__id__": 37
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -782,11 +755,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 36 "__id__": 35
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 40 "__id__": 39
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -841,14 +814,14 @@
"__id__": 2 "__id__": 2
}, },
"_prefab": { "_prefab": {
"__id__": 43 "__id__": 42
}, },
"__editorExtras__": {} "__editorExtras__": {}
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 42 "__id__": 41
}, },
"asset": { "asset": {
"__uuid__": "e14fcc1f-f971-42d3-9b4c-b18518610c85", "__uuid__": "e14fcc1f-f971-42d3-9b4c-b18518610c85",
@ -856,7 +829,7 @@
}, },
"fileId": "67xZ2cRkJFAr/RCUJZ4Wsx", "fileId": "67xZ2cRkJFAr/RCUJZ4Wsx",
"instance": { "instance": {
"__id__": 44 "__id__": 43
}, },
"targetOverrides": null "targetOverrides": null
}, },
@ -870,7 +843,10 @@
"mountedComponents": [], "mountedComponents": [],
"propertyOverrides": [ "propertyOverrides": [
{ {
"__id__": 45 "__id__": 44
},
{
"__id__": 46
}, },
{ {
"__id__": 47 "__id__": 47
@ -880,9 +856,6 @@
}, },
{ {
"__id__": 49 "__id__": 49
},
{
"__id__": 50
} }
], ],
"removedComponents": [] "removedComponents": []
@ -890,7 +863,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 46 "__id__": 45
}, },
"propertyPath": [ "propertyPath": [
"_name" "_name"
@ -906,7 +879,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 46 "__id__": 45
}, },
"propertyPath": [ "propertyPath": [
"_lpos" "_lpos"
@ -921,7 +894,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 46 "__id__": 45
}, },
"propertyPath": [ "propertyPath": [
"_lrot" "_lrot"
@ -937,7 +910,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 46 "__id__": 45
}, },
"propertyPath": [ "propertyPath": [
"_euler" "_euler"
@ -952,7 +925,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 46 "__id__": 45
}, },
"propertyPath": [ "propertyPath": [
"_active" "_active"
@ -966,14 +939,14 @@
"__id__": 2 "__id__": 2
}, },
"_prefab": { "_prefab": {
"__id__": 52 "__id__": 51
}, },
"__editorExtras__": {} "__editorExtras__": {}
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
"__id__": 51 "__id__": 50
}, },
"asset": { "asset": {
"__uuid__": "65ac0d84-803c-4033-a26d-d045b44256b2", "__uuid__": "65ac0d84-803c-4033-a26d-d045b44256b2",
@ -981,7 +954,7 @@
}, },
"fileId": "a9ie+TsG9IqLmCtkDUOeNi", "fileId": "a9ie+TsG9IqLmCtkDUOeNi",
"instance": { "instance": {
"__id__": 53 "__id__": 52
}, },
"targetOverrides": null "targetOverrides": null
}, },
@ -995,7 +968,10 @@
"mountedComponents": [], "mountedComponents": [],
"propertyOverrides": [ "propertyOverrides": [
{ {
"__id__": 54 "__id__": 53
},
{
"__id__": 55
}, },
{ {
"__id__": 56 "__id__": 56
@ -1007,7 +983,7 @@
"__id__": 58 "__id__": 58
}, },
{ {
"__id__": 59 "__id__": 60
}, },
{ {
"__id__": 61 "__id__": 61
@ -1017,9 +993,6 @@
}, },
{ {
"__id__": 63 "__id__": 63
},
{
"__id__": 64
} }
], ],
"removedComponents": [] "removedComponents": []
@ -1027,7 +1000,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 55 "__id__": 54
}, },
"propertyPath": [ "propertyPath": [
"_name" "_name"
@ -1043,7 +1016,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 55 "__id__": 54
}, },
"propertyPath": [ "propertyPath": [
"_lpos" "_lpos"
@ -1058,7 +1031,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 55 "__id__": 54
}, },
"propertyPath": [ "propertyPath": [
"_lrot" "_lrot"
@ -1074,7 +1047,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 55 "__id__": 54
}, },
"propertyPath": [ "propertyPath": [
"_euler" "_euler"
@ -1089,7 +1062,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 60 "__id__": 59
}, },
"propertyPath": [ "propertyPath": [
"startColor", "startColor",
@ -1112,7 +1085,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 60 "__id__": 59
}, },
"propertyPath": [ "propertyPath": [
"playOnAwake" "playOnAwake"
@ -1122,7 +1095,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 60 "__id__": 59
}, },
"propertyPath": [ "propertyPath": [
"rateOverTime", "rateOverTime",
@ -1133,7 +1106,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 60 "__id__": 59
}, },
"propertyPath": [ "propertyPath": [
"_prewarm" "_prewarm"
@ -1143,7 +1116,7 @@
{ {
"__type__": "CCPropertyOverrideInfo", "__type__": "CCPropertyOverrideInfo",
"targetInfo": { "targetInfo": {
"__id__": 55 "__id__": 54
}, },
"propertyPath": [ "propertyPath": [
"_active" "_active"
@ -1160,7 +1133,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 66 "__id__": 65
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -1201,7 +1174,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 69 "__id__": 68
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -1229,7 +1202,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 71 "__id__": 70
}, },
"tag": 0, "tag": 0,
"_group": 4, "_group": 4,
@ -1259,7 +1232,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 73 "__id__": 72
}, },
"enabledContactListener": true, "enabledContactListener": true,
"bullet": true, "bullet": true,
@ -1293,34 +1266,34 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 75 "__id__": 74
}, },
"_impactPrefab": { "_impactPrefab": {
"__uuid__": "018b85ed-f07a-4f26-b29c-7c3eb28cc634", "__uuid__": "ec109b3c-535a-4233-9f81-af7033f1dfce",
"__expectedType__": "cc.Prefab" "__expectedType__": "cc.Prefab"
}, },
"_maxSpeed": 60, "_maxSpeed": 60,
"_rigidBody": { "_rigidBody": {
"__id__": 72 "__id__": 71
}, },
"_animation": null, "_animation": null,
"_trail": null, "_trail": null,
"_buffParticle": null, "_buffParticle": null,
"_fireParticle": null, "_fireParticle": null,
"_collider": { "_collider": {
"__id__": 70 "__id__": 69
}, },
"_normalSprite": { "_normalSprite": {
"__id__": 33 "__id__": 32
}, },
"_cheeseModeSprite": { "_cheeseModeSprite": {
"__id__": 39 "__id__": 38
}, },
"_spriteShadow": { "_spriteShadow": {
"__id__": 6 "__id__": 6
}, },
"_impactSound": { "_impactSound": {
"__uuid__": "b122d38e-ecf1-42e2-8b26-c09d306d90d9", "__uuid__": "e1d1d404-721b-4610-b254-432e6ae9853f",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_impactFlipperSound": { "_impactFlipperSound": {
@ -1328,13 +1301,13 @@
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_collectSound": { "_collectSound": {
"__id__": 76 "__id__": 75
}, },
"_cheeseModeCollectSound": { "_cheeseModeCollectSound": {
"__id__": 78 "__id__": 77
}, },
"_jumpCurve": { "_jumpCurve": {
"__id__": 80 "__id__": 79
}, },
"_id": "" "_id": ""
}, },
@ -1352,7 +1325,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 77 "__id__": 76
}, },
"_duration": 1, "_duration": 1,
"_audioClips": [ "_audioClips": [
@ -1425,7 +1398,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 79 "__id__": 78
}, },
"_duration": 1, "_duration": 1,
"_audioClips": [ "_audioClips": [
@ -1491,7 +1464,7 @@
{ {
"__type__": "cc.AnimationCurve", "__type__": "cc.AnimationCurve",
"_curve": { "_curve": {
"__id__": 81 "__id__": 80
} }
}, },
{ {
@ -1567,39 +1540,33 @@
"instance": null, "instance": null,
"targetOverrides": [ "targetOverrides": [
{ {
"__id__": 83 "__id__": 82
}, },
{ {
"__id__": 85 "__id__": 84
}, },
{ {
"__id__": 87 "__id__": 86
}, },
{ {
"__id__": 90 "__id__": 89
},
{
"__id__": 91
}, },
{ {
"__id__": 93 "__id__": 93
}, },
{ {
"__id__": 95 "__id__": 95
},
{
"__id__": 98
},
{
"__id__": 100
},
{
"__id__": 102
} }
], ],
"nestedPrefabInstanceRoots": [ "nestedPrefabInstanceRoots": [
{ {
"__id__": 51 "__id__": 50
}, },
{ {
"__id__": 42 "__id__": 41
}, },
{ {
"__id__": 18 "__id__": 18
@ -1617,10 +1584,10 @@
"_buffParticle" "_buffParticle"
], ],
"target": { "target": {
"__id__": 42 "__id__": 41
}, },
"targetInfo": { "targetInfo": {
"__id__": 84 "__id__": 83
} }
}, },
{ {
@ -1636,11 +1603,9 @@
"propertyPath": [ "propertyPath": [
"_trail" "_trail"
], ],
"target": { "target": null,
"__id__": 18
},
"targetInfo": { "targetInfo": {
"__id__": 86 "__id__": 85
} }
}, },
{ {
@ -1652,20 +1617,20 @@
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 51 "__id__": 50
}, },
"sourceInfo": { "sourceInfo": {
"__id__": 88 "__id__": 87
}, },
"propertyPath": [ "propertyPath": [
"_trailModule", "_trailModule",
"_particleSystem" "_particleSystem"
], ],
"target": { "target": {
"__id__": 51 "__id__": 50
}, },
"targetInfo": { "targetInfo": {
"__id__": 89 "__id__": 88
} }
}, },
{ {
@ -1682,15 +1647,32 @@
}, },
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": null,
"__id__": 18 "sourceInfo": null,
},
"sourceInfo": {
"__id__": 91
},
"propertyPath": [ "propertyPath": [
"_trailModule", "_fireParticle"
"_particleSystem" ],
"target": {
"__id__": 50
},
"targetInfo": {
"__id__": 90
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"ebFxV/KgpERbIDCVfDiEuU"
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 73
},
"sourceInfo": null,
"propertyPath": [
"_trail"
], ],
"target": { "target": {
"__id__": 18 "__id__": 18
@ -1705,99 +1687,20 @@
"46cV34eRFEJo7sL1+RIesi" "46cV34eRFEJo7sL1+RIesi"
] ]
}, },
{
"__type__": "cc.TargetInfo",
"localID": [
"46cV34eRFEJo7sL1+RIesi"
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": null,
"sourceInfo": null,
"propertyPath": [
"_fireParticle"
],
"target": {
"__id__": 51
},
"targetInfo": {
"__id__": 94
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"ebFxV/KgpERbIDCVfDiEuU"
]
},
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 18 "__id__": 73
},
"sourceInfo": {
"__id__": 96
},
"propertyPath": [
"_trailModule",
"_particleSystem"
],
"target": {
"__id__": 18
},
"targetInfo": {
"__id__": 97
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"f05RqSilRBMJNEaxPJVvrY"
]
},
{
"__type__": "cc.TargetInfo",
"localID": [
"f05RqSilRBMJNEaxPJVvrY"
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 74
},
"sourceInfo": null,
"propertyPath": [
"_trail"
],
"target": {
"__id__": 18
},
"targetInfo": {
"__id__": 99
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"46cV34eRFEJo7sL1+RIesi"
]
},
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 74
}, },
"sourceInfo": null, "sourceInfo": null,
"propertyPath": [ "propertyPath": [
"_buffParticle" "_buffParticle"
], ],
"target": { "target": {
"__id__": 42 "__id__": 41
}, },
"targetInfo": { "targetInfo": {
"__id__": 101 "__id__": 94
} }
}, },
{ {
@ -1809,17 +1712,17 @@
{ {
"__type__": "cc.TargetOverrideInfo", "__type__": "cc.TargetOverrideInfo",
"source": { "source": {
"__id__": 74 "__id__": 73
}, },
"sourceInfo": null, "sourceInfo": null,
"propertyPath": [ "propertyPath": [
"_fireParticle" "_fireParticle"
], ],
"target": { "target": {
"__id__": 51 "__id__": 50
}, },
"targetInfo": { "targetInfo": {
"__id__": 103 "__id__": 96
} }
}, },
{ {

View File

@ -1127,7 +1127,7 @@
"__id__": 80 "__id__": 80
}, },
"_collectSound": { "_collectSound": {
"__uuid__": "05a2671e-35bb-4be0-9244-43d541b9a26a", "__uuid__": "ccc44f78-a046-450b-92cc-9b0f20226ea3",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_animation": { "_animation": {
@ -1138,6 +1138,11 @@
}, },
"displayName": "CHEESE", "displayName": "CHEESE",
"duration": 10, "duration": 10,
"speedUpBgm": 1,
"backgroundMusic": {
"__uuid__": "eb6ee605-3994-45dd-8524-4347a23f423f",
"__expectedType__": "cc.AudioClip"
},
"_id": "" "_id": ""
}, },
{ {

View File

@ -25,17 +25,17 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 44 "__id__": 56
}, },
{ {
"__id__": 46 "__id__": 58
}, },
{ {
"__id__": 48 "__id__": 60
} }
], ],
"_prefab": { "_prefab": {
"__id__": 50 "__id__": 62
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -85,23 +85,23 @@
"__id__": 17 "__id__": 17
}, },
{ {
"__id__": 25 "__id__": 31
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 45
}, },
{ {
"__id__": 35 "__id__": 47
}, },
{ {
"__id__": 41 "__id__": 53
} }
], ],
"_prefab": { "_prefab": {
"__id__": 43 "__id__": 55
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -490,21 +490,25 @@
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
}, },
"_children": [], "_children": [
{
"__id__": 18
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 18 "__id__": 24
}, },
{ {
"__id__": 20 "__id__": 26
}, },
{ {
"__id__": 22 "__id__": 28
} }
], ],
"_prefab": { "_prefab": {
"__id__": 24 "__id__": 30
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -535,6 +539,168 @@
}, },
"_id": "" "_id": ""
}, },
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 19
},
{
"__id__": 21
}
],
"_prefab": {
"__id__": 23
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "51Wwl8yX9Mzb7NT8MYKdCu"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 22
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "x100",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 60,
"_fontSize": 60,
"_fontFamily": "Arial",
"_lineHeight": 60,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "48e9a2a6-76e7-4bd7-b5a3-8e90da0095e0",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a49GxujqtMUZQ8xp5EoCDd"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c5dyhH/CVM3ojbk4Uy/Dab",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
@ -545,7 +711,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 19 "__id__": 25
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -573,7 +739,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 21 "__id__": 27
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -615,7 +781,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 23 "__id__": 29
}, },
"_id": "" "_id": ""
}, },
@ -644,21 +810,25 @@
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
}, },
"_children": [], "_children": [
{
"__id__": 32
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 26 "__id__": 38
}, },
{ {
"__id__": 28 "__id__": 40
}, },
{ {
"__id__": 30 "__id__": 42
} }
], ],
"_prefab": { "_prefab": {
"__id__": 32 "__id__": 44
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -689,17 +859,179 @@
}, },
"_id": "" "_id": ""
}, },
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 33
},
{
"__id__": 35
}
],
"_prefab": {
"__id__": 37
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 25 "__id__": 32
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 27 "__id__": 34
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0bhYpoYUtGNKdm7ygumOOP"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 32
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "x100",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 60,
"_fontSize": 60,
"_fontFamily": "Arial",
"_lineHeight": 60,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "48e9a2a6-76e7-4bd7-b5a3-8e90da0095e0",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "02Br3P8MZAUrX6I5KMV0tt"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "229tpTwY1I4YegdSkbN+MN",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
},
"_enabled": true,
"__prefab": {
"__id__": 39
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -723,11 +1055,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 25 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 29 "__id__": 41
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -765,11 +1097,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 25 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 43
}, },
"_id": "" "_id": ""
}, },
@ -800,7 +1132,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 34 "__id__": 46
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -828,7 +1160,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 36 "__id__": 48
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -852,16 +1184,16 @@
"_cacheMode": 0, "_cacheMode": 0,
"_sockets": [ "_sockets": [
{ {
"__id__": 37 "__id__": 49
}, },
{ {
"__id__": 38 "__id__": 50
}, },
{ {
"__id__": 39 "__id__": 51
}, },
{ {
"__id__": 40 "__id__": 52
} }
], ],
"_useTint": false, "_useTint": false,
@ -901,7 +1233,7 @@
"__type__": "sp.Skeleton.SpineSocket", "__type__": "sp.Skeleton.SpineSocket",
"path": "root/card2/card2-flip", "path": "root/card2/card2-flip",
"target": { "target": {
"__id__": 25 "__id__": 31
} }
}, },
{ {
@ -914,7 +1246,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 42 "__id__": 54
}, },
"ignoreTimeScale": true, "ignoreTimeScale": true,
"_id": "" "_id": ""
@ -946,7 +1278,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 45 "__id__": 57
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -974,10 +1306,10 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 47 "__id__": 59
}, },
"skeleton": { "skeleton": {
"__id__": 35 "__id__": 47
}, },
"_flipX": false, "_flipX": false,
"_flipY": false, "_flipY": false,
@ -997,20 +1329,20 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 49 "__id__": 61
}, },
"animationHandler": { "animationHandler": {
"__id__": 46 "__id__": 58
}, },
"spineRoot": { "spineRoot": {
"__id__": 2 "__id__": 2
}, },
"cards": [ "cards": [
{ {
"__id__": 20 "__id__": 26
}, },
{ {
"__id__": 28 "__id__": 40
} }
], ],
"showSfx": { "showSfx": {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,20 @@
import { _decorator, Burst, Component, game, Node, ParticleSystem, ParticleSystemComponent, ParticleUtils } from 'cc';
const { ccclass, property, requireComponent } = _decorator;
@ccclass('ParticleSystemIgnoreTimeScale')
@requireComponent(ParticleSystem)
export default class ParticleSystemIgnoreTimeScale extends Component {
private _particle: ParticleSystem;
protected onLoad(): void {
this._particle = this.getComponent(ParticleSystem);
}
protected update(dt: number): void {
if (game.timeScale != 1) {
//@ts-ignore
this._particle.update(game.deltaTime);
}
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "11737856-c3d8-4571-86cb-c5fab466d354",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -38,6 +38,7 @@ export class CumulativeBooster extends BoosterBase {
public tick(dt: number): void { public tick(dt: number): void {
super.tick(dt); super.tick(dt);
if (!this.backgroundMusic) return;
if (this.duration - this.timer <= 1) { if (this.duration - this.timer <= 1) {
if (AudioManager.bgmVolume < 1) { if (AudioManager.bgmVolume < 1) {
AudioManager.bgmVolume += dt * 2; AudioManager.bgmVolume += dt * 2;

View File

@ -341,7 +341,9 @@ AudioSource.prototype.setPlaybackRate = function (value: number) {
this._playbackRate = value; this._playbackRate = value;
if (this._player) { if (this._player) {
try { try {
this._player._player._sourceNode.playbackRate.value = value; if (this._player._player._sourceNode.playbackRate) {
this._player._player._sourceNode.playbackRate.value = value;
}
} catch (e) {} } catch (e) {}
this._playbackRate = value; this._playbackRate = value;
} else { } else {

View File

@ -1,4 +1,4 @@
import { _decorator, AudioClip, Component, Node, Sprite } from 'cc'; import { _decorator, AudioClip, Component, Label, Node, Sprite } from 'cc';
import GachaBase from '../Base/GachaBase'; import GachaBase from '../Base/GachaBase';
import SpineAnimationHandler from '../Base/SpineAnimationHandler'; import SpineAnimationHandler from '../Base/SpineAnimationHandler';
import AudioManager from '../Manager/AudioManager'; import AudioManager from '../Manager/AudioManager';
@ -68,6 +68,7 @@ export default class FlipCard extends GachaBase {
if (reward) { if (reward) {
AudioManager.playSfx(this.selectCardSfx); AudioManager.playSfx(this.selectCardSfx);
this.cards[+value - 1].spriteFrame = reward.icon; this.cards[+value - 1].spriteFrame = reward.icon;
this.cards[+value - 1].getComponentInChildren(Label).string = 'x' + reward.quantity.toString();
await this.animationHandler.setAnimationAsync(`card${value}-active`, { trackIndex: +value }); await this.animationHandler.setAnimationAsync(`card${value}-active`, { trackIndex: +value });
const pos = this.cards[+value - 1].node.worldPosition.clone(); const pos = this.cards[+value - 1].node.worldPosition.clone();
pos.y += 150; pos.y += 150;

View File

@ -12,10 +12,12 @@ import {
Vec3, Vec3,
} from 'cc'; } from 'cc';
import ControllerSide from '../Enum/ControllerSide'; import ControllerSide from '../Enum/ControllerSide';
import GameState from '../Enum/GameState';
import TimeConfig from '../Enum/TimeConfig'; import TimeConfig from '../Enum/TimeConfig';
import GameEvent from '../Events/GameEvent'; import GameEvent from '../Events/GameEvent';
import AudioManager from '../Manager/AudioManager'; import AudioManager from '../Manager/AudioManager';
import { EventManger } from '../Manager/EventManger'; import { EventManger } from '../Manager/EventManger';
import P4PSDK, { EventType } from '../P4PSDK';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ccclass('Flipper') @ccclass('Flipper')
@ -38,13 +40,14 @@ export class Flipper extends Component {
private _isAnimationPlaying; private _isAnimationPlaying;
protected onLoad(): void { protected onLoad(): void {
input.on(Input.EventType.KEY_DOWN, this.onKeyInputDown, this);
input.on(Input.EventType.KEY_UP, this.onKeyInputUp, this);
EventManger.instance.on(GameEvent.ControlTouchStart, this.onTouchStart, this); EventManger.instance.on(GameEvent.ControlTouchStart, this.onTouchStart, this);
EventManger.instance.on(GameEvent.ControlTouchEnd, this.onTouchEnd, this); EventManger.instance.on(GameEvent.ControlTouchEnd, this.onTouchEnd, this);
EventManger.instance.on(GameEvent.GameStateChange, this.gameStateChange, this);
} }
protected start(): void { protected start(): void {
input.on(Input.EventType.KEY_DOWN, this.onKeyInputDown, this);
input.on(Input.EventType.KEY_UP, this.onKeyInputUp, this);
this._animation.play(); this._animation.play();
} }
@ -56,8 +59,53 @@ export class Flipper extends Component {
} }
} }
private gameStateChange(state: GameState) {
if (state == GameState.Init) {
P4PSDK.broadCast.on(EventType.OnKeyDown, this.onSDKKeyDown, this);
P4PSDK.broadCast.on(EventType.OnKeyUp, this.onSDKKeyUp, this);
}
}
//#region Input Handler //#region Input Handler
private onSDKKeyDown(key: number) {
switch (key) {
case KeyCode.KEY_A:
case KeyCode.ARROW_LEFT:
if (this.side == ControllerSide.Left) this.activeFlipper();
this._timer = 0;
if (this._animation.getState(this._animation.defaultClip.name).isPlaying) {
this._animation.stop();
}
break;
case KeyCode.KEY_D:
case KeyCode.ARROW_RIGHT:
if (this.side == ControllerSide.Right) this.activeFlipper();
this._timer = 0;
if (this._isAnimationPlaying) {
this._animation.stop();
}
break;
default:
break;
}
}
private onSDKKeyUp(key: number) {
switch (key) {
case KeyCode.KEY_A:
case KeyCode.ARROW_LEFT:
if (this.side == ControllerSide.Left) this.deActiveFlipper();
break;
case KeyCode.KEY_D:
case KeyCode.ARROW_RIGHT:
if (this.side == ControllerSide.Right) this.deActiveFlipper();
break;
default:
break;
}
}
private onKeyInputDown(event: EventKeyboard) { private onKeyInputDown(event: EventKeyboard) {
switch (event.keyCode) { switch (event.keyCode) {
case KeyCode.KEY_A: case KeyCode.KEY_A:
@ -116,7 +164,7 @@ export class Flipper extends Component {
//#endregion //#endregion
private activeFlipper(): void { private activeFlipper(): void {
AudioManager.playSfx(this._activeSound, { volume: 0.5 }); // AudioManager.playSfx(this._activeSound, { volume: 0.5 });
this._hingeJoint.motorSpeed = this._motorSpeedActive; this._hingeJoint.motorSpeed = this._motorSpeedActive;
} }
private deActiveFlipper(): void { private deActiveFlipper(): void {

View File

@ -1,6 +1,5 @@
import { _decorator, Collider2D, Component, Contact2DType, Node } from 'cc'; import { _decorator, Collider2D, Component, Contact2DType, Node } from 'cc';
import { GameManager } from '../Manager/GameManager'; import { GameManager } from '../Manager/GameManager';
import ObjectPool from '../Pool/ObjectPool';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ccclass('Outer') @ccclass('Outer')
@ -13,7 +12,7 @@ export class Outer extends Component {
} }
private onBeginContact(selfCollider: Collider2D, otherCollider: Collider2D) { private onBeginContact(selfCollider: Collider2D, otherCollider: Collider2D) {
ObjectPool.release(otherCollider.node); otherCollider.node.releaseToPool();
GameManager.instance.ballOut(); GameManager.instance.ballOut();
} }
} }

View File

@ -12,7 +12,6 @@ import {
Vec2, Vec2,
Vec3, Vec3,
} from 'cc'; } from 'cc';
import { EDITOR, PREVIEW } from 'cc/env';
import Timer, { TimerType } from '../Base/Timer'; import Timer, { TimerType } from '../Base/Timer';
import { BoosterBase } from '../Booster/BoosterBase'; import { BoosterBase } from '../Booster/BoosterBase';
import BoosterType from '../Enum/BoosterType'; import BoosterType from '../Enum/BoosterType';
@ -98,13 +97,13 @@ export class GameManager extends Singleton<GameManager>() {
} }
protected async start(): Promise<void> { protected async start(): Promise<void> {
await P4PSDK.init(this.onBoughtTicket, this); P4PSDK.isUseApi = false;
if (P4PSDK.getGameTime()) { await P4PSDK.init();
this._timePlay = P4PSDK.getGameTime(); if (P4PSDK.gameTime) {
this._timePlay = P4PSDK.gameTime;
} }
P4PSDK.setCallAPI(this._callAPI);
await P4PSDK.authenticate();
this.changeGameState(GameState.Init); this.changeGameState(GameState.Init);
this.Ready();
} }
protected update(dt: number): void { protected update(dt: number): void {
@ -114,8 +113,8 @@ export class GameManager extends Singleton<GameManager>() {
} }
private onBoughtTicket() { private onBoughtTicket() {
this.gameRelive(); // this.gameRelive();
EventManger.instance.emit(GameEvent.TicketUpdate, P4PSDK.getUserTicket()); // EventManger.instance.emit(GameEvent.TicketUpdate, P4PSDK.getUserTicket());
} }
private async changeGameState(state: GameState) { private async changeGameState(state: GameState) {
@ -306,27 +305,29 @@ export class GameManager extends Singleton<GameManager>() {
private _minusTicketLoading = false; private _minusTicketLoading = false;
public async replay(): Promise<void> { public async replay(): Promise<void> {
if (this._minusTicketLoading) return; // if (this._minusTicketLoading) return;
this._minusTicketLoading = true; // this._minusTicketLoading = true;
if (!PREVIEW && !EDITOR) { // if (!PREVIEW && !EDITOR) {
const checkGameScoreTicket = await P4PSDK.checkGameScoreTicket(); // const checkGameScoreTicket = await P4PSDK.checkGameScoreTicket();
if (checkGameScoreTicket) { // if (checkGameScoreTicket) {
const success = await P4PSDK.minusTicket('revive'); // const success = await P4PSDK.minusTicket('revive');
if (success) { // if (success) {
this.gameRelive(); // this.gameRelive();
} else { // } else {
P4PSDK.callPayPalModal(); // P4PSDK.callPayPalModal();
} // }
} else { // } else {
this.gameOver(); // this.gameOver();
} // }
} else { // } else {
this.gameRelive(); // this.gameRelive();
} // }
this._minusTicketLoading = false; // this._minusTicketLoading = false;
} }
public async play() { public async play() {
await P4PSDK.startGame();
const coin = await P4PSDK.getUserCoin();
this._timer.time = this._timePlay; this._timer.time = this._timePlay;
this._score = 0; this._score = 0;
this._currentBallInGame = 0; this._currentBallInGame = 0;
@ -335,8 +336,7 @@ export class GameManager extends Singleton<GameManager>() {
await Utils.delay(TimeConfig.DelayPLay); await Utils.delay(TimeConfig.DelayPLay);
this._timer.startCount(); this._timer.startCount();
this.spawnBall(true); this.spawnBall(true);
await P4PSDK.minusTicket('auth'); EventManger.instance.emit(GameEvent.TicketUpdate, coin);
EventManger.instance.emit(GameEvent.TicketUpdate, P4PSDK.getUserTicket());
} }
public async gameRelive() { public async gameRelive() {

View File

@ -1,48 +1,91 @@
export type postMessageType = 'paypal_modal' | 'game_tournament'; export interface IObject {
[key: string]: any;
}
export type minusTicketType = 'auth' | 'revive'; export interface IUserInfo {
id: string;
displayName: string;
promoCode: string;
isSubscriber: boolean;
avatarLink: string;
}
export interface IParticipationInfo {
id: string;
totalScore: number;
myRank: number;
gameStates: IObject;
}
export interface ILogger {
log(...data: (number | string | boolean | undefined | null)[]): void;
info(...data: (number | string | boolean | undefined | null)[]): void;
warn(...data: (number | string | boolean | undefined | null)[]): void;
error(...data: (number | string | boolean | undefined | null)[]): void;
addBadge(badge: string, style?: { color?: string; backgroundColor?: string }): ILogger;
}
export interface IAnalyticsModule {
logger: ILogger;
}
export interface IDataModule {
getItem<T>(key: string): T | null;
setItem(key: string, value: any): void;
removeItem(key: string): void;
clear(): void;
}
export interface IBroadCast {
emit(eventType: EventType, data?: any): void;
on<K extends keyof EventMap>(eventType: K, listener: EventMap[K], thisArg?: any): void;
off<K extends keyof EventMap>(eventType: K, listener: EventMap[K], thisArg?: any): void;
}
export enum EventType {
OnKeyDown = 'OnKeyDown',
OnKeyUp = 'OnKeyUp',
OnMouse = 'OnMouse',
OnMouseDown = 'OnMouseDown',
OnMouseUp = 'OnMouseUp',
OnGameStart = 'OnGameStart',
OnGameEnd = 'OnGameEnd',
}
export interface EventMap {
[EventType.OnKeyDown]: (key: number) => void;
[EventType.OnKeyUp]: (key: number) => void;
[EventType.OnMouse]: (position: IVector2) => void;
[EventType.OnMouseDown]: (button: number) => void;
[EventType.OnMouseUp]: (button: number) => void;
[EventType.OnGameStart]: () => void;
[EventType.OnGameEnd]: () => void;
}
interface IVector2 {
x: number;
y: number;
}
export interface SDK { export interface SDK {
setCallAPI(value: boolean): void; previousScore: number;
getEnv(): string; currentScore: number;
getUserTicket(): number; totalScore: number;
getTopScore(): number; userRank: number;
getLatestScore(): number; isUseApi: boolean;
getGameScore(): number; tournamentData: IDataModule;
getUserId(): string; userData: IDataModule;
getGameTime(): number | null; gameData: IDataModule;
getTicketNeedToContinue(): number; analytics: IAnalyticsModule;
init(buyTicketCallBack: () => any, thisArg?: any): void; broadCast: IBroadCast;
gameTime: number;
updateScore(score: number): void; updateScore(score: number): void;
authenticate(): Promise<boolean>; init(): Promise<void>;
checkGameScoreTicket(): Promise<boolean>; getUserInfo(): Promise<IUserInfo>;
buyMoreTicket(): void; getLeaderBoard(start: number, count: number): Promise<IParticipationInfo[]>;
postScoreToServer(): void; startGame(): Promise<boolean>;
minusTicket(type: minusTicketType): Promise<boolean>; endGame(): Promise<boolean>;
callPayPalModal(): void; getUserCoin(): Promise<number>;
canRelive(): boolean;
spinGacha(id: string): Promise<Reward>;
getLeaderBoard(): Promise<PlayerInfo[]>;
}
export enum Env {
development,
staging,
production,
}
export interface PlayerInfo {
userId: string;
displayName: string;
score: number;
}
export interface Reward {
id: string;
name: string;
description: string;
quantity: number;
thumbnailLink: string;
} }
enum InitState { enum InitState {
@ -50,54 +93,73 @@ enum InitState {
Initialized, Initialized,
} }
export default class P4PSDK { (window as any).P4P = {
private static _initState: InitState = InitState.UnInitialized; isUseApi: true,
private static _sdk: SDK; };
//#region PUBLIC METHOD class _P4PSDK implements SDK {
private _initState: InitState = InitState.UnInitialized;
private _sdk: SDK;
public static getEnv(): Env { private get sdk() {
return Env[this._sdk?.getEnv() as keyof typeof Env]; if (this._initState !== InitState.Initialized || !this._sdk) {
throw new Error('P4P SDK is not initialized yet. Please call P4PSDK.init() first.');
}
return this._sdk;
} }
public static getUserTicket(): number { public get tournamentData(): IDataModule {
return this._sdk?.getUserTicket(); return this.sdk.tournamentData;
}
public get userData(): IDataModule {
return this.sdk.userData;
}
public get gameData(): IDataModule {
return this.sdk.gameData;
}
public get analytics(): IAnalyticsModule {
return this.sdk.analytics;
}
public get broadCast(): IBroadCast {
return this.sdk.broadCast;
}
public get previousScore(): number {
return this.sdk.previousScore;
}
public get currentScore(): number {
return this.sdk.currentScore;
}
public get totalScore(): number {
return this.sdk.totalScore;
}
public get userRank(): number {
return this.sdk.userRank;
}
public get isUseApi(): boolean {
return this.sdk.isUseApi;
}
public set isUseApi(value: boolean) {
(window as any).P4P.isUseApi = value;
}
public get gameTime(): number {
return this.sdk.gameTime;
} }
public static getTopScore(): number { private async loadSDK(): Promise<void> {
return this._sdk?.getTopScore();
}
public static getLatestScore(): number {
return this._sdk?.getLatestScore();
}
public static getGameScore(): number {
return this._sdk?.getGameScore();
}
public static getUserId(): string {
return this._sdk.getUserId();
}
public static getGameTime(): number | null {
return this._sdk.getGameTime();
}
public static getTicketNeedToContinue(): number {
return this._sdk?.getTicketNeedToContinue();
}
private static async loadSDK(): Promise<void> {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
const tag = document.createElement('script'); const tag = document.createElement('script');
tag.type = 'module'; tag.type = 'module';
tag.src = 'https://firebasestorage.googleapis.com/v0/b/play-now-1aef8.appspot.com/o/SDK%2Fsdk.js?alt=media'; tag.src =
'https://firebasestorage.googleapis.com/v0/b/play-now-1aef8.appspot.com/o/SDKTEST%2Fsdk.js?alt=media';
tag.async = true; tag.async = true;
tag.onload = async () => { tag.onload = async () => {
console.log('P4P SDK loaded'); this._sdk = (globalThis as any).P4P.SDK;
this._sdk = (window as any).P4P.SDK; if (this._sdk) {
resolve(); await this._sdk.init();
resolve();
} else {
reject('P4P SDK is undefined');
}
}; };
tag.onerror = (e) => { tag.onerror = (e) => {
console.error('Failed to load P4PSDK JS. Please check your internet connection.'); console.error('Failed to load P4PSDK JS. Please check your internet connection.');
@ -107,55 +169,39 @@ export default class P4PSDK {
}); });
} }
public static setCallAPI(value: boolean) { public async init(): Promise<void> {
this._sdk?.setCallAPI(value);
}
public static async init(buyTicketCallBack: () => any, thisArg?: any): Promise<void> {
if (this._initState == InitState.Initialized) return; if (this._initState == InitState.Initialized) return;
await this.loadSDK(); await this.loadSDK();
this._sdk.init(buyTicketCallBack, thisArg);
this._initState = InitState.Initialized; this._initState = InitState.Initialized;
} }
public static updateScore(score: number) { public setIsUseApi(value: boolean) {
this._sdk?.updateScore(score); (window as any).P4P.isUseApi = value;
} }
public static async authenticate(): Promise<boolean> { public updateScore(score: number): void {
return this._sdk?.authenticate(); this.sdk.updateScore(score);
} }
public static async checkGameScoreTicket(): Promise<boolean> { public getUserInfo(): Promise<IUserInfo> {
return this._sdk?.checkGameScoreTicket(); return this.sdk.getUserInfo();
} }
public static buyMoreTicket() { public getLeaderBoard(start: number, count: number) {
this._sdk?.buyMoreTicket(); return this.sdk.getLeaderBoard(start, count);
} }
public static async postScoreToServer() { public startGame(): Promise<boolean> {
this._sdk?.postScoreToServer(); return this.sdk.startGame();
} }
public endGame(): Promise<boolean> {
public static async minusTicket(type: minusTicketType): Promise<boolean> { return this.sdk.endGame();
return this._sdk?.minusTicket(type);
} }
public getUserCoin(): Promise<number> {
public static callPayPalModal() { return this.sdk.getUserCoin();
this._sdk?.callPayPalModal();
} }
public static canRelive(): boolean {
return this._sdk?.canRelive();
}
public static async spinGacha(id: string): Promise<Reward> {
return this._sdk?.spinGacha(id);
}
public static async getLeaderBoard(): Promise<PlayerInfo[]> {
return this._sdk?.getLeaderBoard();
}
//#endregion
} }
const P4PSDK: SDK = new _P4PSDK();
export default P4PSDK;

View File

@ -1,4 +1,4 @@
import { _decorator, Component, director, instantiate, Node, Prefab } from 'cc'; import { _decorator, Component, director, instantiate, Node, Prefab, RigidBody, RigidBody2D } from 'cc';
import IPoolable from './IPoolable'; import IPoolable from './IPoolable';
export default class ObjectPool { export default class ObjectPool {
@ -91,7 +91,6 @@ export default class ObjectPool {
obj = this._actives.shift(); obj = this._actives.shift();
obj.removeFromParent(); obj.removeFromParent();
} }
obj.setParent(parent); obj.setParent(parent);
this._actives.push(obj); this._actives.push(obj);
// Invoke pool handler // Invoke pool handler
@ -132,6 +131,12 @@ export default class ObjectPool {
(handler as unknown as IPoolable)?.onRelease(); (handler as unknown as IPoolable)?.onRelease();
} }
// Remove from parent, but don't cleanup // Remove from parent, but don't cleanup
if (RigidBody2D) {
node.getComponent(RigidBody2D)?.sleep();
}
if (RigidBody) {
node.getComponent(RigidBody)?.sleep();
}
node.removeFromParent(); node.removeFromParent();
return true; return true;
} }

View File

@ -48,11 +48,12 @@ export class GameOverPanel extends Component {
EventManger.instance.on(GameEvent.GameStateChange, this.onGameStateChange, this); EventManger.instance.on(GameEvent.GameStateChange, this.onGameStateChange, this);
} }
public show(end: boolean): void { public async show(end: boolean): Promise<void> {
this._ticketMinus.string = P4PSDK.getTicketNeedToContinue().toString(); // this._ticketMinus.string = P4PSDK.getTicketNeedToContinue().toString();
const currentScore = P4PSDK.getLatestScore(); const currentScore = P4PSDK.previousScore;
const gameScore = P4PSDK.getGameScore(); const gameScore = P4PSDK.currentScore;
this.topScore.string = P4PSDK.getTopScore().toString(); const top = await P4PSDK.getLeaderBoard(0, 1);
this.topScore.string = top.length > 0 ? top[0].totalScore.toString() : '0';
this.yourScore.string = currentScore.toString(); this.yourScore.string = currentScore.toString();
this.playCollectEffect(gameScore, currentScore); this.playCollectEffect(gameScore, currentScore);
this.scheduleOnce(this.endGame, 60); this.scheduleOnce(this.endGame, 60);
@ -79,7 +80,7 @@ export class GameOverPanel extends Component {
this._quitBtn.active = false; this._quitBtn.active = false;
if (this._active) { if (this._active) {
await Utils.delay(1); await Utils.delay(1);
P4PSDK.postScoreToServer(); P4PSDK.endGame();
} }
break; break;
case GameState.Relive: case GameState.Relive:
@ -119,9 +120,7 @@ export class GameOverPanel extends Component {
let duration = 0; let duration = 0;
for (let i = 0; i < items; i++) { for (let i = 0; i < items; i++) {
if (this._clicked) return; if (this._clicked) return;
score += x;
duration = this._starSpeedCurve.evaluate(i / items - 1); duration = this._starSpeedCurve.evaluate(i / items - 1);
score = score > totalScore ? totalScore : score;
const obj = this._floatingStarFactory.create(this._scoreUI); const obj = this._floatingStarFactory.create(this._scoreUI);
obj.node.setWorldPosition(this._scoreUI.worldPosition); obj.node.setWorldPosition(this._scoreUI.worldPosition);
tween(obj.node) tween(obj.node)
@ -138,6 +137,8 @@ export class GameOverPanel extends Component {
) )
.call(() => obj.node.releaseToPool()) .call(() => obj.node.releaseToPool())
.call(async () => { .call(async () => {
score += x;
score = score > totalScore ? totalScore : score;
Tween.stopAllByTarget(this.yourScore.node); Tween.stopAllByTarget(this.yourScore.node);
this.yourScore.string = score.toString(); this.yourScore.string = score.toString();
tween(this.yourScore.node) tween(this.yourScore.node)
@ -161,7 +162,7 @@ export class GameOverPanel extends Component {
.start(); .start();
if (!this._end) return; if (!this._end) return;
await Utils.delay(1); await Utils.delay(1);
P4PSDK.postScoreToServer(); P4PSDK.endGame();
} }
} }
} }

View File

@ -17,6 +17,7 @@ import TimeConfig from '../Enum/TimeConfig';
import GameEvent from '../Events/GameEvent'; import GameEvent from '../Events/GameEvent';
import { EventManger } from '../Manager/EventManger'; import { EventManger } from '../Manager/EventManger';
import { GameManager } from '../Manager/GameManager'; import { GameManager } from '../Manager/GameManager';
import P4PSDK, { EventType } from '../P4PSDK';
import Utils from '../Utilities'; import Utils from '../Utilities';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ -37,13 +38,11 @@ export class TutorialController extends Component {
private _canShow = true; private _canShow = true;
private _playing = false; private _playing = false;
protected onLoad(): void { protected onLoad() {
this.node.on(Input.EventType.TOUCH_START, this.onTouchStart, this); this.node.on(Input.EventType.TOUCH_START, this.onTouchStart, this);
input.on(Input.EventType.KEY_UP, this.onKeyInputUpStart, this); input.on(Input.EventType.KEY_UP, this.onKeyInputUpStart, this);
P4PSDK.broadCast.on(EventType.OnKeyDown, this.onSDKKeyInputStart, this);
EventManger.instance.on(GameEvent.GameStateChange, this.onGameStateChange, this); EventManger.instance.on(GameEvent.GameStateChange, this.onGameStateChange, this);
}
protected start() {
this.playTutorial(); this.playTutorial();
} }
@ -115,9 +114,11 @@ export class TutorialController extends Component {
this.stopTutorial(); this.stopTutorial();
this.node.off(Input.EventType.TOUCH_START, this.onTouchStart, this); this.node.off(Input.EventType.TOUCH_START, this.onTouchStart, this);
input.off(Input.EventType.KEY_UP, this.onKeyInputUpStart, this); input.off(Input.EventType.KEY_UP, this.onKeyInputUpStart, this);
P4PSDK.broadCast.off(EventType.OnKeyDown, this.onSDKKeyInputStart, this);
this.node.on(Input.EventType.TOUCH_START, this.onTouch, this); this.node.on(Input.EventType.TOUCH_START, this.onTouch, this);
input.on(Input.EventType.KEY_UP, this.onKeyInputUp, this); input.on(Input.EventType.KEY_UP, this.onKeyInputUp, this);
P4PSDK.broadCast.on(EventType.OnKeyDown, this.onSDKKeyInput, this);
GameManager.instance.play(); GameManager.instance.play();
} }
@ -130,6 +131,19 @@ export class TutorialController extends Component {
this.startGame(); this.startGame();
} }
private onSDKKeyInputStart(key: number) {
switch (key) {
case KeyCode.KEY_A:
case KeyCode.ARROW_LEFT:
case KeyCode.KEY_D:
case KeyCode.ARROW_RIGHT:
this.startGame();
break;
default:
break;
}
}
private onKeyInputUpStart(event: EventKeyboard) { private onKeyInputUpStart(event: EventKeyboard) {
switch (event.keyCode) { switch (event.keyCode) {
case KeyCode.KEY_A: case KeyCode.KEY_A:
@ -155,4 +169,17 @@ export class TutorialController extends Component {
break; break;
} }
} }
private onSDKKeyInput(key: number) {
switch (key) {
case KeyCode.KEY_A:
case KeyCode.ARROW_LEFT:
case KeyCode.KEY_D:
case KeyCode.ARROW_RIGHT:
this.stopTutorial();
break;
default:
break;
}
}
} }

View File

@ -65,9 +65,10 @@ export class UIController extends Component {
private async onGameStateChange(state: GameState) { private async onGameStateChange(state: GameState) {
switch (state) { switch (state) {
case GameState.Init: case GameState.Init:
const coin = await P4PSDK.getUserCoin();
this.playButton.interactable = true; this.playButton.interactable = true;
this.loadingScreen.active = false; this.loadingScreen.active = false;
this._ticketLabel.string = P4PSDK.getUserTicket().toString(); this._ticketLabel.string = coin.toString();
this._scoreLabel.string = '0'; this._scoreLabel.string = '0';
break; break;
case GameState.Ready: case GameState.Ready:

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "2454405b-3e51-418d-8a1a-a965d84a4711",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "bb2aa62a-cecb-47e0-b9d7-73320fda08bd",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "e0e28763-09ec-4259-a129-6b08d26aa301",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "eb6ee605-3994-45dd-8524-4347a23f423f",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "ccc44f78-a046-450b-92cc-9b0f20226ea3",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "ff42aa1b-ad3b-4abb-86c3-d526f5101ba4",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "887683a5-9135-4e9b-a32c-c86a72a81f36",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "a571b738-4d22-48ef-b363-a96c0176aae6",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "54980d2c-26e7-4de4-9630-e9e57914a9ae",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "68e30263-71ff-497f-893b-74d6d5023a8b",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "89f81ee2-68a5-4246-8822-d491706714f3",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "e1d1d404-721b-4610-b254-432e6ae9853f",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "aa1bec52-c7bf-49c9-a6b0-ffafc93898ff",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "d02b6cde-0f3b-47ac-a69f-67fc3c091b5a",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "9e4bbff6-4c93-4651-aba4-f7d37d34eb3e",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Some files were not shown because too many files have changed in this diff Show More