feat: add gacha component

feature/ads-smart-display
tiendat3699 2024-06-10 22:05:56 +07:00
parent aa57deaa58
commit e095cfdfd2
41 changed files with 7069 additions and 1 deletions

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "22995de3-ea1d-4f64-b957-9ff35a0bb5a6",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "85f6d192-2e60-4da3-9170-7d8436913f8f",
"files": [],
"subMetas": {},
"userData": {}
}

View File

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

View File

@ -0,0 +1,11 @@
{
"ver": "1.0.2",
"importer": "text",
"imported": true,
"uuid": "58baf684-79f6-4d9c-b11e-546a892df45d",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,316 @@
{
"skeleton": {
"hash": "rPsrGVyt4kSHlUEyWQwYJ7BJ7Cc",
"spine": "3.8.99",
"x": -461.5,
"y": -461.5,
"width": 923,
"height": 923,
"images": "",
"audio": ""
},
"bones": [
{ "name": "root" },
{ "name": "card1", "parent": "root", "x": -250, "y": 250 },
{ "name": "card2", "parent": "root", "x": 250, "y": 250 },
{ "name": "card3", "parent": "root", "x": 250, "y": -250 },
{ "name": "card4", "parent": "root", "x": -250, "y": -250 },
{ "name": "card1-flip", "parent": "card1" },
{ "name": "card2-flip", "parent": "card2" },
{ "name": "card3-flip", "parent": "card3" },
{ "name": "card4-flip", "parent": "card4" }
],
"slots": [
{ "name": "front1", "bone": "card1-flip", "color": "ffffff00", "attachment": "front" },
{ "name": "front2", "bone": "card2-flip", "color": "ffffff00", "attachment": "front" },
{ "name": "front3", "bone": "card3-flip", "color": "ffffff00", "attachment": "front" },
{ "name": "front4", "bone": "card4-flip", "color": "ffffff00", "attachment": "front" },
{ "name": "back1", "bone": "card1-flip", "attachment": "back" },
{ "name": "back2", "bone": "card2-flip", "attachment": "back" },
{ "name": "back3", "bone": "card3-flip", "attachment": "back" },
{ "name": "back4", "bone": "card4-flip", "attachment": "back" }
],
"skins": [
{
"name": "default",
"attachments": {
"back1": {
"back": { "width": 423, "height": 423 }
},
"back2": {
"back": { "width": 423, "height": 423 }
},
"back3": {
"back": { "width": 423, "height": 423 }
},
"back4": {
"back": { "width": 423, "height": 423 }
},
"front1": {
"front": { "width": 423, "height": 423 }
},
"front2": {
"front": { "width": 423, "height": 423 }
},
"front3": {
"front": { "width": 423, "height": 423 }
},
"front4": {
"front": { "width": 423, "height": 423 }
}
}
}
],
"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" }
]
},
"back3": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.2333, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.3667, "color": "ffffffff" }
]
},
"back4": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.4, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.5333, "color": "ffffffff" }
]
}
},
"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 }
]
},
"card3": {
"translate": [
{ "y": -200.13, "curve": "stepped" },
{ "time": 0.2333, "y": -200.13, "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "y": 77.24, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5, "y": -17.55, "curve": 0.25, "c3": 0.75 },
{ "time": 0.6333 }
],
"scale": [
{ "x": 0.5, "y": 0.5, "curve": "stepped" },
{ "time": 0.2333, "x": 0.5, "y": 0.5, "curve": 0.25, "c3": 0.75 },
{ "time": 0.3333, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5333 }
]
},
"card4": {
"translate": [
{ "y": -200.13, "curve": "stepped" },
{ "time": 0.4, "y": -200.13, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5667, "y": 77.24, "curve": 0.25, "c3": 0.75 },
{ "time": 0.6667, "y": -17.55, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8 }
],
"scale": [
{ "x": 0.5, "y": 0.5, "curve": "stepped" },
{ "time": 0.4, "x": 0.5, "y": 0.5, "curve": 0.25, "c3": 0.75 },
{ "time": 0.5, "x": 1.1, "y": 1.1, "curve": 0.25, "c3": 0.75 },
{ "time": 0.7 }
]
}
}
},
"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" }
]
},
"card3-active": {
"slots": {
"back3": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.1333, "color": "ffffff00" }
]
},
"front3": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.1333, "color": "ffffffff" }
]
}
},
"bones": {
"card3": {
"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 }
]
},
"card3-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": "card3-active" }
]
},
"card4-active": {
"slots": {
"back4": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.1333, "color": "ffffff00" }
]
},
"front4": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.1333, "color": "ffffffff" }
]
}
},
"bones": {
"card4": {
"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 }
]
},
"card4-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.0667, "name": "card4-active" }
]
},
"idle": {
"slots": {
"front4": {
"color": [
{ "time": 0.0667, "color": "ffffff00" }
]
}
}
}
}
}

View File

@ -0,0 +1,11 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "aadf64c3-e6a0-4bf8-9805-b291ef07fa28",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "5c48abf1-a8de-4880-8fcf-1888513a9bfa",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5c48abf1-a8de-4880-8fcf-1888513a9bfa@6c48a",
"displayName": "random-flip-card",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5c48abf1-a8de-4880-8fcf-1888513a9bfa",
"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": "5c48abf1-a8de-4880-8fcf-1888513a9bfa@f9941",
"displayName": "random-flip-card",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -83,
"offsetY": 40.5,
"trimX": 4,
"trimY": 4,
"width": 850,
"height": 423,
"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": [
-425,
-211.5,
0,
425,
-211.5,
0,
-425,
211.5,
0,
425,
211.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
4,
508,
854,
508,
4,
85,
854,
85
],
"nuv": [
0.00390625,
0.166015625,
0.833984375,
0.166015625,
0.00390625,
0.9921875,
0.833984375,
0.9921875
],
"minPos": [
-425,
-211.5,
0
],
"maxPos": [
425,
211.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5c48abf1-a8de-4880-8fcf-1888513a9bfa@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5c48abf1-a8de-4880-8fcf-1888513a9bfa@f9941"
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "6f264072-3786-460d-92e2-e18724282b5c",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,83 @@
lucky chain.png
size: 1024,512
format: RGBA8888
filter: Linear,Linear
repeat: none
card1
rotate: true
xy: 735, 149
size: 135, 148
orig: 135, 148
offset: 0, 0
index: -1
card2
rotate: true
xy: 735, 10
size: 135, 148
orig: 135, 148
offset: 0, 0
index: -1
card3
rotate: true
xy: 735, 10
size: 135, 148
orig: 135, 148
offset: 0, 0
index: -1
card4
rotate: true
xy: 735, 10
size: 135, 148
orig: 135, 148
offset: 0, 0
index: -1
card5
rotate: true
xy: 735, 10
size: 135, 148
orig: 135, 148
offset: 0, 0
index: -1
frame
rotate: false
xy: 4, 4
size: 376, 468
orig: 376, 469
offset: 0, 0
index: -1
frame-planet1
rotate: false
xy: 735, 288
size: 186, 184
orig: 186, 184
offset: 0, 0
index: -1
frame-planet2
rotate: false
xy: 887, 167
size: 122, 117
orig: 122, 117
offset: 0, 0
index: -1
frame-planet3
rotate: false
xy: 887, 51
size: 114, 112
orig: 114, 112
offset: 0, 0
index: -1
galaxy-screen
rotate: false
xy: 384, 45
size: 347, 427
orig: 347, 427
offset: 0, 0
index: -1
txt
rotate: false
xy: 384, 6
size: 278, 35
orig: 278, 35
offset: 0, 0
index: -1

View File

@ -0,0 +1,11 @@
{
"ver": "1.0.2",
"importer": "text",
"imported": true,
"uuid": "e9ef255e-5772-4622-a331-65a911bdbc54",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,358 @@
{
"skeleton": {
"hash": "o1owOunyFbd2Jp2OiNn7dNvQ1js",
"spine": "3.8.99",
"x": -631,
"y": -680,
"width": 1252,
"height": 1960,
"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": "frame-planet1", "parent": "frame-pivot", "length": 364.06, "rotation": 90, "y": 786.09 },
{ "name": "frame-planet2", "parent": "frame-pivot", "length": 169.63, "rotation": 120.23, "x": -311.5, "y": 867.5 },
{ "name": "frame-planet3", "parent": "frame-pivot", "length": 211.86, "rotation": 45.75, "x": 260.15, "y": 919.93 },
{ "name": "card5", "parent": "cards-pivot", "x": -259.5, "y": -278.5 },
{ "name": "txt", "parent": "frame-pivot", "x": 8, "y": 700 }
],
"slots": [
{ "name": "galaxy-screen", "bone": "frame-pivot", "attachment": "galaxy-screen" },
{ "name": "frame-planet3", "bone": "frame-planet3", "attachment": "frame-planet3" },
{ "name": "frame-planet2", "bone": "frame-planet2", "attachment": "frame-planet2" },
{ "name": "frame-planet1", "bone": "frame-planet1", "attachment": "frame-planet1" },
{ "name": "frame", "bone": "frame-pivot", "attachment": "frame" },
{ "name": "txt", "bone": "txt", "attachment": "txt" },
{ "name": "card5", "bone": "card5", "color": "ffffff00", "attachment": "card5" },
{ "name": "card4", "bone": "card4", "attachment": "card4" },
{ "name": "card3", "bone": "card3", "attachment": "card3" },
{ "name": "card2", "bone": "card2", "attachment": "card2" },
{ "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": 451, "height": 493 }
},
"card1-glow": {
"card1": { "width": 451, "height": 493 }
},
"card2": {
"card2": { "width": 451, "height": 493 }
},
"card2-orange": {
"card1": { "width": 451, "height": 493 }
},
"card3": {
"card3": { "width": 451, "height": 493 }
},
"card4": {
"card4": { "width": 451, "height": 493 }
},
"card5": {
"card5": { "width": 451, "height": 493 }
},
"frame": {
"frame": { "x": -5, "y": 101, "width": 1252, "height": 1562 }
},
"frame-planet1": {
"frame-planet1": { "x": 187.41, "y": 18.5, "rotation": -90, "width": 621, "height": 613 }
},
"frame-planet2": {
"frame-planet2": { "rotation": -120.23, "width": 405, "height": 391 }
},
"frame-planet3": {
"frame-planet3": { "x": 24.62, "y": 21.4, "rotation": -45.75, "width": 380, "height": 373 }
},
"galaxy-screen": {
"galaxy-screen": { "x": -3, "y": 61, "width": 1156, "height": 1424 }
},
"txt": {
"txt": { "x": -31, "y": 10.5, "width": 926, "height": 115 }
}
}
}
],
"events": {
"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" }
]
},
"frame": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.2, "color": "ffffffff" }
]
},
"frame-planet1": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.6, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.8, "color": "ffffffff" }
]
},
"frame-planet2": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.6667, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.8667, "color": "ffffffff" }
]
},
"frame-planet3": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.7333, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.9333, "color": "ffffffff" }
]
},
"galaxy-screen": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.1, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.4, "color": "ffffffff" }
]
},
"txt": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.8, "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 1, "color": "ffffffff" }
]
}
},
"bones": {
"frame-planet3": {
"translate": [
{ "x": -91.68, "y": -94.13, "curve": "stepped" },
{ "time": 0.7333, "x": -91.68, "y": -94.13, "curve": 0.25, "c3": 0.75 },
{ "time": 0.9333, "x": 22, "y": 22.59, "curve": 0.25, "c3": 0.75 },
{ "time": 1.1333 }
]
},
"frame-planet2": {
"translate": [
{ "x": 66.15, "y": -113.54, "curve": "stepped" },
{ "time": 0.6667, "x": 66.15, "y": -113.54, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8667, "x": -15.88, "y": 27.25, "curve": 0.25, "c3": 0.75 },
{ "time": 1.0667 }
]
},
"frame-planet1": {
"translate": [
{ "y": -131.4, "curve": "stepped" },
{ "time": 0.6, "y": -131.4, "curve": 0.25, "c3": 0.75 },
{ "time": 0.8, "y": 31.54, "curve": 0.25, "c3": 0.75 },
{ "time": 1 }
]
},
"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 }
]
},
"txt": {
"translate": [
{ "y": 20, "curve": "stepped" },
{ "time": 0.8, "y": 20, "curve": 0, "c2": 0.51, "c3": 0.75 },
{ "time": 1.1, "y": -20, "curve": 0.25, "c3": 0.75 },
{ "time": 1.4 }
]
},
"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 }
]
}
}
},
"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": "2a73a1e0-9f9d-4cdd-b711-394a90fec7a8",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "add5af79-0201-4355-be84-161977c7cabf",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "add5af79-0201-4355-be84-161977c7cabf@6c48a",
"displayName": "lucky chain",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "add5af79-0201-4355-be84-161977c7cabf",
"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": "add5af79-0201-4355-be84-161977c7cabf@f9941",
"displayName": "lucky chain",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -5.5,
"offsetY": 18,
"trimX": 4,
"trimY": 4,
"width": 1005,
"height": 468,
"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": [
-502.5,
-234,
0,
502.5,
-234,
0,
-502.5,
234,
0,
502.5,
234,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
4,
508,
1009,
508,
4,
40,
1009,
40
],
"nuv": [
0.00390625,
0.078125,
0.9853515625,
0.078125,
0.00390625,
0.9921875,
0.9853515625,
0.9921875
],
"minPos": [
-502.5,
-234,
0
],
"maxPos": [
502.5,
234,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "add5af79-0201-4355-be84-161977c7cabf@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "add5af79-0201-4355-be84-161977c7cabf@f9941"
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "82330651-9fc7-4280-a25c-80413cc57522",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,34 @@
lucky-chest.png
size: 1024,256
format: RGBA8888
filter: Linear,Linear
repeat: none
chest-lid
rotate: false
xy: 4, 4
size: 314, 217
orig: 318, 221
offset: 2, 3
index: -1
chest-lid2
rotate: false
xy: 619, 74
size: 270, 147
orig: 270, 149
offset: 0, 0
index: -1
glitter-vfx
rotate: false
xy: 619, 27
size: 46, 43
orig: 64, 64
offset: 9, 11
index: -1
lower-chest
rotate: false
xy: 322, 9
size: 293, 212
orig: 295, 212
offset: 2, 0
index: -1

View File

@ -0,0 +1,11 @@
{
"ver": "1.0.2",
"importer": "text",
"imported": true,
"uuid": "9ac5e8c6-d012-424f-ab22-590dafd96f4f",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,235 @@
{
"skeleton": {
"hash": "/K19jcKuNHKoLrYG8MhOXbnbIBE",
"spine": "3.8.99",
"x": -596.69,
"y": -520.93,
"width": 1280,
"height": 1280,
"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 }
],
"slots": [
{ "name": "lower-chest", "bone": "lower-chest", "attachment": "lower-chest" },
{ "name": "chest-lid", "bone": "chest-lid", "attachment": "chest-lid" },
{ "name": "chest-lid2", "bone": "chest-lid2", "color": "ffffff00", "attachment": "chest-lid2" },
{ "name": "glitter-vfx", "bone": "glitter-vfx", "color": "ffffff00", "attachment": "glitter-vfx", "blend": "additive" }
],
"skins": [
{
"name": "default",
"attachments": {
"chest-lid": {
"chest-lid": { "x": 76.5, "y": 13.5, "rotation": -90, "width": 635, "height": 441 }
},
"chest-lid2": {
"chest-lid2": {
"type": "mesh",
"uvs": [ 0.95375, 0.23206, 1, 0.52982, 1, 0.57456, 0.77212, 1, 0.69633, 1, 0.56734, 0.80867, 0.53351, 0.80013, 0.06079, 0.96486, 0.04029, 0.87795, 0, 0.70712, 0, 0.62556, 0.00698, 0.42219, 0.10158, 0.19664, 0.33872, 0.08632, 0.42451, 0.16327, 0.82256, 0.01507, 0.0994, 0.84876, 0.2266, 0.80342, 0.44554, 0.7184, 0.63529, 0.66739, 0.89424, 0.56915 ],
"triangles": [ 3, 20, 2, 20, 3, 19, 5, 19, 4, 3, 4, 19, 6, 17, 18, 6, 7, 17, 7, 16, 17, 7, 8, 16, 8, 9, 16, 17, 16, 10, 5, 6, 19, 17, 10, 11, 11, 12, 17, 17, 14, 18, 17, 13, 14, 17, 12, 13, 6, 18, 19, 18, 14, 19, 10, 16, 9, 19, 15, 20, 19, 14, 15, 20, 1, 2, 20, 0, 1, 20, 15, 0 ],
"vertices": [ 2, 4, 495.4, 120.21, 0.99494, 5, 132.54, -406.26, 0.00506, 1, 4, 503.98, 28.43, 1, 1, 4, 501.58, 15.31, 1, 1, 4, 357.7, -87.23, 1, 1, 4, 317.45, -79.86, 1, 1, 4, 259.2, -11.23, 1, 1, 4, 241.69, -5.44, 1, 2, 4, -18.24, -7.75, 0.99759, 5, -39.53, 94.34, 0.00241, 2, 4, -24.47, 19.72, 0.88135, 5, -12.71, 102.92, 0.11865, 2, 4, -36.7, 73.71, 0.4648, 5, 40.02, 119.79, 0.5352, 2, 4, -32.32, 97.62, 0.32542, 5, 64.22, 117.51, 0.67458, 2, 4, -17.7, 156.55, 0.08952, 5, 124.2, 108.06, 0.91048, 2, 4, 44.65, 213.47, 0.0015, 5, 186.31, 50.88, 0.9985, 2, 4, 176.54, 222.74, 0.16621, 5, 207, -79.7, 0.83379, 2, 4, 217.98, 191.84, 0.40708, 5, 179.81, -123.66, 0.59292, 2, 4, 437.36, 196.57, 0.97028, 5, 203.57, -341.81, 0.02972, 2, 4, 8.49, 22.52, 0.85311, 5, -7.05, 70.33, 0.14689, 2, 4, 78.49, 23.44, 0.00376, 5, -0.05, 0.67, 0.99624, 2, 4, 199.35, 27.07, 0.93561, 5, 14.05, -119.41, 0.06439, 2, 4, 302.88, 23.57, 0.98865, 5, 19.55, -222.86, 0.01135, 2, 4, 445.69, 27.18, 0.99966, 5, 35.55, -364.82, 3.4E-4 ],
"hull": 16,
"edges": [ 0, 30, 0, 2, 2, 4, 4, 6, 6, 8, 8, 10, 10, 12, 12, 14, 18, 20, 20, 22, 22, 24, 24, 26, 26, 28, 28, 30, 14, 16, 16, 18, 16, 32, 32, 34, 34, 36, 36, 38, 38, 40, 40, 2 ],
"width": 540,
"height": 298
}
},
"glitter-vfx": {
"glitter-vfx": { "x": 18.31, "y": -20.93, "scaleX": 10, "scaleY": 10, "width": 128, "height": 128 }
},
"lower-chest": {
"lower-chest": { "x": 132, "y": 59.5, "rotation": -90, "width": 589, "height": 424 }
}
}
}
],
"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" }
]
},
"chest-lid2": {
"color": [
{ "color": "ffffff00", "curve": "stepped" },
{ "time": 0.6667, "color": "ffffff00", "curve": "stepped" },
{ "time": 0.7333, "color": "ffffffff" }
]
},
"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" }
]
}
},
"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, "curve": "stepped" },
{ "time": 2 }
],
"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 }
]
}
}
}
}
}

View File

@ -0,0 +1,11 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "75cc4005-0956-4ded-8966-c8e347fc48d5",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "c2c33a8f-af06-4fc8-b718-548b2187eae9",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "c2c33a8f-af06-4fc8-b718-548b2187eae9@6c48a",
"displayName": "lucky-chest",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "c2c33a8f-af06-4fc8-b718-548b2187eae9",
"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": "c2c33a8f-af06-4fc8-b718-548b2187eae9@f9941",
"displayName": "lucky-chest",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -65.5,
"offsetY": 15.5,
"trimX": 4,
"trimY": 4,
"width": 885,
"height": 217,
"rawWidth": 1024,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-442.5,
-108.5,
0,
442.5,
-108.5,
0,
-442.5,
108.5,
0,
442.5,
108.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
4,
252,
889,
252,
4,
35,
889,
35
],
"nuv": [
0.00390625,
0.13671875,
0.8681640625,
0.13671875,
0.00390625,
0.984375,
0.8681640625,
0.984375
],
"minPos": [
-442.5,
-108.5,
0
],
"maxPos": [
442.5,
108.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "c2c33a8f-af06-4fc8-b718-548b2187eae9@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "c2c33a8f-af06-4fc8-b718-548b2187eae9@f9941"
}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "4aba6020-b969-4d5c-8c38-bd57ad8dc70d",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,41 @@
lucky-spin.png
size: 1024,1024
format: RGBA8888
filter: Linear,Linear
repeat: none
arrow
rotate: false
xy: 452, 155
size: 103, 157
orig: 103, 158
offset: 0, 0
index: -1
base
rotate: false
xy: 4, 452
size: 543, 548
orig: 544, 550
offset: 0, 1
index: -1
button
rotate: false
xy: 452, 316
size: 132, 132
orig: 132, 132
offset: 0, 0
index: -1
txt-spin
rotate: true
xy: 452, 49
size: 102, 58
orig: 108, 62
offset: 3, 3
index: -1
wheel
rotate: false
xy: 4, 4
size: 444, 444
orig: 444, 444
offset: 0, 0
index: -1

View File

@ -0,0 +1,11 @@
{
"ver": "1.0.2",
"importer": "text",
"imported": true,
"uuid": "7859d8c6-2440-4ffa-ac4a-03b52c0673cb",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,130 @@
{
"skeleton": {
"hash": "sKAs3NK0GSdpZcOpBJA0pZ3Vlxo",
"spine": "3.8.99",
"x": -541,
"y": -557,
"width": 1087,
"height": 1227,
"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, "y": 3.5 },
{ "name": "arrow", "parent": "pivot", "x": -3.78, "y": 505.13 },
{ "name": "spin-button", "parent": "pivot" },
{ "name": "slot01", "parent": "wheel", "length": 80, "x": 3.31, "y": 264.08 },
{ "name": "slot02", "parent": "wheel", "length": 80, "rotation": 36, "x": -152.54, "y": 215.59 },
{ "name": "slot03", "parent": "wheel", "length": 80, "rotation": 72, "x": -250.13, "y": 84.75 },
{ "name": "slot04", "parent": "wheel", "length": 80, "rotation": 108, "x": -252.18, "y": -78.45 },
{ "name": "slot05", "parent": "wheel", "length": 80, "rotation": 144, "x": -157.9, "y": -211.7 },
{ "name": "slot06", "parent": "wheel", "length": 80, "rotation": 180, "x": -3.31, "y": -264.08 },
{ "name": "slot07", "parent": "wheel", "length": 80, "rotation": -144, "x": 152.54, "y": -215.59 },
{ "name": "slot08", "parent": "wheel", "length": 80, "rotation": -108, "x": 250.13, "y": -84.75 },
{ "name": "slot09", "parent": "wheel", "length": 80, "rotation": -72, "x": 252.18, "y": 78.46 },
{ "name": "slot10", "parent": "wheel", "length": 80, "rotation": -36, "x": 157.9, "y": 211.7 }
],
"slots": [
{ "name": "base", "bone": "pivot", "attachment": "base" },
{ "name": "wheel", "bone": "wheel", "attachment": "wheel" },
{ "name": "button", "bone": "spin-button", "attachment": "button" },
{ "name": "arrow", "bone": "arrow", "attachment": "arrow" },
{ "name": "txt-spin", "bone": "spin-button", "attachment": "txt-spin" }
],
"skins": [
{
"name": "default",
"attachments": {
"arrow": {
"arrow": { "x": 6.28, "y": 7.37, "width": 205, "height": 315 }
},
"base": {
"base": { "x": 2.5, "y": -7.5, "width": 1087, "height": 1099 }
},
"button": {
"button": { "width": 264, "height": 264 }
},
"txt-spin": {
"txt-spin": { "y": -2.5, "width": 216, "height": 123 }
},
"wheel": {
"wheel": { "width": 888, "height": 887 }
}
}
}
],
"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" }
]
},
"button": {
"color": [
{ "color": "ffffff00", "curve": 0.25, "c3": 0.75 },
{ "time": 0.1667, "color": "ffffffff" }
]
},
"txt-spin": {
"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": "5321c5a2-7473-436b-913c-39a871376ea0",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "005f87de-32cd-49c8-bc85-958afeb9e364",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "005f87de-32cd-49c8-bc85-958afeb9e364@6c48a",
"displayName": "lucky-spin",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "005f87de-32cd-49c8-bc85-958afeb9e364",
"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": "005f87de-32cd-49c8-bc85-958afeb9e364@f9941",
"displayName": "lucky-spin",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -218,
"offsetY": 10,
"trimX": 4,
"trimY": 4,
"width": 580,
"height": 996,
"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": [
-290,
-498,
0,
290,
-498,
0,
-290,
498,
0,
290,
498,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
4,
1020,
584,
1020,
4,
24,
584,
24
],
"nuv": [
0.00390625,
0.0234375,
0.5703125,
0.0234375,
0.00390625,
0.99609375,
0.5703125,
0.99609375
],
"minPos": [
-290,
-498,
0
],
"maxPos": [
290,
498,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "005f87de-32cd-49c8-bc85-958afeb9e364@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "005f87de-32cd-49c8-bc85-958afeb9e364@f9941"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
{
"ver": "1.1.50",
"importer": "scene",
"imported": true,
"uuid": "8eb392e2-dfc6-410a-9878-b5a65b2550f5",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "f323b624-13bd-4ebd-9abf-28bb66340668",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "b293763e-e725-4b13-8cfc-b866bce19a92",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "88095e79-f0c7-4dfa-ab13-ab2c42c75b84",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "8c032cda-38fa-43e1-8b9f-3e8ba49c6c13",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "818c6c87-fb05-44d6-8633-e887d400aab5",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "ad470028-de24-4996-a966-44a1ae9ab32e",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "750b24fe-b9b8-4a9d-aa06-2da4dfb6d70d",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "622ab578-e8ed-4f66-b548-d7fc834c69d4",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -49,7 +49,7 @@ class Gacha {
public gacha: GachaBase; public gacha: GachaBase;
} }
@ccclass('Reward') @ccclass('RewardConfig')
class RewardConfig { class RewardConfig {
@property(CCString) @property(CCString)
public id: string = ''; public id: string = '';

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "d004121d-a639-4e05-8376-794e0c448bbc",
"files": [],
"subMetas": {},
"userData": {}
}