元素动效

This commit is contained in:
TJH 2026-04-24 11:33:29 +08:00
parent 48d25fbeb6
commit 70b2a8e4e0
21 changed files with 2515 additions and 3583 deletions

View File

@ -695,8 +695,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": -5,
"y": 0, "y": 14,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -708,8 +708,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1, "x": 0.9,
"y": 1, "y": 0.9,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@ -736,13 +736,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 179, "width": 192,
"height": 159 "height": 205
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5027932960893855, "x": 0.4895833333333333,
"y": 0.48427672955974843 "y": 0.4975609756097561
}, },
"_id": "" "_id": ""
}, },
@ -758,7 +758,7 @@
"node": { "node": {
"__id__": 27 "__id__": 27
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 31
}, },
@ -773,7 +773,7 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "efed9a44-2375-4566-abdf-bf5e5d28f36f", "__uuid__": "7d9bb141-9d7a-4d07-b368-709408692576",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
@ -901,6 +901,7 @@
"multiNode": null, "multiNode": null,
"multiSpriteFrames": [], "multiSpriteFrames": [],
"blurMultiSpriteFrames": [], "blurMultiSpriteFrames": [],
"multiSpines": [],
"_id": "" "_id": ""
}, },
{ {

View File

@ -31,14 +31,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 36 "__id__": 38
}, },
{ {
"__id__": 38 "__id__": 40
} }
], ],
"_prefab": { "_prefab": {
"__id__": 40 "__id__": 42
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -638,10 +638,13 @@
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 33
},
{
"__id__": 35
} }
], ],
"_prefab": { "_prefab": {
"__id__": 35 "__id__": 37
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -695,8 +698,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -1.864, "x": 0,
"y": 1.143, "y": 4,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -736,13 +739,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1080, "width": 179,
"height": 1920 "height": 179
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.4972067039106145,
"y": 0.5 "y": 0.4972067039106145
}, },
"_id": "" "_id": ""
}, },
@ -758,7 +761,7 @@
"node": { "node": {
"__id__": 27 "__id__": 27
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 31
}, },
@ -773,11 +776,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "16e1163d-09f7-49d8-b5b8-a0047ed28b8a", "__uuid__": "9341dc7d-171b-44cb-b552-166c0672455b",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "chixu", "defaultAnimation": "",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,
@ -822,8 +825,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 176, "width": 174,
"height": 178 "height": 160
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -836,6 +839,51 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "00Rt5L0dBG2avrUYFTFaz5" "fileId": "00Rt5L0dBG2avrUYFTFaz5"
}, },
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "5f660918-50a7-4fb5-8702-ccf40c4dd250@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": "0dJBuzCk1OFpBb7XbE9u+u"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@ -859,7 +907,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 37 "__id__": 39
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -887,7 +935,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 39 "__id__": 41
}, },
"normalNode": { "normalNode": {
"__id__": 2 "__id__": 2
@ -898,6 +946,10 @@
"spineNode": { "spineNode": {
"__id__": 26 "__id__": 26
}, },
"multiNode": null,
"multiSpriteFrames": [],
"blurMultiSpriteFrames": [],
"multiSpines": [],
"_id": "" "_id": ""
}, },
{ {

View File

@ -28,20 +28,20 @@
"__id__": 26 "__id__": 26
}, },
{ {
"__id__": 36 "__id__": 38
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 46 "__id__": 48
}, },
{ {
"__id__": 48 "__id__": 50
} }
], ],
"_prefab": { "_prefab": {
"__id__": 50 "__id__": 52
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -641,10 +641,13 @@
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 33
},
{
"__id__": 35
} }
], ],
"_prefab": { "_prefab": {
"__id__": 35 "__id__": 37
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -739,8 +742,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1080, "width": 1082,
"height": 1920 "height": 2362
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -761,7 +764,7 @@
"node": { "node": {
"__id__": 27 "__id__": 27
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 31
}, },
@ -776,11 +779,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "8ad4927f-0241-492c-b02c-d27cce6be7dd", "__uuid__": "99118768-e5f4-4766-a85f-31671b2d8f46",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "animation", "defaultAnimation": "idle",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,
@ -825,8 +828,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 176, "width": 174,
"height": 178 "height": 194
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -839,6 +842,51 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "83ydrtbVBP1a0KeLPSWJ7z" "fileId": "83ydrtbVBP1a0KeLPSWJ7z"
}, },
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "e9d0d723-ecd0-4251-97a6-7dd441a04ae6@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": "d1NQmvNuxERaQ/P2bwq9om"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@ -862,17 +910,17 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 37 "__id__": 39
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 43 "__id__": 45
} }
], ],
"_prefab": { "_prefab": {
"__id__": 45 "__id__": 47
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -909,20 +957,20 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 36 "__id__": 38
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 38 "__id__": 40
}, },
{ {
"__id__": 40 "__id__": 42
} }
], ],
"_prefab": { "_prefab": {
"__id__": 42 "__id__": 44
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -959,11 +1007,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 37 "__id__": 39
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 39 "__id__": 41
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -987,11 +1035,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 37 "__id__": 39
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 41 "__id__": 43
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@ -1071,11 +1119,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 36 "__id__": 38
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 44 "__id__": 46
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -1116,7 +1164,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 47 "__id__": 49
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -1144,7 +1192,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 49 "__id__": 51
}, },
"normalNode": { "normalNode": {
"__id__": 2 "__id__": 2
@ -1156,7 +1204,7 @@
"__id__": 26 "__id__": 26
}, },
"multiNode": { "multiNode": {
"__id__": 36 "__id__": 38
}, },
"multiSpriteFrames": [ "multiSpriteFrames": [
{ {
@ -1202,6 +1250,28 @@
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
} }
], ],
"multiSpines": [
{
"__uuid__": "99118768-e5f4-4766-a85f-31671b2d8f46",
"__expectedType__": "sp.SkeletonData"
},
{
"__uuid__": "a209929d-0be0-432f-b47e-d2e7e7b54337",
"__expectedType__": "sp.SkeletonData"
},
{
"__uuid__": "ac135226-de68-4371-bf95-8f215a208e1a",
"__expectedType__": "sp.SkeletonData"
},
{
"__uuid__": "688e668a-8498-455f-995c-937e692c04c6",
"__expectedType__": "sp.SkeletonData"
},
{
"__uuid__": "75443df4-2b37-44d8-b9e7-90e45d80e127",
"__expectedType__": "sp.SkeletonData"
}
],
"_id": "" "_id": ""
}, },
{ {

View File

@ -31,14 +31,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 36 "__id__": 38
}, },
{ {
"__id__": 38 "__id__": 40
} }
], ],
"_prefab": { "_prefab": {
"__id__": 40 "__id__": 42
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -638,15 +638,18 @@
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 33
},
{
"__id__": 35
} }
], ],
"_prefab": { "_prefab": {
"__id__": 35 "__id__": 37
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 2, "x": 0,
"y": 9, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -695,8 +698,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -2.177, "x": 0,
"y": -3.567, "y": 4,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -736,13 +739,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 139, "width": 179,
"height": 142.1300048828125 "height": 179
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5035971223021583, "x": 0.4972067039106145,
"y": 0.5004572912810726 "y": 0.4972067039106145
}, },
"_id": "" "_id": ""
}, },
@ -758,7 +761,7 @@
"node": { "node": {
"__id__": 27 "__id__": 27
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 31
}, },
@ -773,11 +776,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "d556dd0c-b8e8-4ddd-af3c-256ea7f0fcac", "__uuid__": "f3348b63-ecf1-4119-8b76-72dfa7175b93",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "tan", "defaultAnimation": "",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,
@ -822,8 +825,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 176, "width": 174,
"height": 178 "height": 160
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -836,6 +839,51 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "e0GFthjRtBzrC08P0PniKg" "fileId": "e0GFthjRtBzrC08P0PniKg"
}, },
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "36e61961-bced-4336-b51d-9d673ff17e8e@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": "efxWb7lm1NW5FjjHXC7OQp"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@ -859,7 +907,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 37 "__id__": 39
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -887,7 +935,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 39 "__id__": 41
}, },
"normalNode": { "normalNode": {
"__id__": 2 "__id__": 2
@ -898,6 +946,10 @@
"spineNode": { "spineNode": {
"__id__": 26 "__id__": 26
}, },
"multiNode": null,
"multiSpriteFrames": [],
"blurMultiSpriteFrames": [],
"multiSpines": [],
"_id": "" "_id": ""
}, },
{ {

View File

@ -31,14 +31,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 36 "__id__": 38
}, },
{ {
"__id__": 38 "__id__": 40
} }
], ],
"_prefab": { "_prefab": {
"__id__": 40 "__id__": 42
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -255,6 +255,8 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "f1iSEyLv1PrbtFeiuJKKlA", "fileId": "f1iSEyLv1PrbtFeiuJKKlA",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@ -529,6 +531,8 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "58NpX4CXRKopv6z2y55UqH", "fileId": "58NpX4CXRKopv6z2y55UqH",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@ -634,10 +638,13 @@
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 33
},
{
"__id__": 35
} }
], ],
"_prefab": { "_prefab": {
"__id__": 35 "__id__": 37
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -691,8 +698,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.123, "x": 0,
"y": 0.096, "y": 6,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -732,13 +739,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 180, "width": 179,
"height": 170 "height": 179
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.4972067039106145,
"y": 0.5 "y": 0.4972067039106145
}, },
"_id": "" "_id": ""
}, },
@ -754,7 +761,7 @@
"node": { "node": {
"__id__": 27 "__id__": 27
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 31
}, },
@ -769,11 +776,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "e900288a-3049-4145-bb39-a0dd81a75198", "__uuid__": "de8f028a-aa3a-4280-a9c9-c071bf41a58d",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "chixu", "defaultAnimation": "",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,
@ -800,6 +807,8 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "65eqkvwJxGKLqtRDMxECzA", "fileId": "65eqkvwJxGKLqtRDMxECzA",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@ -816,8 +825,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 176, "width": 174,
"height": 178 "height": 160
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -830,6 +839,51 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "27ZbNZZpxDjbEZ397KEsun" "fileId": "27ZbNZZpxDjbEZ397KEsun"
}, },
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "3488a20a-9102-4f25-8b6b-f887a032456f@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": "a1id0z9y9Iro4EozHDZvPI"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@ -853,7 +907,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 37 "__id__": 39
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -881,7 +935,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 39 "__id__": 41
}, },
"normalNode": { "normalNode": {
"__id__": 2 "__id__": 2
@ -892,6 +946,10 @@
"spineNode": { "spineNode": {
"__id__": 26 "__id__": 26
}, },
"multiNode": null,
"multiSpriteFrames": [],
"blurMultiSpriteFrames": [],
"multiSpines": [],
"_id": "" "_id": ""
}, },
{ {

View File

@ -31,14 +31,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 36 "__id__": 38
}, },
{ {
"__id__": 38 "__id__": 40
} }
], ],
"_prefab": { "_prefab": {
"__id__": 40 "__id__": 42
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -638,10 +638,13 @@
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 33
},
{
"__id__": 35
} }
], ],
"_prefab": { "_prefab": {
"__id__": 35 "__id__": 37
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -695,8 +698,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -1, "x": 0,
"y": 1, "y": 3,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -736,13 +739,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 180, "width": 179,
"height": 170 "height": 179
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.4972067039106145,
"y": 0.5 "y": 0.4972067039106145
}, },
"_id": "" "_id": ""
}, },
@ -758,7 +761,7 @@
"node": { "node": {
"__id__": 27 "__id__": 27
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 31
}, },
@ -773,11 +776,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "b460ef59-931d-4911-bd81-6a46547405fe", "__uuid__": "96765a3c-0669-4134-94a9-b1282c32bba7",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "chixu", "defaultAnimation": "",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,
@ -822,8 +825,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 176, "width": 174,
"height": 178 "height": 160
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -836,6 +839,51 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "1391ji/UZFDIWwFqgr280u" "fileId": "1391ji/UZFDIWwFqgr280u"
}, },
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f18f8f31-7d1a-4f47-a177-cbf2a8820a29@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": "2aNcZyAIZIco55p+2CDmXj"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@ -859,7 +907,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 37 "__id__": 39
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -887,7 +935,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 39 "__id__": 41
}, },
"normalNode": { "normalNode": {
"__id__": 2 "__id__": 2
@ -901,6 +949,7 @@
"multiNode": null, "multiNode": null,
"multiSpriteFrames": [], "multiSpriteFrames": [],
"blurMultiSpriteFrames": [], "blurMultiSpriteFrames": [],
"multiSpines": [],
"_id": "" "_id": ""
}, },
{ {

View File

@ -31,14 +31,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 36 "__id__": 38
}, },
{ {
"__id__": 38 "__id__": 40
} }
], ],
"_prefab": { "_prefab": {
"__id__": 40 "__id__": 42
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -638,10 +638,13 @@
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 33
},
{
"__id__": 35
} }
], ],
"_prefab": { "_prefab": {
"__id__": 35 "__id__": 37
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -695,8 +698,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.073, "x": 0,
"y": 1.366, "y": 6,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -736,13 +739,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 155.30999755859375, "width": 179,
"height": 149.72999572753906 "height": 179
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.49777862838113196, "x": 0.4972067039106145,
"y": 0.49241972524395666 "y": 0.4972067039106145
}, },
"_id": "" "_id": ""
}, },
@ -758,7 +761,7 @@
"node": { "node": {
"__id__": 27 "__id__": 27
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 31
}, },
@ -773,11 +776,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "b9bfe6f4-deaf-4ea2-bdf6-36e62fa46d48", "__uuid__": "c3820c03-9440-448a-8955-61fa44228fb3",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "chixu", "defaultAnimation": "",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,
@ -822,8 +825,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 176, "width": 174,
"height": 178 "height": 160
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -836,6 +839,51 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "0b91EKwJBEsJEhgqX4mmev" "fileId": "0b91EKwJBEsJEhgqX4mmev"
}, },
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "a927789e-07b4-4faf-99c4-8e700e989cdc@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": "e5ZJvowitB9IGbMqraf7fI"
},
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
"root": { "root": {
@ -859,7 +907,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 37 "__id__": 39
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@ -887,7 +935,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 39 "__id__": 41
}, },
"normalNode": { "normalNode": {
"__id__": 2 "__id__": 2
@ -899,9 +947,9 @@
"__id__": 26 "__id__": 26
}, },
"multiNode": null, "multiNode": null,
"bombNode": null,
"multiSpriteFrames": [], "multiSpriteFrames": [],
"blurMultiSpriteFrames": [], "blurMultiSpriteFrames": [],
"multiSpines": [],
"_id": "" "_id": ""
}, },
{ {

View File

@ -599,8 +599,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -7.326, "x": 0,
"y": 4.049, "y": 5,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -640,13 +640,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 140.1199951171875, "width": 179,
"height": 131.57000732421875 "height": 179
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.45618041961453587, "x": 0.4972067039106145,
"y": 0.5213954142685037 "y": 0.4972067039106145
}, },
"_id": "" "_id": ""
}, },
@ -662,7 +662,7 @@
"node": { "node": {
"__id__": 23 "__id__": 23
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 27 "__id__": 27
}, },
@ -677,11 +677,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "6b7881ba-216f-484f-8bd2-337397032d48", "__uuid__": "9d8b2fa3-04a4-45d9-95fa-4713cba154d8",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "chixu", "defaultAnimation": "",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,
@ -802,6 +802,10 @@
"spineNode": { "spineNode": {
"__id__": 22 "__id__": 22
}, },
"multiNode": null,
"multiSpriteFrames": [],
"blurMultiSpriteFrames": [],
"multiSpines": [],
"_id": "" "_id": ""
}, },
{ {

View File

@ -600,7 +600,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 6,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -640,13 +640,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 180, "width": 179,
"height": 170 "height": 179
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.4972067039106145,
"y": 0.5 "y": 0.4972067039106145
}, },
"_id": "" "_id": ""
}, },
@ -662,7 +662,7 @@
"node": { "node": {
"__id__": 23 "__id__": 23
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 27 "__id__": 27
}, },
@ -677,11 +677,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "ea79e0b9-181d-45be-99eb-ace2d68dc6eb", "__uuid__": "e9d57cab-fe6f-45bc-9001-3a9c3d4e4969",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "chixu", "defaultAnimation": "",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,
@ -802,6 +802,10 @@
"spineNode": { "spineNode": {
"__id__": 22 "__id__": 22
}, },
"multiNode": null,
"multiSpriteFrames": [],
"blurMultiSpriteFrames": [],
"multiSpines": [],
"_id": "" "_id": ""
}, },
{ {

View File

@ -600,7 +600,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 6,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -640,13 +640,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 180, "width": 179,
"height": 170 "height": 179
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.4972067039106145,
"y": 0.5 "y": 0.4972067039106145
}, },
"_id": "" "_id": ""
}, },
@ -662,7 +662,7 @@
"node": { "node": {
"__id__": 23 "__id__": 23
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 27 "__id__": 27
}, },
@ -677,11 +677,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "cba827dd-9530-4549-a7bb-92423337454f", "__uuid__": "bfff14c7-d83c-46a0-8292-e5ee2ff4da40",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "chixu", "defaultAnimation": "<None>",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,
@ -708,8 +708,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "31y+l2RdNFOL9HxCUwigC7", "fileId": "31y+l2RdNFOL9HxCUwigC7",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
@ -802,6 +800,10 @@
"spineNode": { "spineNode": {
"__id__": 22 "__id__": 22
}, },
"multiNode": null,
"multiSpriteFrames": [],
"blurMultiSpriteFrames": [],
"multiSpines": [],
"_id": "" "_id": ""
}, },
{ {

View File

@ -600,7 +600,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 6,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -640,13 +640,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 180, "width": 179,
"height": 170 "height": 179
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.4972067039106145,
"y": 0.5 "y": 0.4972067039106145
}, },
"_id": "" "_id": ""
}, },
@ -662,7 +662,7 @@
"node": { "node": {
"__id__": 23 "__id__": 23
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 27 "__id__": 27
}, },
@ -677,7 +677,7 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "b434f100-92d9-4414-99c9-0d0fd235c213", "__uuid__": "915aaa2a-57d9-4684-b816-f141c6a45d7c",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
@ -726,8 +726,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 176, "width": 174,
"height": 178 "height": 194
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -802,6 +802,10 @@
"spineNode": { "spineNode": {
"__id__": 22 "__id__": 22
}, },
"multiNode": null,
"multiSpriteFrames": [],
"blurMultiSpriteFrames": [],
"multiSpines": [],
"_id": "" "_id": ""
}, },
{ {

View File

@ -124,13 +124,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1080, "width": 85.33000183105469,
"height": 1920 "height": 85.33000183105469
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5808888753255208, "x": 0.49994139144488553,
"y": 0.5676666895548502 "y": 0.49994139144488553
}, },
"_id": "" "_id": ""
}, },
@ -161,7 +161,7 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "994758bd-57ff-4409-b2bc-ff85b72467df", "__uuid__": "6e401c08-7ca6-43e4-8c4f-40efcc3c56ec",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",

View File

@ -389,13 +389,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1194.3900146484375, "width": 2094,
"height": 2362 "height": 2718.429931640625
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.49999580967460283, "x": 0.478748806112703,
"y": 0.5 "y": 0.5580684381934691
}, },
"_id": "" "_id": ""
}, },
@ -411,7 +411,7 @@
"node": { "node": {
"__id__": 13 "__id__": 13
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 17 "__id__": 17
}, },
@ -426,11 +426,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "7ab38796-ec29-43a3-8eb9-c1c8868acbd0", "__uuid__": "dd4f0d9d-3afb-4e1b-804d-0a7e55c1db0a",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "animation", "defaultAnimation": "chixu",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,

View File

@ -1,4 +1,4 @@
import { _decorator, Component, director, find, Label, Node, ProgressBarComponent, sp, Sprite, SpriteFrame, tween, Tween, UITransform, v3 } from 'cc'; import { _decorator, Component, director, find, Label, Node, ProgressBarComponent, SkeletalAnimation, SkeletalAnimationComponent, Skeleton, sp, Sprite, SpriteFrame, tween, Tween, UITransform, v3 } from 'cc';
import { DEV, EDITOR } from 'cc/env'; import { DEV, EDITOR } from 'cc/env';
import { NodePoolManager } from '../../Main/Scripts/managers/NodePoolManager'; import { NodePoolManager } from '../../Main/Scripts/managers/NodePoolManager';
import { GameDataManager } from '../../Main/Scripts/managers/GameDataManager'; import { GameDataManager } from '../../Main/Scripts/managers/GameDataManager';
@ -35,6 +35,8 @@ export class Icon extends Component {
multiSpriteFrames: SpriteFrame[] = []; multiSpriteFrames: SpriteFrame[] = [];
@property([SpriteFrame]) @property([SpriteFrame])
blurMultiSpriteFrames: SpriteFrame[] = []; blurMultiSpriteFrames: SpriteFrame[] = [];
@property([sp.SkeletonData])
multiSpines: sp.SkeletonData[] = [];
private iconId: number = 99; private iconId: number = 99;
private lheight: number = 1; private lheight: number = 1;
@ -112,117 +114,124 @@ export class Icon extends Component {
playIdleSpine(bol: boolean) { playIdleSpine(bol: boolean) {
let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton); let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton);
// if (spine && this.checkHasAnimation(spine, 'chixu')) { // if (spine && this.checkHasAnimation(spine, 'idle')) {
// if (bol) { // if (bol) {
// this.normalNode.active = false; // this.normalNode.active = false;
// this.spineNode.active = true; // this.spineNode.active = true;
// spine.setAnimation(0, 'chixu', true); // spine.setAnimation(0, 'idle', true);
// } else { // } else {
// this.normalNode.active = true;
// this.spineNode.active = false;
// }
// }
if (this.index == 10) {
this.normalNode.active = false;
this.spineNode.active = true;
spine.setAnimation(0, 'idle', true);
} else {
this.normalNode.active = true; this.normalNode.active = true;
this.spineNode.active = false; this.spineNode.active = false;
// } }
// }
} }
playTanSpine(bol: boolean) { playTanSpine(bol: boolean) {
let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton); let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton);
// if (spine && this.checkHasAnimation(spine, 'tan')) { if (spine && this.checkHasAnimation(spine, 'tan')) {
// if (bol) { if (bol) {
// this.normalNode.active = false; this.normalNode.active = false;
// this.spineNode.active = true; this.spineNode.active = true;
// spine.setAnimation(0, 'tan', true); spine.setAnimation(0, 'tan', true);
// } else { } else {
// this.normalNode.active = true; this.normalNode.active = true;
// this.spineNode.active = false; this.spineNode.active = false;
// } }
// } }
} }
playTanSpineForMsg(bol: boolean) { playTanSpineForMsg(bol: boolean) {
let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton); let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton);
// if (spine && this.checkHasAnimation(spine, 'tan')) { if (spine && this.checkHasAnimation(spine, 'tan')) {
// if (bol) { if (bol) {
// this.normalNode.active = false; this.normalNode.active = false;
// this.spineNode.active = true; this.spineNode.active = true;
// spine.timeScale = 0.3; spine.timeScale = 0.3;
// spine.setAnimation(0, 'tan', true); spine.setAnimation(0, 'tan', false);
// } else { } else {
// this.normalNode.active = true; this.normalNode.active = true;
// this.spineNode.active = false; this.spineNode.active = false;
// } }
// } }
} }
playBounceSpine(isLoop: boolean = false) { playBounceSpine(isLoop: boolean = false) {
let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton); let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton);
if (spine && this.checkHasAnimation(spine, 'tan')) { if (spine && this.checkHasAnimation(spine, 'tan')) {
// this.normalNode.active = false this.normalNode.active = false
this.spineNode.active = true; this.spineNode.active = true;
// spine.setAnimation(0, 'tan', isLoop); spine.setAnimation(0, 'tan', isLoop);
if (!isLoop) { if (!isLoop) {
// spine.setCompleteListener(() => { spine.setCompleteListener(() => {
// spine.setCompleteListener(null); spine.setCompleteListener(null);
// if (this.checkHasAnimation(spine, 'chixu')) { if (this.checkHasAnimation(spine, 'chixu')) {
// this.playIdleSpine(true); this.playIdleSpine(true);
// } else { } else {
// this.normalNode.active = true; this.normalNode.active = true;
// this.spineNode.active = false; this.spineNode.active = false;
// } }
// }) })
} }
} else { } else {
spine.setCompleteListener(null); spine.setCompleteListener(null);
// if (this.checkHasAnimation(spine, 'chixu')) { if (this.checkHasAnimation(spine, 'chixu')) {
// this.playIdleSpine(true); this.playIdleSpine(true);
// } else { } else {
// this.normalNode.active = true; this.normalNode.active = true;
// this.spineNode.active = false; this.spineNode.active = false;
// } }
} }
} }
playScatterIdleSpine(bol: boolean) { playScatterIdleSpine(bol: boolean) {
// let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton); let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton);
// if (spine && this.checkHasAnimation(spine, 'chixu')) { if (spine && this.checkHasAnimation(spine, 'chixu')) {
// if (bol) { if (bol) {
// this.normalNode.active = false; this.normalNode.active = false;
// this.spineNode.active = true; this.spineNode.active = true;
// } }
// } }
} }
playScatterWaitSpine(bol: boolean) { playScatterWaitSpine(bol: boolean) {
let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton); let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton);
if (this.iconId == 0) { if (this.iconId == 0) {
console.log('播放scatter等待动画'); console.log('播放scatter等待动画');
if (spine && this.checkHasAnimation(spine, 'dengdai')) { if (spine && this.checkHasAnimation(spine, 'denggai')) {
// if (bol) { if (bol) {
// // this.normalNode.active = false; this.normalNode.active = false;
// this.spineNode.active = true; this.spineNode.active = true;
// spine.setAnimation(0, 'dengdai', true); spine.setAnimation(0, 'denggai', true);
// } else { } else {
// this.playIdleSpine(true); this.playIdleSpine(true);
// } }
} }
} }
} }
playMultiSpine() { playMultiSpine() {
// this.spineNode.active = true; this.spineNode.active = true;
// this.normalNode.active = false; this.normalNode.active = false;
// let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton); let spine = this.spineNode.getChildByName('spine').getComponent(sp.Skeleton);
// if (spine) { if (spine) {
// console.log('播放scatter消失动画'); spine.setAnimation(0, 'zhongjiang', false);
// spine.setAnimation(0, 'xiaoshi', false); spine.setCompleteListener(() => {
// spine.setCompleteListener(() => { spine.setCompleteListener(null);
// spine.setCompleteListener(null); spine.setAnimation(0, 'idle', true);
// this.spineNode.active = false; // this.spineNode.active = false;
// this.bombNode.active = true; })
// }) }
// }
} }
playDeleteSpine() { playDeleteSpine() {
@ -230,7 +239,7 @@ export class Icon extends Component {
if (spine && this.checkHasAnimation(spine, 'xiaoshi')) { // 10帧 icon消失 23帧 全部消失 if (spine && this.checkHasAnimation(spine, 'xiaoshi')) { // 10帧 icon消失 23帧 全部消失
spine.setCompleteListener(null); spine.setCompleteListener(null);
// this.normalNode.active = false; this.normalNode.active = false;
this.spineNode.active = true; this.spineNode.active = true;
spine.setAnimation(0, 'xiaoshi', false); spine.setAnimation(0, 'xiaoshi', false);
spine.setCompleteListener(() => { spine.setCompleteListener(() => {
@ -242,12 +251,12 @@ export class Icon extends Component {
} }
setMulti(multi: number) { setMulti(multi: number) {
if (!this.multiNode) return; if (this.index != 10) return;
let lab = this.multiNode.getChildByName('Label').getComponent(Label); let lab = this.multiNode.getChildByName('Label').getComponent(Label);
lab.string = multi.toString() + 'x'; lab.string = multi.toString() + 'x';
this.normalNode.getChildByName('sprite').getComponent(Sprite).spriteFrame = this.getMultiBgFrames(multi)[0][0]
this.normalNode.getChildByName('sprite').getComponent(Sprite).spriteFrame = this.getMultiBgFrames(multi)[0] this.fastNode.getChildByName('sprite').getComponent(Sprite).spriteFrame = this.getMultiBgFrames(multi)[0][1]
this.fastNode.getChildByName('sprite').getComponent(Sprite).spriteFrame = this.getMultiBgFrames(multi)[1] this.spineNode.getChildByName('spine').getComponent(sp.Skeleton).skeletonData = this.getMultiBgFrames(multi)[1][0]
} }
getMulti(): number { getMulti(): number {
@ -255,18 +264,18 @@ export class Icon extends Component {
return Number(this.multiNode.children.find(child => child.active).name); return Number(this.multiNode.children.find(child => child.active).name);
} }
getMultiBgFrames(multi: number) { getMultiBgFrames(multi: number): any[][] {
switch (true) { switch (true) {
case multi <= 8: case multi <= 8:
return [this.multiSpriteFrames[0], this.blurMultiSpriteFrames[0]] return [[this.multiSpriteFrames[0], this.blurMultiSpriteFrames[0]], [this.multiSpines[0]]]
case multi <= 25: case multi <= 25:
return [this.multiSpriteFrames[1], this.blurMultiSpriteFrames[1]] return [[this.multiSpriteFrames[1], this.blurMultiSpriteFrames[1]], [this.multiSpines[1]]]
case multi <= 50: case multi <= 50:
return [this.multiSpriteFrames[2], this.blurMultiSpriteFrames[2]] return [[this.multiSpriteFrames[2], this.blurMultiSpriteFrames[2]], [this.multiSpines[2]]]
case multi <= 100: case multi <= 100:
return [this.multiSpriteFrames[3], this.blurMultiSpriteFrames[3]] return [[this.multiSpriteFrames[3], this.blurMultiSpriteFrames[3]], [this.multiSpines[3]]]
case multi <= 1000: case multi <= 1000:
return [this.multiSpriteFrames[4], this.blurMultiSpriteFrames[4]] return [[this.multiSpriteFrames[4], this.blurMultiSpriteFrames[4]], [this.multiSpines[4]]]
} }
} }

View File

@ -126,14 +126,13 @@ export class SlotBar extends Component {
updateChooseDiff() { updateChooseDiff() {
let diff = GameDataManager.instance.chooseDiff; let diff = GameDataManager.instance.chooseDiff;
this.node.getChildByName('Btn_L1').getChildByName('Choose').children.forEach((child: Node, index: number) => { // this.node.getChildByName('Btn_L1').getChildByName('Choose').children.forEach((child: Node, index: number) => {
child.active = index == diff - 1;
})
this.getBtnNode(Btn_Key.SpinBtn).children.forEach((child: Node, index: number) => {
// child.active = index == diff - 1; // child.active = index == diff - 1;
// })
// this.getBtnNode(Btn_Key.SpinBtn).children.forEach((child: Node, index: number) => {
// child.getComponent(sp.Skeleton).setAnimation(0, '1', true); // child.getComponent(sp.Skeleton).setAnimation(0, '1', true);
}) // })
} }
updatePlayerMsg(spinData: any, isReconnect: boolean, callBack: () => void) { updatePlayerMsg(spinData: any, isReconnect: boolean, callBack: () => void) {
@ -400,7 +399,7 @@ export class SlotBar extends Component {
firstClickSpinState() { firstClickSpinState() {
this.getBtnNode(Btn_Key.SpinBtn).children.forEach(child => { this.getBtnNode(Btn_Key.SpinBtn).children.forEach(child => {
// child.getComponent(sp.Skeleton).setAnimation(0, "2", true); child.getComponent(sp.Skeleton).setAnimation(0, "2", true);
}) })
this.hasClickSpin = true; this.hasClickSpin = true;
@ -441,7 +440,7 @@ export class SlotBar extends Component {
manualStop(hasWin: boolean) { manualStop(hasWin: boolean) {
this.getBtnNode(Btn_Key.SpinBtn).children.forEach(child => { this.getBtnNode(Btn_Key.SpinBtn).children.forEach(child => {
// child.getComponent(sp.Skeleton).setAnimation(0, '1', true); child.getComponent(sp.Skeleton).setAnimation(0, '1', true);
}) })
this.setBtnEnable(this.getBtnButton(Btn_Key.SpinBtn), false); this.setBtnEnable(this.getBtnButton(Btn_Key.SpinBtn), false);
this.hasClickManualStop = true; this.hasClickManualStop = true;
@ -449,7 +448,7 @@ export class SlotBar extends Component {
spinBtnSpineEliminate() { spinBtnSpineEliminate() {
this.getBtnNode(Btn_Key.SpinBtn).children.forEach(child => { this.getBtnNode(Btn_Key.SpinBtn).children.forEach(child => {
// child.getComponent(sp.Skeleton).setAnimation(0, '1', true); child.getComponent(sp.Skeleton).setAnimation(0, '1', true);
}) })
this.setBtnEnable(this.getBtnButton(Btn_Key.SpinBtn), false); this.setBtnEnable(this.getBtnButton(Btn_Key.SpinBtn), false);
} }
@ -635,7 +634,7 @@ export class SlotBar extends Component {
this.setBtnEnable(this.getBtnButton(Btn_Key.SpinBtn), true); this.setBtnEnable(this.getBtnButton(Btn_Key.SpinBtn), true);
this.getBtnNode(Btn_Key.SpinBtn).children.forEach((child: Node, index: number) => { this.getBtnNode(Btn_Key.SpinBtn).children.forEach((child: Node, index: number) => {
// child.getComponent(sp.Skeleton).setAnimation(0, '1', true); child.getComponent(sp.Skeleton).setAnimation(0, '1', true);
}) })
GameDataManager.instance.canClickIconMsg = true; GameDataManager.instance.canClickIconMsg = true;

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

View File

@ -1,134 +0,0 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "d906fce6-2d43-4a52-9076-7700505f040c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d906fce6-2d43-4a52-9076-7700505f040c@6c48a",
"displayName": "dt_bet_01",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "d906fce6-2d43-4a52-9076-7700505f040c",
"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": "d906fce6-2d43-4a52-9076-7700505f040c@f9941",
"displayName": "dt_bet_01",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 176,
"height": 303,
"rawWidth": 176,
"rawHeight": 303,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-88,
-151.5,
0,
88,
-151.5,
0,
-88,
151.5,
0,
88,
151.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
303,
176,
303,
0,
0,
176,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-88,
-151.5,
0
],
"maxPos": [
88,
151.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "d906fce6-2d43-4a52-9076-7700505f040c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "d906fce6-2d43-4a52-9076-7700505f040c@6c48a"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

View File

@ -1,134 +0,0 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "4a415c4b-10bb-4709-8481-d6ca8799a474",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4a415c4b-10bb-4709-8481-d6ca8799a474@6c48a",
"displayName": "dt_bet_02",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "4a415c4b-10bb-4709-8481-d6ca8799a474",
"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": "4a415c4b-10bb-4709-8481-d6ca8799a474@f9941",
"displayName": "dt_bet_02",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 176,
"height": 305,
"rawWidth": 176,
"rawHeight": 305,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-88,
-152.5,
0,
88,
-152.5,
0,
-88,
152.5,
0,
88,
152.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
305,
176,
305,
0,
0,
176,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-88,
-152.5,
0
],
"maxPos": [
88,
152.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4a415c4b-10bb-4709-8481-d6ca8799a474@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "4a415c4b-10bb-4709-8481-d6ca8799a474@6c48a"
}
}

View File

@ -4909,7 +4909,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": -267.445,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@ -4947,13 +4947,13 @@
"__prefab": null, "__prefab": null,
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 2258, "width": 85.33000183105469,
"height": 2530.5 "height": 85.33000183105469
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.433348095659876, "x": 0.49994139144488553,
"y": 0.603635645129421 "y": 0.49994139144488553
}, },
"_id": "d7h41v8UxIZ4ItxMyPmPlz" "_id": "d7h41v8UxIZ4ItxMyPmPlz"
}, },
@ -4978,11 +4978,11 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "d1890f1e-0118-4ca2-a363-c9e53337bc89", "__uuid__": "6e401c08-7ca6-43e4-8c4f-40efcc3c56ec",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "default",
"defaultAnimation": "", "defaultAnimation": "animation",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": 0,