所有动效添加

This commit is contained in:
TJH 2025-09-25 17:29:37 +08:00
parent e508ac146b
commit 16be989afc
34 changed files with 2656 additions and 4004 deletions

View File

@ -1,9 +0,0 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "4207b224-e2f3-44d9-abc6-733b4f8b2b9e",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -1,9 +0,0 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "b4ab7a17-042d-4925-b172-6fd993621ae7",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -1,160 +0,0 @@
1-3格.png
size: 655,525
format: RGBA8888
filter: Linear,Linear
repeat: none
bullet1
rotate: false
xy: 527, 397
size: 128, 128
orig: 128, 128
offset: 0, 0
index: -1
bullet2
rotate: true
xy: 517, 3
size: 126, 125
orig: 128, 128
offset: 0, 0
index: -1
bullet3
rotate: false
xy: 88, 7
size: 21, 25
orig: 21, 25
offset: 0, 0
index: -1
bullet3_2
rotate: true
xy: 110, 0
size: 43, 64
orig: 47, 71
offset: 2, 4
index: -1
glo
rotate: false
xy: 396, 1
size: 120, 120
orig: 120, 120
offset: 0, 0
index: -1
hri
rotate: true
xy: 88, 264
size: 35, 104
orig: 35, 104
offset: 0, 0
index: -1
kua
rotate: false
xy: 0, 264
size: 87, 261
orig: 87, 261
offset: 0, 0
index: -1
light
rotate: true
xy: 0, 3
size: 29, 87
orig: 32, 87
offset: 1, 0
index: -1
liuguang/liuguang_10
rotate: true
xy: 367, 122
size: 183, 89
orig: 250, 100
offset: 47, 8
index: -1
liuguang/liuguang_11
rotate: true
xy: 287, 116
size: 189, 79
orig: 250, 100
offset: 45, 18
index: -1
liuguang/liuguang_3
rotate: true
xy: 548, 287
size: 109, 85
orig: 250, 100
offset: 141, 2
index: -1
liuguang/liuguang_4
rotate: true
xy: 457, 259
size: 129, 90
orig: 250, 100
offset: 121, 2
index: -1
liuguang/liuguang_5
rotate: false
xy: 193, 2
size: 202, 94
orig: 250, 100
offset: 48, 2
index: -1
liuguang/liuguang_6
rotate: true
xy: 193, 97
size: 208, 93
orig: 250, 100
offset: 38, 3
index: -1
liuguang/liuguang_7
rotate: true
xy: 88, 300
size: 225, 96
orig: 250, 100
offset: 25, 0
index: -1
liuguang/liuguang_8
rotate: true
xy: 0, 33
size: 230, 95
orig: 250, 100
offset: 9, 2
index: -1
liuguang/liuguang_9
rotate: true
xy: 96, 44
size: 219, 96
orig: 250, 100
offset: 19, 1
index: -1
particle
rotate: false
xy: 96, 34
size: 9, 9
orig: 9, 9
offset: 0, 0
index: -1
r2
rotate: false
xy: 457, 130
size: 128, 128
orig: 128, 128
offset: 0, 0
index: -1
ring1
rotate: false
xy: 390, 389
size: 136, 136
orig: 136, 136
offset: 0, 0
index: -1
ringrr
rotate: true
xy: 185, 306
size: 219, 204
orig: 225, 210
offset: 3, 3
index: -1
smog_light
rotate: false
xy: 390, 342
size: 46, 46
orig: 46, 46
offset: 0, 0
index: -1

View File

@ -1,11 +0,0 @@
{
"ver": "1.0.1",
"importer": "text",
"imported": true,
"uuid": "e4ad7f0e-13c3-4045-9951-1df14180a830",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

File diff suppressed because one or more lines are too long

View File

@ -1,11 +0,0 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "e39818ce-db08-4e64-a6cd-b986fcde8726",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 KiB

View File

@ -1,134 +0,0 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "cd023014-cb18-4b9e-81e7-9caefc3f286e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "cd023014-cb18-4b9e-81e7-9caefc3f286e@6c48a",
"displayName": "1-3格",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "cd023014-cb18-4b9e-81e7-9caefc3f286e",
"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": "cd023014-cb18-4b9e-81e7-9caefc3f286e@f9941",
"displayName": "1-3格",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 655,
"height": 525,
"rawWidth": 655,
"rawHeight": 525,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-327.5,
-262.5,
0,
327.5,
-262.5,
0,
-327.5,
262.5,
0,
327.5,
262.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
525,
655,
525,
0,
0,
655,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-327.5,
-262.5,
0
],
"maxPos": [
327.5,
262.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd023014-cb18-4b9e-81e7-9caefc3f286e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "cd023014-cb18-4b9e-81e7-9caefc3f286e@6c48a"
}
}

View File

@ -1,9 +0,0 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "e216e971-7137-499d-a3a2-98dd95195949",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -1,55 +0,0 @@
FreeSpin_Bg.png
size: 1393,951
format: RGBA8888
filter: Linear,Linear
repeat: none
1
rotate: true
xy: 1081, 488
size: 463, 286
orig: 466, 288
offset: 1, 0
index: -1
glow_02
rotate: false
xy: 1157, 183
size: 128, 128
orig: 128, 128
offset: 0, 0
index: -1
gloww
rotate: false
xy: 1081, 312
size: 250, 175
orig: 256, 201
offset: 3, 0
index: -1
gmtc_db
rotate: false
xy: 0, 0
size: 1080, 951
orig: 1080, 951
offset: 0, 0
index: -1
t1
rotate: true
xy: 1332, 12
size: 475, 61
orig: 489, 77
offset: 10, 16
index: -1
t2
rotate: true
xy: 1081, 49
size: 262, 75
orig: 310, 88
offset: 48, 13
index: -1
xingx
rotate: false
xy: 1081, 0
size: 45, 48
orig: 52, 56
offset: 4, 5
index: -1

View File

@ -1,11 +0,0 @@
{
"ver": "1.0.1",
"importer": "text",
"imported": true,
"uuid": "e7c97394-d577-4c66-a1ed-39f185c950fc",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

File diff suppressed because one or more lines are too long

View File

@ -1,11 +0,0 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "e3e1a01f-16d6-4b38-bd10-5a6f04d5497d",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -1,134 +0,0 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "3d4fbcf7-d8d9-452b-a85c-50ddacd7acb8",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "3d4fbcf7-d8d9-452b-a85c-50ddacd7acb8@6c48a",
"displayName": "FreeSpin_Bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "3d4fbcf7-d8d9-452b-a85c-50ddacd7acb8",
"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": "3d4fbcf7-d8d9-452b-a85c-50ddacd7acb8@f9941",
"displayName": "FreeSpin_Bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1393,
"height": 951,
"rawWidth": 1393,
"rawHeight": 951,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-696.5,
-475.5,
0,
696.5,
-475.5,
0,
-696.5,
475.5,
0,
696.5,
475.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
951,
1393,
951,
0,
0,
1393,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-696.5,
-475.5,
0
],
"maxPos": [
696.5,
475.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "3d4fbcf7-d8d9-452b-a85c-50ddacd7acb8@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "3d4fbcf7-d8d9-452b-a85c-50ddacd7acb8@6c48a"
}
}

View File

@ -1,9 +0,0 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "29d8abf0-2a75-4fbd-98d0-3e0d0e89dc77",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -1,349 +0,0 @@
FS_FS.png
size: 4080,1910
format: RGBA8888
filter: Linear,Linear
repeat: none
X1
rotate: true
xy: 3786, 1054
size: 315, 282
orig: 353, 316
offset: 19, 17
index: -1
f1
rotate: false
xy: 0, 67
size: 268, 115
orig: 273, 123
offset: 0, 4
index: -1
f2
rotate: false
xy: 1758, 139
size: 234, 114
orig: 239, 124
offset: 4, 5
index: -1
fire/fire_0
rotate: true
xy: 900, 770
size: 540, 309
orig: 540, 375
offset: 0, 31
index: -1
fire/fire_1
rotate: true
xy: 799, 221
size: 540, 305
orig: 540, 375
offset: 0, 39
index: -1
fire/fire_10
rotate: false
xy: 2042, 329
size: 540, 304
orig: 540, 375
offset: 0, 17
index: -1
fire/fire_11
rotate: false
xy: 2583, 329
size: 540, 302
orig: 540, 375
offset: 0, 18
index: -1
fire/fire_12
rotate: false
xy: 2703, 945
size: 540, 323
orig: 540, 375
offset: 0, 8
index: -1
fire/fire_13
rotate: false
xy: 3245, 1586
size: 540, 324
orig: 540, 375
offset: 0, 17
index: -1
fire/fire_14
rotate: false
xy: 3244, 949
size: 540, 317
orig: 540, 375
offset: 0, 17
index: -1
fire/fire_15
rotate: false
xy: 2042, 41
size: 540, 287
orig: 540, 375
offset: 0, 30
index: -1
fire/fire_16
rotate: false
xy: 2583, 41
size: 540, 287
orig: 540, 375
offset: 0, 32
index: -1
fire/fire_17
rotate: true
xy: 1872, 798
size: 540, 289
orig: 540, 375
offset: 0, 31
index: -1
fire/fire_18
rotate: true
xy: 3786, 1370
size: 540, 294
orig: 540, 375
offset: 0, 32
index: -1
fire/fire_19
rotate: true
xy: 3124, 91
size: 540, 302
orig: 540, 375
offset: 0, 26
index: -1
fire/fire_2
rotate: false
xy: 2163, 1273
size: 540, 305
orig: 540, 375
offset: 0, 39
index: -1
fire/fire_20
rotate: false
xy: 2703, 632
size: 540, 312
orig: 540, 375
offset: 0, 22
index: -1
fire/fire_21
rotate: false
xy: 3244, 633
size: 540, 315
orig: 540, 375
offset: 0, 21
index: -1
fire/fire_22
rotate: false
xy: 2162, 948
size: 540, 324
orig: 540, 375
offset: 0, 18
index: -1
fire/fire_23
rotate: false
xy: 1622, 1339
size: 540, 340
orig: 540, 375
offset: 0, 13
index: -1
fire/fire_24
rotate: true
xy: 1210, 795
size: 540, 339
orig: 540, 375
offset: 0, 13
index: -1
fire/fire_25
rotate: false
xy: 1081, 1336
size: 540, 343
orig: 540, 375
offset: 0, 11
index: -1
fire/fire_26
rotate: true
xy: 455, 221
size: 540, 343
orig: 540, 375
offset: 0, 11
index: -1
fire/fire_27
rotate: false
xy: 2163, 1579
size: 540, 331
orig: 540, 375
offset: 0, 26
index: -1
fire/fire_28
rotate: false
xy: 2704, 1585
size: 540, 325
orig: 540, 375
offset: 0, 31
index: -1
fire/fire_29
rotate: true
xy: 3427, 92
size: 540, 302
orig: 540, 375
offset: 0, 37
index: -1
fire/fire_3
rotate: false
xy: 2704, 1269
size: 540, 315
orig: 540, 375
offset: 0, 32
index: -1
fire/fire_4
rotate: false
xy: 3245, 1267
size: 540, 318
orig: 540, 375
offset: 0, 30
index: -1
fire/fire_5
rotate: true
xy: 1105, 229
size: 540, 318
orig: 540, 375
offset: 0, 30
index: -1
fire/fire_6
rotate: true
xy: 1424, 254
size: 540, 317
orig: 540, 375
offset: 0, 23
index: -1
fire/fire_7
rotate: true
xy: 1550, 795
size: 540, 321
orig: 540, 375
offset: 0, 19
index: -1
fire/fire_8
rotate: false
xy: 2162, 634
size: 540, 313
orig: 540, 375
offset: 0, 16
index: -1
fire/fire_9
rotate: true
xy: 1742, 254
size: 540, 299
orig: 540, 375
offset: 0, 20
index: -1
freespins_bt
rotate: false
xy: 1081, 1680
size: 1005, 230
orig: 1025, 250
offset: 9, 10
index: -1
houhua1
rotate: false
xy: 0, 762
size: 899, 548
orig: 899, 601
offset: 0, 34
index: -1
huo
rotate: false
xy: 0, 1311
size: 1080, 599
orig: 1082, 601
offset: 1, 1
index: -1
huohua2
rotate: false
xy: 0, 183
size: 454, 578
orig: 487, 610
offset: 15, 32
index: -1
huohua3
rotate: false
xy: 3730, 233
size: 314, 399
orig: 336, 407
offset: 12, 8
index: -1
tm
rotate: true
xy: 2087, 1695
size: 215, 43
orig: 215, 43
offset: 0, 0
index: -1
xn/xn_0
rotate: false
xy: 907, 8
size: 216, 212
orig: 226, 229
offset: 10, 4
index: -1
xn/xn_1
rotate: false
xy: 1550, 45
size: 207, 208
orig: 226, 229
offset: 8, 4
index: -1
xn/xn_2
rotate: false
xy: 3730, 24
size: 210, 208
orig: 226, 229
offset: 7, 4
index: -1
xn/xn_3
rotate: true
xy: 681, 10
size: 210, 225
orig: 226, 229
offset: 7, 4
index: -1
xn/xn_4
rotate: true
xy: 1341, 18
size: 210, 208
orig: 226, 229
offset: 7, 4
index: -1
xn/xn_5
rotate: false
xy: 3785, 843
size: 214, 210
orig: 226, 229
offset: 7, 4
index: -1
xn/xn_6
rotate: true
xy: 3785, 633
size: 209, 208
orig: 226, 229
offset: 10, 4
index: -1
xn/xn_7
rotate: false
xy: 1124, 17
size: 216, 211
orig: 226, 229
offset: 6, 4
index: -1
xn/xn_8
rotate: true
xy: 455, 0
size: 220, 225
orig: 226, 229
offset: 6, 4
index: -1
xx
rotate: false
xy: 269, 41
size: 158, 141
orig: 176, 157
offset: 9, 8
index: -1

View File

@ -1,11 +0,0 @@
{
"ver": "1.0.1",
"importer": "text",
"imported": true,
"uuid": "8e671582-4d40-4a89-b18a-35e73a16228e",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

File diff suppressed because one or more lines are too long

View File

@ -1,11 +0,0 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "daa51229-5aed-4fd5-92e5-c6d7ce08bf6c",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -26,31 +26,19 @@
},
{
"__id__": 18
},
{
"__id__": 26
},
{
"__id__": 34
},
{
"__id__": 42
},
{
"__id__": 50
}
],
"_active": true,
"_components": [
{
"__id__": 56
"__id__": 24
},
{
"__id__": 58
"__id__": 26
}
],
"_prefab": {
"__id__": 60
"__id__": 28
},
"_lpos": {
"__type__": "cc.Vec3",
@ -149,7 +137,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2360
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -323,13 +311,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1957.3199462890625,
"height": 3054.2099609375
"width": 1081.3800048828125,
"height": 2365.989990234375
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.51614965731415,
"y": 0.49414086792980105
"x": 0.5000369694530722,
"y": 0.4999725521213031
},
"_id": ""
},
@ -360,11 +348,11 @@
"a": 255
},
"_skeletonData": {
"__uuid__": "60909bfc-2af4-45d3-9f3b-6ac50df88aa5",
"__uuid__": "11801922-7884-4cb8-837f-e2ebeac01879",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "BigWin_in",
"defaultAnimation": "",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,
@ -416,7 +404,7 @@
},
{
"__type__": "cc.Node",
"_name": "bigwinLabel",
"_name": "score",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@ -430,601 +418,15 @@
},
{
"__id__": 21
},
{
"__id__": 23
}
],
"_prefab": {
"__id__": 25
"__id__": 23
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 170,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"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": 513,
"height": 417
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.4994047619047619,
"y": 0.154627539503386
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e9xbtCTA9F/Ju/Ut9zaIhE"
},
{
"__type__": "cc.Sprite",
"_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
},
"_spriteFrame": {
"__uuid__": "f999ab39-2df5-4935-aed1-233d127703b7@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9bx+VEI19OPaU+MLdlN042"
},
{
"__type__": "e6c8d4szahIuLbtf6yx+hH6",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 24
},
"spriteName": "bigwin",
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1cydm+MlhLcZmT+jeq7VO3"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "2dJ0pHfERBT78G6+TPV4Vs",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "megawinLabel",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 27
},
{
"__id__": 29
},
{
"__id__": 31
}
],
"_prefab": {
"__id__": 33
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 170,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"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__": 26
},
"_enabled": true,
"__prefab": {
"__id__": 28
},
"_contentSize": {
"__type__": "cc.Size",
"width": 842,
"height": 417
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.4994047619047619,
"y": 0.154627539503386
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "10otMj0JFAgY0DFet0yC7T"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": {
"__id__": 30
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "ddbf9baa-f3a2-4f85-94f2-855109bfde4a@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bdz51xlb5D0Z68/8b/ZvyR"
},
{
"__type__": "e6c8d4szahIuLbtf6yx+hH6",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"spriteName": "megawin",
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7ew/IQP9ROeJ19SrIMFyAW"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "78fOAi6XdOT6MNgaAZC8Wr",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "supermegewinLabel",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 35
},
{
"__id__": 37
},
{
"__id__": 39
}
],
"_prefab": {
"__id__": 41
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 170,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"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__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_contentSize": {
"__type__": "cc.Size",
"width": 860,
"height": 427
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.4994047619047619,
"y": 0.154627539503386
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "dcME8DDk5Nybhnn86MWqVU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 38
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "00ac4bcf-7c0c-4c45-835b-47f4889b6f34@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1eSpT3C2tNlKzLX0qX9W5O"
},
{
"__type__": "e6c8d4szahIuLbtf6yx+hH6",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 40
},
"spriteName": "supermegawin",
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "28L5OFrh5BHIeiyh5GNmox"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "92XCGGdKhIKJFLmv2xYQYe",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 43
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 42
},
"asset": {
"__uuid__": "416765f1-4141-440b-9ec9-08dcd298f611",
"__expectedType__": "cc.Prefab"
},
"fileId": "c8UDm/VOpLB7va/IWyh84B",
"instance": {
"__id__": 44
},
"targetOverrides": []
},
{
"__type__": "cc.PrefabInstance",
"fileId": "28GYCF2rlEDLjebtBHtzRn",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 45
},
{
"__id__": 47
},
{
"__id__": 48
},
{
"__id__": 49
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 46
},
"propertyPath": [
"_name"
],
"value": "particle"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"c8UDm/VOpLB7va/IWyh84B"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 46
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 46
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 46
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "cc.Node",
"_name": "score",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
},
{
"__id__": 53
}
],
"_prefab": {
"__id__": 55
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -18.162,
"y": -333.162,
"z": 0
},
"_lrot": {
@ -1056,11 +458,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 52
"__id__": 20
},
"_contentSize": {
"__type__": "cc.Size",
@ -1084,11 +486,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
"__id__": 18
},
"_enabled": true,
"__prefab": {
"__id__": 54
"__id__": 22
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@ -1172,12 +574,12 @@
},
"_enabled": true,
"__prefab": {
"__id__": 57
"__id__": 25
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2360
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -1200,7 +602,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 59
"__id__": 27
},
"_alignFlags": 45,
"_target": null,
@ -1236,11 +638,6 @@
},
"fileId": "3fUZ77mfpOoapszHTzSb3E",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 42
}
]
"targetOverrides": null
}
]

View File

@ -135,7 +135,7 @@
"__id__": 2
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 4
@ -298,8 +298,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"x": 0.8,
"y": 0.8,
"z": 1
},
"_mobility": 0,
@ -326,13 +326,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 176.19000244140625,
"height": 217.0399932861328
"width": 214.14999389648438,
"height": 188.9199981689453
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.4341903566602245,
"y": 0.48838925211472806
"x": 0.4090590752781674,
"y": 0.5057167152314329
},
"_id": ""
},
@ -363,11 +363,11 @@
"a": 255
},
"_skeletonData": {
"__uuid__": "d1211c63-3e10-44b9-9b1c-0b700ebe8ed8",
"__uuid__": "2b6302e2-6b0d-47f4-8080-3638a470fa07",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "idle_1",
"defaultAnimation": "idle",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,
@ -638,10 +638,7 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "901b1d1c-ec33-4ca4-abf7-dcac57c55d2c@2c780",
"__expectedType__": "cc.SpriteFrame"
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
@ -654,10 +651,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "901b1d1c-ec33-4ca4-abf7-dcac57c55d2c",
"__expectedType__": "cc.SpriteAtlas"
},
"_atlas": null,
"_id": ""
},
{
@ -691,8 +685,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"height": 240
"width": 174,
"height": 196
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -728,7 +722,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "78fcf72a-7422-486a-a359-ffeb759ca424@31c34",
"__uuid__": "38030ab4-0211-4f04-aaa7-762d6a77b8af@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
@ -743,10 +737,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "78fcf72a-7422-486a-a359-ffeb759ca424",
"__expectedType__": "cc.SpriteAtlas"
},
"_atlas": null,
"_id": ""
},
{

View File

@ -285,8 +285,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"x": 9.487,
"y": 15,
"z": 0
},
"_lrot": {
@ -298,8 +298,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"x": 0.8,
"y": 0.8,
"z": 1
},
"_mobility": 0,
@ -326,13 +326,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 366.8500061035156,
"height": 728.2000122070312
"width": 266.489990234375,
"height": 355.0199890136719
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.3561946190402232,
"y": 0.34605876926071105
"x": 0.4957034445734158,
"y": 0.539406247327176
},
"_id": ""
},
@ -363,7 +363,7 @@
"a": 255
},
"_skeletonData": {
"__uuid__": "c765ebdb-53ce-4d0e-a42f-05d8ee4169ec",
"__uuid__": "4dae9577-b214-4e57-94ad-2f1e9d7c24ed",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
@ -602,8 +602,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 240
"width": 261,
"height": 331
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -638,10 +638,7 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "901b1d1c-ec33-4ca4-abf7-dcac57c55d2c@6e620",
"__expectedType__": "cc.SpriteFrame"
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
@ -654,10 +651,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "901b1d1c-ec33-4ca4-abf7-dcac57c55d2c",
"__expectedType__": "cc.SpriteAtlas"
},
"_atlas": null,
"_id": ""
},
{
@ -691,8 +685,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"height": 240
"width": 174,
"height": 201
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -728,7 +722,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "78fcf72a-7422-486a-a359-ffeb759ca424@c8a65",
"__uuid__": "8921bd77-fa6e-4097-887c-c33e97ba3b60@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
@ -743,10 +737,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "78fcf72a-7422-486a-a359-ffeb759ca424",
"__expectedType__": "cc.SpriteAtlas"
},
"_atlas": null,
"_id": ""
},
{

View File

@ -22,23 +22,23 @@
"__id__": 2
},
{
"__id__": 22
},
{
"__id__": 40
}
],
"_active": true,
"_components": [
{
"__id__": 44
"__id__": 34
},
{
"__id__": 46
}
],
"_active": true,
"_components": [
{
"__id__": 50
},
{
"__id__": 52
}
],
"_prefab": {
"__id__": 48
"__id__": 54
},
"_lpos": {
"__type__": "cc.Vec3",
@ -83,19 +83,25 @@
},
{
"__id__": 9
},
{
"__id__": 15
},
{
"__id__": 21
}
],
"_active": true,
"_components": [
{
"__id__": 17
"__id__": 29
},
{
"__id__": 19
"__id__": 31
}
],
"_prefab": {
"__id__": 21
"__id__": 33
},
"_lpos": {
"__type__": "cc.Vec3",
@ -128,7 +134,7 @@
},
{
"__type__": "cc.Node",
"_name": "spine",
"_name": "spine_1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@ -190,13 +196,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 183.35000610351562,
"height": 184.50999450683594
"width": 370.3500061035156,
"height": 649.3200073242188
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.4802290707426898,
"y": 0.4981302173238328
"x": 0.5522073474724714,
"y": 0.5217920189380811
},
"_id": ""
},
@ -227,12 +233,12 @@
"a": 255
},
"_skeletonData": {
"__uuid__": "10469d5b-b900-44c8-9ed9-ead82618d746",
"__uuid__": "5db5e22f-75a4-4b1a-a952-44d02435bb80",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "spawn",
"_premultipliedAlpha": true,
"defaultAnimation": "anim1",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,
"_cacheMode": 0,
@ -264,27 +270,24 @@
},
{
"__type__": "cc.Node",
"_name": "sprite",
"_name": "spine_2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
}
],
"_prefab": {
"__id__": 16
"__id__": 14
},
"_lpos": {
"__type__": "cc.Vec3",
@ -329,22 +332,22 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 157,
"height": 98
"width": 370.3500061035156,
"height": 649.3200073242188
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"x": 0.5522073474724714,
"y": 0.5217920189380811
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "25pPUNCY1MwIfLXuHOCE+b"
"fileId": "55cnZAlFBB8LeskxGmU628"
},
{
"__type__": "cc.Sprite",
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
@ -365,47 +368,28 @@
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "af42e15f-acb1-475c-acc2-0152ae7276c8@f9941",
"__expectedType__": "cc.SpriteFrame"
"_skeletonData": {
"__uuid__": "5db5e22f-75a4-4b1a-a952-44d02435bb80",
"__expectedType__": "sp.SkeletonData"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"defaultSkin": "default",
"defaultAnimation": "anim2",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,
"_cacheMode": 0,
"_sockets": [],
"_useTint": false,
"_debugMesh": false,
"_debugBones": false,
"_debugSlots": false,
"_enableBatch": true,
"loop": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "990iybCO1F8JicwIrVJDZw"
},
{
"__type__": "cc.UIOpacity",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 9
},
"_enabled": true,
"__prefab": {
"__id__": 15
},
"_opacity": 255,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7ejCvbR2hCPJ7oSZrTF1GN"
"fileId": "20l7rK65JMs6VY+5kPCHZ3"
},
{
"__type__": "cc.PrefabInfo",
@ -415,124 +399,31 @@
"asset": {
"__id__": 0
},
"fileId": "826d+8u4VAE5zPnBQxlZk6",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 18
},
"_contentSize": {
"__type__": "cc.Size",
"width": 174,
"height": 174
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1f7KVTNgJAIKeb4iB/3sp5"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 20
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "120bb259-fd1d-469d-81dc-afa194a15ea7@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7d8CI3qktEeLGIg4DcbhmE"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "fcOxbBN5ZLNpwtZtBjCXcV",
"fileId": "38lmhveCpHSqPfJ6N/yIfw",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "fast",
"_name": "spine_3",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
"__id__": 2
},
"_children": [
{
"__id__": 23
},
{
"__id__": 29
}
],
"_children": [],
"_active": false,
"_components": [
{
"__id__": 35
"__id__": 16
},
{
"__id__": 37
"__id__": 18
}
],
"_prefab": {
"__id__": 39
"__id__": 20
},
"_lpos": {
"__type__": "cc.Vec3",
@ -563,17 +454,106 @@
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"_contentSize": {
"__type__": "cc.Size",
"width": 370.3500061035156,
"height": 649.3200073242188
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5522073474724714,
"y": 0.5217920189380811
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9fBIiSJgxHTrVg/mp6n+Qo"
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 15
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_skeletonData": {
"__uuid__": "5db5e22f-75a4-4b1a-a952-44d02435bb80",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "anim3",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,
"_cacheMode": 0,
"_sockets": [],
"_useTint": false,
"_debugMesh": false,
"_debugBones": false,
"_debugSlots": false,
"_enableBatch": true,
"loop": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d2ruAZly9Hg5nPmD4ZvOZY"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ccaT3VpA5PC4vjLuoEZhfy",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "spine",
"_name": "sprite",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 22
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
},
{
"__id__": 24
},
@ -619,39 +599,39 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 21
},
"_enabled": true,
"__prefab": {
"__id__": 25
"__id__": 23
},
"_contentSize": {
"__type__": "cc.Size",
"width": 183.35000610351562,
"height": 184.50999450683594
"width": 157,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.4802290707426898,
"y": 0.4981302173238328
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3cQRgRCP5PoJKZV8vfWxz6"
"fileId": "25pPUNCY1MwIfLXuHOCE+b"
},
{
"__type__": "sp.Skeleton",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 21
},
"_enabled": true,
"__prefab": {
"__id__": 27
"__id__": 25
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@ -663,28 +643,47 @@
"b": 255,
"a": 255
},
"_skeletonData": {
"__uuid__": "10469d5b-b900-44c8-9ed9-ead82618d746",
"__expectedType__": "sp.SkeletonData"
"_spriteFrame": {
"__uuid__": "af42e15f-acb1-475c-acc2-0152ae7276c8@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"defaultSkin": "default",
"defaultAnimation": "<None>",
"_premultipliedAlpha": true,
"_timeScale": 1,
"_preCacheMode": 0,
"_cacheMode": 0,
"_sockets": [],
"_useTint": false,
"_debugMesh": false,
"_debugBones": false,
"_debugSlots": false,
"_enableBatch": true,
"loop": true,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0e0k7NKctFkpngzPcj9BgF"
"fileId": "990iybCO1F8JicwIrVJDZw"
},
{
"__type__": "cc.UIOpacity",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 21
},
"_enabled": true,
"__prefab": {
"__id__": 27
},
"_opacity": 255,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7ejCvbR2hCPJ7oSZrTF1GN"
},
{
"__type__": "cc.PrefabInfo",
@ -694,31 +693,168 @@
"asset": {
"__id__": 0
},
"fileId": "b1XXtPsr1Ju5469aiiFDDa",
"fileId": "826d+8u4VAE5zPnBQxlZk6",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 30
},
"_contentSize": {
"__type__": "cc.Size",
"width": 174,
"height": 174
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1f7KVTNgJAIKeb4iB/3sp5"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_type": 1,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7d8CI3qktEeLGIg4DcbhmE"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "fcOxbBN5ZLNpwtZtBjCXcV",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "fast",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 35
}
],
"_active": false,
"_components": [
{
"__id__": 41
},
{
"__id__": 43
}
],
"_prefab": {
"__id__": 45
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"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.Node",
"_name": "sp_fast",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 22
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 36
},
{
"__id__": 32
"__id__": 38
}
],
"_prefab": {
"__id__": 34
"__id__": 40
},
"_lpos": {
"__type__": "cc.Vec3",
@ -755,11 +891,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
"__id__": 35
},
"_enabled": true,
"__prefab": {
"__id__": 31
"__id__": 37
},
"_contentSize": {
"__type__": "cc.Size",
@ -783,11 +919,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
"__id__": 35
},
"_enabled": true,
"__prefab": {
"__id__": 33
"__id__": 39
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@ -841,11 +977,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
"__id__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 36
"__id__": 42
},
"_contentSize": {
"__type__": "cc.Size",
@ -869,11 +1005,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
"__id__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 38
"__id__": 44
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@ -933,11 +1069,11 @@
"_active": true,
"_components": [
{
"__id__": 41
"__id__": 47
}
],
"_prefab": {
"__id__": 43
"__id__": 49
},
"_lpos": {
"__type__": "cc.Vec3",
@ -974,11 +1110,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 40
"__id__": 46
},
"_enabled": true,
"__prefab": {
"__id__": 42
"__id__": 48
},
"_contentSize": {
"__type__": "cc.Size",
@ -1019,7 +1155,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 45
"__id__": 51
},
"_contentSize": {
"__type__": "cc.Size",
@ -1047,7 +1183,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 47
"__id__": 53
},
"iconSpine": {
"__id__": 6

View File

@ -69,7 +69,7 @@
"__id__": 1
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 3
@ -165,7 +165,7 @@
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "",
"defaultAnimation": "<None>",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,

File diff suppressed because it is too large Load Diff

View File

@ -50,7 +50,7 @@ export class SlotBar extends Component {
private freeSpinBg: Node = null;
private left_1: Node = null;
private leftCount: Label = null;
private leftCount: sp.Skeleton = null;
private left_2: Node = null;
private Msg: Node = null;
@ -98,7 +98,7 @@ export class SlotBar extends Component {
this.freeSpinBg = this.node.getChildByName('FreeSpinBg');
this.left_1 = this.freeSpinBg.getChildByName('left_1');
this.left_2 = this.freeSpinBg.getChildByName('left_2');
this.leftCount = this.left_1.getChildByName('leftCount').getComponent(Label);
this.leftCount = this.left_1.getChildByName('leftCount').getComponent(sp.Skeleton);
this.autoBtnAni = this.autoBtn.getComponent(Animation);
this.turboBtnAni = this.turboBtn.getComponent(Animation);
@ -584,7 +584,7 @@ export class SlotBar extends Component {
rfs.getComponent(LocalizedSprite).updateSprite();
this.left_1.getComponent(Layout).updateLayout();
this.left_1.active = true;
this.leftCount.string = leftCount.toString();
this.leftCount.setAnimation(0, `anim_${leftCount}`, true)
this.left_2.active = false;
} else {
this.left_1.active = false;

View File

@ -445,7 +445,7 @@ export class SlotGame extends Component {
tween(multiCopy)
.to(0.3, { scale: new Vec3(1.4, 1.4, 1) })
.to(1, { position: new Vec3(0, 100, 0) })
.to(1, { position: new Vec3(0, 200, 0) })
.call(() => {
multiCopy.destroy()
})
@ -715,7 +715,7 @@ export class SlotGame extends Component {
this.showOneScatterAndCollectx2(true)
this.readyHand.getChildByName('readyHand').active = true;
let spine = this.readyHand.getChildByName('readyHand').getComponent(sp.Skeleton);
spine.setAnimation(0, 'readyHand_01', true);
spine.setAnimation(0, 'animation', true);
let posX = this.rollerManager.getRollerPosition(rollerId - 1).x;
this.readyHand.setPosition(posX, 180, 0);

View File

@ -37,14 +37,14 @@ export class BigWinUI extends Component {
onCloseCallBack: (() => void) | null = null;
winMainSpine: sp.Skeleton | null = null;
bigwinLabelSprite: Sprite | null = null;
megawinLabelSprite: Sprite | null = null;
supermegawinLabelSprite: Sprite | null = null;
// bigwinLabelSprite: Sprite | null = null;
// megawinLabelSprite: Sprite | null = null;
// supermegawinLabelSprite: Sprite | null = null;
// 添加金币特效节点引用
bwEffectNode: Node | null = null;
mewEffectNode: Node | null = null;
smwEffectNode: Node | null = null;
currentEffectNode: Node | null = null;
// bwEffectNode: Node | null = null;
// mewEffectNode: Node | null = null;
// smwEffectNode: Node | null = null;
// currentEffectNode: Node | null = null;
currentWinType: WIN_TYPE = WIN_TYPE.BIG_WIN; // 当前播放的动画类型
// 添加一个标记来区分是否是点击跳过
@ -59,18 +59,18 @@ export class BigWinUI extends Component {
this.scoreLabel = this.bigWinUINode.getChildByName('score').getComponent(Label);
this.winMainSpine = this.bigWinUINode.getChildByName('winMain').getComponent(sp.Skeleton);
this.bigwinLabelSprite = this.bigWinUINode.getChildByName('bigwinLabel').getComponent(Sprite);
this.megawinLabelSprite = this.bigWinUINode.getChildByName('megawinLabel').getComponent(Sprite);
this.supermegawinLabelSprite = this.bigWinUINode.getChildByName('supermegewinLabel').getComponent(Sprite);
// this.bigwinLabelSprite = this.bigWinUINode.getChildByName('bigwinLabel').getComponent(Sprite);
// this.megawinLabelSprite = this.bigWinUINode.getChildByName('megawinLabel').getComponent(Sprite);
// this.supermegawinLabelSprite = this.bigWinUINode.getChildByName('supermegewinLabel').getComponent(Sprite);
let winGoldParticle = this.bigWinUINode.getChildByName('particle');
// let winGoldParticle = this.bigWinUINode.getChildByName('particle');
// 获取各个等级的特效节点
this.bwEffectNode = winGoldParticle.getChildByName('BIGWIN');
this.mewEffectNode = winGoldParticle.getChildByName('MEGAWIN');
this.smwEffectNode = winGoldParticle.getChildByName('SUPERMEGAWIN');
// this.bwEffectNode = winGoldParticle.getChildByName('BIGWIN');
// this.mewEffectNode = winGoldParticle.getChildByName('MEGAWIN');
// this.smwEffectNode = winGoldParticle.getChildByName('SUPERMEGAWIN');
// 初始时隐藏所有特效
this.hideAllEffects();
// this.hideAllEffects();
this.resetState();
@ -95,46 +95,46 @@ export class BigWinUI extends Component {
}
// 隐藏所有特效节点
private hideAllEffects() {
if (this.bwEffectNode) this.bwEffectNode.active = false;
if (this.mewEffectNode) this.mewEffectNode.active = false;
if (this.smwEffectNode) this.smwEffectNode.active = false;
this.currentEffectNode = null;
}
// private hideAllEffects() {
// if (this.bwEffectNode) this.bwEffectNode.active = false;
// if (this.mewEffectNode) this.mewEffectNode.active = false;
// if (this.smwEffectNode) this.smwEffectNode.active = false;
// this.currentEffectNode = null;
// }
// 根据大奖类型显示对应特效
private showEffectByType(winType: WIN_TYPE) {
// 先隐藏当前显示的特效
this.hideAllEffects();
// private showEffectByType(winType: WIN_TYPE) {
// // 先隐藏当前显示的特效
// this.hideAllEffects();
// 根据类型显示对应特效
let targetNode: Node | null = null;
switch (winType) {
case WIN_TYPE.SUPER_MEGA_WIN:
targetNode = this.smwEffectNode;
break;
case WIN_TYPE.MEGA_WIN:
targetNode = this.mewEffectNode;
break;
case WIN_TYPE.BIG_WIN:
targetNode = this.bwEffectNode;
break;
}
// // 根据类型显示对应特效
// let targetNode: Node | null = null;
// switch (winType) {
// case WIN_TYPE.SUPER_MEGA_WIN:
// targetNode = this.smwEffectNode;
// break;
// case WIN_TYPE.MEGA_WIN:
// targetNode = this.mewEffectNode;
// break;
// case WIN_TYPE.BIG_WIN:
// targetNode = this.bwEffectNode;
// break;
// }
if (targetNode) {
targetNode.active = true;
this.currentEffectNode = targetNode;
// if (targetNode) {
// targetNode.active = true;
// this.currentEffectNode = targetNode;
// 播放该节点下的所有粒子系统
const particles = targetNode.getComponentsInChildren(ParticleSystem);
particles.forEach(particle => {
particle.stop();
particle.clear();
particle.play();
});
}
}
// // 播放该节点下的所有粒子系统
// const particles = targetNode.getComponentsInChildren(ParticleSystem);
// particles.forEach(particle => {
// particle.stop();
// particle.clear();
// particle.play();
// });
// }
// }
calculateDynamicTargets() {
this.dynamicTargets = [];
@ -231,18 +231,18 @@ export class BigWinUI extends Component {
async playSpineByType(winType: WIN_TYPE, state: 'in' | 'loop' | 'out') {
if (!this.winMainSpine) return;
if (!this.bigwinLabelSprite) return;
// if (!this.bigwinLabelSprite) return;
let prefix = '';
switch (winType) {
case WIN_TYPE.SUPER_MEGA_WIN:
prefix = 'SuperMegaWin';
prefix = 'super';
break;
case WIN_TYPE.MEGA_WIN:
prefix = 'MegaWin';
prefix = 'mega';
break;
default:
prefix = 'BigWin';
prefix = 'big';
break;
}
@ -280,9 +280,9 @@ export class BigWinUI extends Component {
// this.playSpineByType(winType, 'loop');
// });
// this.winLabelSprite.setAnimation(0, animName, false);
this.playWinLabelAnimation(prefix, state)
// this.playWinLabelAnimation(prefix, state)
// 显示对应类型的特效
this.showEffectByType(winType);
// this.showEffectByType(winType);
} else if (state === 'loop') {
this.winMainSpine.setCompleteListener(null);
@ -290,11 +290,11 @@ export class BigWinUI extends Component {
// this.winLabelSprite.setCompleteListener(null);
// this.winLabelSprite.setAnimation(0, animName, true);
this.playWinLabelAnimation(prefix, state)
// this.playWinLabelAnimation(prefix, state)
// 显示对应类型的特效
this.showEffectByType(winType);
// this.showEffectByType(winType);
} else {
this.playWinLabelAnimation(prefix, state)
// this.playWinLabelAnimation(prefix, state)
this.winMainSpine.setCompleteListener(null);
this.winMainSpine.setAnimation(0, animName, false);
@ -308,14 +308,14 @@ export class BigWinUI extends Component {
// this.winLabelSprite.setAnimation(0, animName, false);
// 停止并隐藏特效
if (this.currentEffectNode) {
const particles = this.currentEffectNode.getComponentsInChildren(ParticleSystem);
particles.forEach(particle => {
particle.stop();
particle.clear();
});
}
this.hideAllEffects();
// if (this.currentEffectNode) {
// const particles = this.currentEffectNode.getComponentsInChildren(ParticleSystem);
// particles.forEach(particle => {
// particle.stop();
// particle.clear();
// });
// }
// this.hideAllEffects();
}
}
@ -330,40 +330,40 @@ export class BigWinUI extends Component {
}
}
playWinLabelAnimation(prefix, state: string) {
if (state == 'in') {
switch (prefix) {
case 'BigWin':
Tween.stopAllByTag(100)
tween(this.bigwinLabelSprite.node)
.tag(100)
.to(0.5, { scale: v3(1.2, 1.2, 1) })
.to(0.2, { scale: v3(1, 1, 1) })
.start()
break
case 'MegaWin':
Tween.stopAllByTag(100)
this.bigwinLabelSprite.node.setScale(0, 0, 1)
tween(this.megawinLabelSprite.node)
.tag(100)
.to(0.5, { scale: v3(1.2, 1.2, 1) })
.to(0.2, { scale: v3(1, 1, 1) })
.start()
break
// playWinLabelAnimation(prefix, state: string) {
// if (state == 'in') {
// switch (prefix) {
// case 'big':
// Tween.stopAllByTag(100)
// tween(this.bigwinLabelSprite.node)
// .tag(100)
// .to(0.5, { scale: v3(1.2, 1.2, 1) })
// .to(0.2, { scale: v3(1, 1, 1) })
// .start()
// break
// case 'mega':
// Tween.stopAllByTag(100)
// this.bigwinLabelSprite.node.setScale(0, 0, 1)
// tween(this.megawinLabelSprite.node)
// .tag(100)
// .to(0.5, { scale: v3(1.2, 1.2, 1) })
// .to(0.2, { scale: v3(1, 1, 1) })
// .start()
// break
case 'SuperMegaWin':
Tween.stopAllByTag(100)
this.megawinLabelSprite.node.setScale(0, 0, 1)
this.bigwinLabelSprite.node.setScale(0, 0, 1)
tween(this.supermegawinLabelSprite.node)
.tag(100)
.to(0.5, { scale: v3(1.2, 1.2, 1) })
.to(0.2, { scale: v3(1, 1, 1) })
.start()
break
// case 'super':
// Tween.stopAllByTag(100)
// this.megawinLabelSprite.node.setScale(0, 0, 1)
// this.bigwinLabelSprite.node.setScale(0, 0, 1)
// tween(this.supermegawinLabelSprite.node)
// .tag(100)
// .to(0.5, { scale: v3(1.2, 1.2, 1) })
// .to(0.2, { scale: v3(1, 1, 1) })
// .start()
// break
}
} else if (state == 'loop') {
// }
// } else if (state == 'loop') {
// switch (prefix) {
// case 'BigWin':
// Tween.stopAllByTag(100)
@ -404,37 +404,37 @@ export class BigWinUI extends Component {
// break
// }
} else {
switch (prefix) {
case 'BigWin':
Tween.stopAllByTag(100)
tween(this.bigwinLabelSprite.node)
.tag(100)
.to(0.5, { scale: v3(1.3, 1.3, 1) })
.to(0.5, { scale: v3(0, 0, 1) })
.start()
break
case 'MegaWin':
Tween.stopAllByTag(100)
tween(this.megawinLabelSprite.node)
.tag(100)
.to(0.5, { scale: v3(1.3, 1.3, 1) })
.to(0.5, { scale: v3(0, 0, 1) })
.start()
break
// } else {
// switch (prefix) {
// case 'big':
// Tween.stopAllByTag(100)
// tween(this.bigwinLabelSprite.node)
// .tag(100)
// .to(0.5, { scale: v3(1.3, 1.3, 1) })
// .to(0.5, { scale: v3(0, 0, 1) })
// .start()
// break
// case 'mega':
// Tween.stopAllByTag(100)
// tween(this.megawinLabelSprite.node)
// .tag(100)
// .to(0.5, { scale: v3(1.3, 1.3, 1) })
// .to(0.5, { scale: v3(0, 0, 1) })
// .start()
// break
case 'SuperMegaWin':
Tween.stopAllByTag(100)
tween(this.supermegawinLabelSprite.node)
.tag(100)
.to(0.5, { scale: v3(1.3, 1.3, 1) })
.to(0.5, { scale: v3(0, 0, 1) })
.start()
break
// case 'super':
// Tween.stopAllByTag(100)
// tween(this.supermegawinLabelSprite.node)
// .tag(100)
// .to(0.5, { scale: v3(1.3, 1.3, 1) })
// .to(0.5, { scale: v3(0, 0, 1) })
// .start()
// break
}
}
}
// }
// }
// }
updateScoreLabel() {
if (this.scoreLabel) this.scoreLabel.string = gold2cash(this.currentScore);
@ -464,7 +464,7 @@ export class BigWinUI extends Component {
// 直接播放最终类型的start动画完成后自动切换到loop
this.playSpineByType(this.winType, 'in');
// 直接切换到最终特效
this.showEffectByType(this.winType);
// this.showEffectByType(this.winType);
this.bigWinAudio.stop();
this.bigWinAudio.clip = this.bigWinAudioClips[3];
if (!AudioManager.instance.getMuted()) {
@ -527,14 +527,14 @@ export class BigWinUI extends Component {
}
// 停止所有特效
if (this.currentEffectNode) {
const particles = this.currentEffectNode.getComponentsInChildren(ParticleSystem);
particles.forEach(particle => {
particle.stop();
particle.clear();
});
}
this.hideAllEffects();
// if (this.currentEffectNode) {
// const particles = this.currentEffectNode.getComponentsInChildren(ParticleSystem);
// particles.forEach(particle => {
// particle.stop();
// particle.clear();
// });
// }
// this.hideAllEffects();
this.unscheduleAllCallbacks();
// 清理spine监听器

View File

@ -623,7 +623,7 @@ export class HRoller extends BaseRoller {
iconComponent.playDeleteAni();
this.scheduleOnce(() => {
this.iconFactory.recycleIcon(iconNode);
}, 1.2)
}, 1.5)
}
this.node.emit(ROLLER_EVENT.ICON_DELETED, this._rollerId);

View File

@ -321,13 +321,19 @@ export class Icon extends Component {
this._fastSpriteNode.getComponent(Sprite).spriteFrame = this.multiBlurSprite[multi]
switch (true) {
case multi < 4:
this._normalNode.getComponent(Sprite).spriteFrame = this.multiFrameSprite[0]
this._normalNode.children[0].active = true
this._normalNode.children[1].active = false
this._normalNode.children[2].active = false
break
case multi >= 7:
this._normalNode.getComponent(Sprite).spriteFrame = this.multiFrameSprite[2]
this._normalNode.children[0].active = false
this._normalNode.children[1].active = false
this._normalNode.children[2].active = true
break
default:
this._normalNode.getComponent(Sprite).spriteFrame = this.multiFrameSprite[1]
this._normalNode.children[0].active = false
this._normalNode.children[1].active = true
this._normalNode.children[2].active = false
break
}
@ -364,7 +370,7 @@ export class Icon extends Component {
this._state = ICON_STATE.IDLE;
if (this._iconId != 2) return
if (!this._isMulti) return
this._normalSpriteNode.getComponent(UIOpacity).opacity = 255
}
@ -424,6 +430,11 @@ export class Icon extends Component {
this._normalSpriteNode && (this._normalSpriteNode.active = false);
this.iconSpine.clearTracks();
this.iconSpine.setCompleteListener(null);
if (this._iconId == 0) {
this.iconSpine.setAnimation(0, 'win', true);
} else if (this._iconId == 1) {
this.iconSpine.setAnimation(0, 'win_1', true);
}
this.iconSpine.setAnimation(0, 'win_1', false);
}
} else if (this.iconSpine && this.iconSpine.node) {
@ -438,7 +449,11 @@ export class Icon extends Component {
this.iconSpine.setCompleteListener(() => {
this.iconSpine.setCompleteListener(null);
if (this._isWildOrScatter) {
this.iconSpine.setAnimation(0, 'idle_1', true);
if (this._iconId == 0) {
this.iconSpine.setAnimation(0, 'idle', true);
} else if (this._iconId == 1) {
this.iconSpine.setAnimation(0, 'idle_1', true);
}
} else {
this.iconSpine.clearTracks();
this.iconSpine.node.active = false;
@ -507,7 +522,7 @@ export class Icon extends Component {
tween(multiMoveNode)
.to(0.3, { scale: new Vec3(1.4, 1.4, 1) })
.to(1, { position: new Vec3(0, 100, 0) })
.to(1, { position: new Vec3(0, 200, 0) })
.call(() => {
multiMoveNode.destroy()
@ -548,12 +563,16 @@ export class Icon extends Component {
if (!this.iconSpine) return;
if (this._isWildOrScatter) {
this.iconSpine.setAnimation(0, 'spawn_1', false);
this.iconSpine.setCompleteListener(() => {
if (!this.iconSpine) return;
// this.iconSpine.setAnimation(0, 'spawn_1', false);
// this.iconSpine.setCompleteListener(() => {
if (!this.iconSpine) return;
if (this._iconId == 0) {
this.iconSpine.setAnimation(0, 'idle', true);
} else if (this._iconId == 1) {
this.iconSpine.setAnimation(0, 'idle_1', true);
this.iconSpine.setCompleteListener(null);
});
}
this.iconSpine.setCompleteListener(null);
// });
} else {
// this.iconSpine.setAnimation(0, "spawn", false);
}
@ -576,7 +595,11 @@ export class Icon extends Component {
this._normalSpriteNode && (this._normalSpriteNode.active = false);
this.iconSpine.clearTracks();
this.iconSpine.setCompleteListener(null);
this.iconSpine.setAnimation(0, 'idle_1', false);
if (this._iconId == 0) {
this.iconSpine.setAnimation(0, 'idle', true);
} else if (this._iconId == 1) {
this.iconSpine.setAnimation(0, 'idle_1', true);
}
} else if (this.iconSpine) {
this.iconSpine.node.active = false;
this.iconSpine.clearTracks();
@ -596,6 +619,7 @@ export class Icon extends Component {
playDeleteAni() {
// 从对象池获取或重用winSpine节点
let winSpine = NodePoolManager.instance.getNodeFromPoolStatic('winSpine', this.winSpinePrefab);
// let winSpine = instantiate(this.winSpinePrefab)
winSpine.setParent(this.node);
@ -606,8 +630,10 @@ export class Icon extends Component {
ascendWin.active = true;
let skeleton = ascendWin.getComponent(sp.Skeleton);
skeleton.setAnimation(0, `anim${this.lHeight}`, false);
skeleton.setCompleteListener(() => {
this.schedule(() => {
skeleton.setCompleteListener(null);
skeleton.clearTracks()
ascendWin.active = false;
// 隐藏所有子节点
let children = winSpine.children;
for (let i = 0; i < children.length; i++) {
@ -615,108 +641,121 @@ export class Icon extends Component {
}
winSpine.removeFromParent();
NodePoolManager.instance.putNodeToPool('winSpine', winSpine);
}, 1.2)
// skeleton.setCompleteListener(() => {
// skeleton.setCompleteListener(null);
// skeleton.clearTracks()
// ascendWin.active = false;
// // 隐藏所有子节点
// let children = winSpine.children;
// for (let i = 0; i < children.length; i++) {
// children[i].active = false;
// }
// winSpine.removeFromParent();
// // NodePoolManager.instance.putNodeToPool('winSpine', winSpine);
})
// })
}
playChangeAni(isChange: boolean) {
if (isChange) {
let winSpine = NodePoolManager.instance.getNodeFromPoolStatic('winSpine', this.winSpinePrefab);
// playChangeAni(isChange: boolean) {
// if (isChange) {
// let winSpine = NodePoolManager.instance.getNodeFromPoolStatic('winSpine', this.winSpinePrefab);
winSpine.setParent(this.node);
winSpine.setPosition(0, 0, 0);
winSpine.setScale(1, 1, 1);
// winSpine.setParent(this.node);
// winSpine.setPosition(0, 0, 0);
// winSpine.setScale(1, 1, 1);
let ascendWin = winSpine.getChildByName('ascend_win');
let skeleton = ascendWin.getComponent(sp.Skeleton);
// let ascendWin = winSpine.getChildByName('ascend_win');
// let skeleton = ascendWin.getComponent(sp.Skeleton);
ascendWin.active = true;
skeleton.setAnimation(0, `anim${this.lHeight}`, false);
skeleton.setCompleteListener(() => {
skeleton.setCompleteListener(null);
ascendWin.active = false;
this.playChangeSprite(true);
})
} else {
// 清理winSpine节点
let winSpine = this.node.getChildByName('winSpine');
if (winSpine) {
// 停用所有子节点
let children = winSpine.children;
for (let i = 0; i < children.length; i++) {
children[i].active = false;
}
// ascendWin.active = true;
// skeleton.setAnimation(0, `anim${this.lHeight}`, false);
// skeleton.setCompleteListener(() => {
// skeleton.setCompleteListener(null);
// skeleton.clearTracks()
// ascendWin.active = false;
// this.playChangeSprite(true);
// })
// } else {
// // 清理winSpine节点
// let winSpine = this.node.getChildByName('winSpine');
// if (winSpine) {
// // 停用所有子节点
// let children = winSpine.children;
// for (let i = 0; i < children.length; i++) {
// children[i].active = false;
// }
// 回收节点
winSpine.removeFromParent();
NodePoolManager.instance.putNodeToPool('winSpine', winSpine);
}
// // 回收节点
// winSpine.removeFromParent();
// NodePoolManager.instance.putNodeToPool('winSpine', winSpine);
// }
// 停止精灵切换动画
this.playChangeSprite(false);
}
}
// // 停止精灵切换动画
// this.playChangeSprite(false);
// }
// }
playChangeSprite(isChange: boolean) {
// 先清理之前的回调
if (this._iconChangeCallback) {
this.unschedule(this._iconChangeCallback);
this._iconChangeCallback = null;
}
// playChangeSprite(isChange: boolean) {
// // 先清理之前的回调
// if (this._iconChangeCallback) {
// this.unschedule(this._iconChangeCallback);
// this._iconChangeCallback = null;
// }
if (isChange) {
// 隐藏原始节点
if (this._normalSpriteNode) {
this._normalSpriteNode.active = false;
}
// if (isChange) {
// // 隐藏原始节点
// if (this._normalSpriteNode) {
// this._normalSpriteNode.active = false;
// }
// 复用现有changeNode或创建新的
let changeNode = this.node.getChildByName('ChangeSprite');
if (!changeNode) {
changeNode = new Node('ChangeSprite');
changeNode.setParent(this.node);
}
// // 复用现有changeNode或创建新的
// let changeNode = this.node.getChildByName('ChangeSprite');
// if (!changeNode) {
// changeNode = new Node('ChangeSprite');
// changeNode.setParent(this.node);
// }
if (this._normalSpriteNode) {
changeNode.setPosition(this._normalSpriteNode.position);
changeNode.setScale(this._normalSpriteNode.scale);
}
// if (this._normalSpriteNode) {
// changeNode.setPosition(this._normalSpriteNode.position);
// changeNode.setScale(this._normalSpriteNode.scale);
// }
// 获取或添加Sprite组件
this._changeSprite = changeNode.getComponent(Sprite) || changeNode.addComponent(Sprite);
// // 获取或添加Sprite组件
// this._changeSprite = changeNode.getComponent(Sprite) || changeNode.addComponent(Sprite);
// 复制原始Sprite的属性
if (this._normalSpriteNode) {
let originalSprite = this._normalSpriteNode.getComponent(Sprite);
if (originalSprite && originalSprite.spriteFrame) {
this._changeSprite.spriteFrame = originalSprite.spriteFrame;
this._changeSprite.sizeMode = originalSprite.sizeMode;
this._changeSprite.trim = originalSprite.trim;
}
}
// // 复制原始Sprite的属性
// if (this._normalSpriteNode) {
// let originalSprite = this._normalSpriteNode.getComponent(Sprite);
// if (originalSprite && originalSprite.spriteFrame) {
// this._changeSprite.spriteFrame = originalSprite.spriteFrame;
// this._changeSprite.sizeMode = originalSprite.sizeMode;
// this._changeSprite.trim = originalSprite.trim;
// }
// }
this._iconChangeCallback = this.updateChangeSpriteFrame;
this.schedule(this._iconChangeCallback, 0.1);
} else {
// 停止动画并清理
if (this._iconChangeCallback) {
this.unschedule(this._iconChangeCallback);
this._iconChangeCallback = null;
}
// this._iconChangeCallback = this.updateChangeSpriteFrame;
// this.schedule(this._iconChangeCallback, 0.1);
// } else {
// // 停止动画并清理
// if (this._iconChangeCallback) {
// this.unschedule(this._iconChangeCallback);
// this._iconChangeCallback = null;
// }
// 移除切换动画节点
if (this._changeSprite && this._changeSprite.node) {
this._changeSprite.node.destroy();
this._changeSprite = null;
}
}
}
// // 移除切换动画节点
// if (this._changeSprite && this._changeSprite.node) {
// this._changeSprite.node.destroy();
// this._changeSprite = null;
// }
// }
// }
updateChangeSpriteFrame = () => {
if (this._changeSprite) {
this._changeSprite.spriteFrame = GameDataManager.instance.getRandomSymbol();
}
}
// updateChangeSpriteFrame = () => {
// if (this._changeSprite) {
// this._changeSprite.spriteFrame = GameDataManager.instance.getRandomSymbol();
// }
// }
// 获取精灵帧

View File

@ -734,7 +734,7 @@ export class Roller extends BaseRoller {
processedPos.add(startPos);
}
iconComponent.playWinAni(true);
iconComponent.playChangeAni(true);
// iconComponent.playChangeAni(true);
}
}
@ -767,7 +767,7 @@ export class Roller extends BaseRoller {
}
iconComponent.playChangeAni(false);
// iconComponent.playChangeAni(false);
// 1. 从数据结构中删除旧图标
this._allIcons.delete(iconKey);
// 回收旧图标节点

View File

@ -17,7 +17,7 @@ export class SpinAni extends Component {
}
public startSpin() {
this.rotateSpine.setAnimation(0, 'Click', false)
this.rotateSpine.setAnimation(0, 'Click', true)
// this.rotateSpine.addAnimation(0, 'Unclicked', true)
}

View File

@ -2737,7 +2737,7 @@
"__id__": 2
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 74
@ -2788,13 +2788,13 @@
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 266.489990234375,
"height": 355.0199890136719
"width": 174.24000549316406,
"height": 522.280029296875
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.4957034445734158,
"y": 0.539406247327176
"x": 0.49988519127737446,
"y": 0.5001339833091739
},
"_id": "5eCOl9iDBOqrx+o9MzHH/Q"
},
@ -2819,11 +2819,11 @@
"a": 255
},
"_skeletonData": {
"__uuid__": "4dae9577-b214-4e57-94ad-2f1e9d7c24ed",
"__uuid__": "c4c5d54b-a1e3-4eba-b866-11cc9129f20c",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "idle_1",
"defaultAnimation": "anim3",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,
@ -2834,7 +2834,7 @@
"_debugBones": false,
"_debugSlots": false,
"_enableBatch": false,
"loop": true,
"loop": false,
"_id": "ab7skyMJ5L9pSQgJ0kmqWb"
},
{