修复动画显示 bug

This commit is contained in:
2025-01-13 10:43:23 +08:00
parent 0f1c30e666
commit bfec31829e
3 changed files with 157 additions and 150 deletions

View File

@@ -3251,7 +3251,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "deap", "_name": "dodge",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -3436,7 +3436,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "f1xHsNVotEJ6uvB4iR/AY8" "fileId": "07wjtg655LjpZgR5MGDumB"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -3461,7 +3461,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@d8633", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@3b9e9",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -3481,7 +3481,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "60RM71HmRD1oNbuJfXr00u" "fileId": "173Vkaf8JFb7WG2s9B//aM"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -3491,7 +3491,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "062rAfONFO4YxzGLocv5Fb", "fileId": "487wGUd1xG3qELLP8vc4Pj",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -3532,8 +3532,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.4, "x": 0.41,
"y": 0.4, "y": 0.41,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -3560,8 +3560,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 82, "width": 57,
"height": 81 "height": 79
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -3572,7 +3572,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "33RhEYfxtJuLvK7eSTTjEK" "fileId": "b60SQ5FjZCIKCcOMV7XXIq"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -3597,7 +3597,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@e4b0d", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@fd68b",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -3617,7 +3617,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "7b/VZ/K6NK7phcCHvQ/tD1" "fileId": "dfXjWZOPZB4omuXVDWRDB/"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -3627,7 +3627,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "271omgc/pGxK/T0U1p5NdQ", "fileId": "aa2C+IaEtGr7H31/aoQB6P",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -3669,7 +3669,7 @@
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.4, "x": 0.4,
"y": -0.4, "y": 0.4,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -3708,7 +3708,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "21d/lGTblHmJ8Qn2vd4PLr" "fileId": "d6CTThSgREwpmA6c12u5Sj"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -3727,9 +3727,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 250, "r": 0,
"g": 100, "g": 255,
"b": 100, "b": 20,
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
@@ -3747,13 +3747,13 @@
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": true, "_useGrayscale": false,
"_atlas": null, "_atlas": null,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "88ZRId14FKoa/41/tsuAmW" "fileId": "d6yRHMPJJC3pqmaMokCnfE"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -3763,7 +3763,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f4Ns+NgzFCt45BIvUVuig9", "fileId": "1bqmBDEAtNSJxGww7Ip3mk",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -3794,7 +3794,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "c7cQGUHTZDlqd2L4i+rEu4" "fileId": "d4Cne2QWJGU7Ub5mt3B93W"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -3804,7 +3804,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "4by/Y0YOZFEKwYZWV25jXW", "fileId": "91J8dlV8BOaZvDVTYs0uo7",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -3835,7 +3835,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "73zEPsua9PpZ0LJjyrbbw/" "fileId": "85dH63HqVMbbIt+GsmYSKf"
}, },
{ {
"__type__": "cc.Animation", "__type__": "cc.Animation",
@@ -3864,7 +3864,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "16vp1AHyxEDqOw9cLJmOlw" "fileId": "187iwlXWNPeqDLT+MkytF2"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -3874,14 +3874,14 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f84+vnF/VEqYDK3tF0QuGp", "fileId": "8b+80sSh1OJ51QXVi9e0Fy",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "decd", "_name": "deap",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -4066,7 +4066,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "9fdoaQJ0NH/41EJuai3pm8" "fileId": "f1xHsNVotEJ6uvB4iR/AY8"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -4111,7 +4111,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "5d8UmKpmBGqp9v0rXQx+ue" "fileId": "60RM71HmRD1oNbuJfXr00u"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -4121,7 +4121,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f9EQcuIrVGF5yEuZueWWSZ", "fileId": "062rAfONFO4YxzGLocv5Fb",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -4162,8 +4162,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.41, "x": 0.4,
"y": 0.41, "y": 0.4,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -4190,8 +4190,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 78, "width": 82,
"height": 77 "height": 81
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -4202,7 +4202,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "a1d8va4TlCh5uVNGk/Zv6B" "fileId": "33RhEYfxtJuLvK7eSTTjEK"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -4227,7 +4227,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@abc14", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@e4b0d",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -4247,7 +4247,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "9b4w7LNVdNM7mVScSAqmx8" "fileId": "7b/VZ/K6NK7phcCHvQ/tD1"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -4257,7 +4257,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "37DqH4uw9F6KAn/QiXZxDd", "fileId": "271omgc/pGxK/T0U1p5NdQ",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -4338,7 +4338,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d2CmfX3ZlJoLm08QLDuowQ" "fileId": "21d/lGTblHmJ8Qn2vd4PLr"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -4377,13 +4377,13 @@
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": true,
"_atlas": null, "_atlas": null,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "402/E1v+xBtJ6Ez6mAljMd" "fileId": "88ZRId14FKoa/41/tsuAmW"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -4393,7 +4393,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "afqEV+PJdPxpweSZCLO1Oa", "fileId": "f4Ns+NgzFCt45BIvUVuig9",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -4424,7 +4424,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "42xsEEy3lEWp2p7I/AC5l9" "fileId": "c7cQGUHTZDlqd2L4i+rEu4"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -4434,7 +4434,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "affQdba0tLUJpomUAiVuFF", "fileId": "4by/Y0YOZFEKwYZWV25jXW",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -4465,7 +4465,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "1fqcewYhlIDL2klfShsJoF" "fileId": "73zEPsua9PpZ0LJjyrbbw/"
}, },
{ {
"__type__": "cc.Animation", "__type__": "cc.Animation",
@@ -4494,7 +4494,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "1c2ME/js9DZIGPioXz20Us" "fileId": "16vp1AHyxEDqOw9cLJmOlw"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -4504,14 +4504,14 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "caZq97Sx5I7YS9d1NCXwnN", "fileId": "f84+vnF/VEqYDK3tF0QuGp",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "dehp", "_name": "decd",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -4696,7 +4696,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "023JDF/Q1Jg5R4rymh6Y4u" "fileId": "9fdoaQJ0NH/41EJuai3pm8"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -4741,7 +4741,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "605gRMAzhGErxFTRHaIxUQ" "fileId": "5d8UmKpmBGqp9v0rXQx+ue"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -4751,7 +4751,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f2ZlVMfRRB3I1zYQFPBzf9", "fileId": "f9EQcuIrVGF5yEuZueWWSZ",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -4792,8 +4792,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.3, "x": 0.41,
"y": 0.3, "y": 0.41,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -4820,8 +4820,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 105, "width": 78,
"height": 93 "height": 77
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -4832,7 +4832,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "34Gls9t1tLc7KWB20uIa7H" "fileId": "a1d8va4TlCh5uVNGk/Zv6B"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -4857,7 +4857,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@069d6", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@abc14",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -4877,7 +4877,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "96BD4vAtZEeZX086v7CUZs" "fileId": "9b4w7LNVdNM7mVScSAqmx8"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -4887,7 +4887,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "392dzcgEhGnZSvBOsr3Xqi", "fileId": "37DqH4uw9F6KAn/QiXZxDd",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -4968,7 +4968,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "15DtPPguxOr5WZO4dEZJhw" "fileId": "d2CmfX3ZlJoLm08QLDuowQ"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -5013,7 +5013,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "0a/tWS5WFNzLgvEoQAoLUO" "fileId": "402/E1v+xBtJ6Ez6mAljMd"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -5023,7 +5023,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "e5yz37QwBHG7BUFcGXetYt", "fileId": "afqEV+PJdPxpweSZCLO1Oa",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -5054,7 +5054,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d2GeicRBRJAZ0wv94w3QuG" "fileId": "42xsEEy3lEWp2p7I/AC5l9"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -5064,7 +5064,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "921ckhn1ZCd7muD3MbWjGp", "fileId": "affQdba0tLUJpomUAiVuFF",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -5095,7 +5095,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "54YRyM/mxJeKVZJldJaUWK" "fileId": "1fqcewYhlIDL2klfShsJoF"
}, },
{ {
"__type__": "cc.Animation", "__type__": "cc.Animation",
@@ -5124,7 +5124,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "43kcEBZFdHJ59LAM3AXByk" "fileId": "1c2ME/js9DZIGPioXz20Us"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -5134,14 +5134,14 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "6eVlyjXGxOpaWylzxjBKt9", "fileId": "caZq97Sx5I7YS9d1NCXwnN",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "dedef", "_name": "dehp",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -5326,7 +5326,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "9aULShnUJGk7gLV7qNItR6" "fileId": "023JDF/Q1Jg5R4rymh6Y4u"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -5371,7 +5371,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "2eorqg7rxD/IF7jNyv+qeB" "fileId": "605gRMAzhGErxFTRHaIxUQ"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -5381,7 +5381,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "2dwlEGPy1AkLn1am/6Wj/N", "fileId": "f2ZlVMfRRB3I1zYQFPBzf9",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -5422,8 +5422,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.41, "x": 0.3,
"y": 0.41, "y": 0.3,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -5450,8 +5450,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 75, "width": 105,
"height": 76 "height": 93
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -5462,7 +5462,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "6eZ726PAxJU56dt6xTBMug" "fileId": "34Gls9t1tLc7KWB20uIa7H"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -5487,7 +5487,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@054dc", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@069d6",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -5507,7 +5507,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "76fOgjhsBJl5LE5mK1qwES" "fileId": "96BD4vAtZEeZX086v7CUZs"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -5517,7 +5517,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "7dZT4XQHZAVJcfLj8BE91e", "fileId": "392dzcgEhGnZSvBOsr3Xqi",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -5598,7 +5598,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "45hldvqx9MoI5jJCb85UTP" "fileId": "15DtPPguxOr5WZO4dEZJhw"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -5643,7 +5643,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d6x44gSehC8Zt9pHR5SAOF" "fileId": "0a/tWS5WFNzLgvEoQAoLUO"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -5653,7 +5653,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "06gDvZuClG9q/0G/y0SQYw", "fileId": "e5yz37QwBHG7BUFcGXetYt",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -5684,7 +5684,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "4e4GLlffxAXLwDhB9U/hHI" "fileId": "d2GeicRBRJAZ0wv94w3QuG"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -5694,7 +5694,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "8c6dsY/U1EmYPvlKnK1yRT", "fileId": "921ckhn1ZCd7muD3MbWjGp",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -5725,7 +5725,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "a06Gz0yWFHUY4ON7YasmQX" "fileId": "54YRyM/mxJeKVZJldJaUWK"
}, },
{ {
"__type__": "cc.Animation", "__type__": "cc.Animation",
@@ -5754,7 +5754,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "03h46DHv5FYqydrRmkfKWE" "fileId": "43kcEBZFdHJ59LAM3AXByk"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -5764,14 +5764,14 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "23G4FX3a9EFo2aB6kZKTBQ", "fileId": "6eVlyjXGxOpaWylzxjBKt9",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "decrit", "_name": "dedef",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -5956,7 +5956,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "2fhVca+UtKKJSDwL6HJAZN" "fileId": "9aULShnUJGk7gLV7qNItR6"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -6001,7 +6001,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "4dTpcQXoZIQ7ulrGGmal0D" "fileId": "2eorqg7rxD/IF7jNyv+qeB"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -6011,7 +6011,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "a4sCLHIcZBo4YpG+484Y7t", "fileId": "2dwlEGPy1AkLn1am/6Wj/N",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -6052,8 +6052,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.51, "x": 0.41,
"y": 0.51, "y": 0.41,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -6080,8 +6080,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 54, "width": 75,
"height": 58 "height": 76
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -6092,7 +6092,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "2aKGFFscJJpKW2/6t4hsZL" "fileId": "6eZ726PAxJU56dt6xTBMug"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -6117,7 +6117,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@cb5e8", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@054dc",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -6137,7 +6137,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "a5IhfiN/5OFJWxIJ/eGbBC" "fileId": "76fOgjhsBJl5LE5mK1qwES"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -6147,7 +6147,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "d62hcDNy1AFbi42TaMWtwt", "fileId": "7dZT4XQHZAVJcfLj8BE91e",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -6228,7 +6228,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "3c0grqHOhILYT54813RnBR" "fileId": "45hldvqx9MoI5jJCb85UTP"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -6273,7 +6273,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "1eOwhEIXBL55JwTq5UFj/x" "fileId": "d6x44gSehC8Zt9pHR5SAOF"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -6283,7 +6283,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "8dxD4+BdhFzb1yX444o4hW", "fileId": "06gDvZuClG9q/0G/y0SQYw",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -6314,7 +6314,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "c6v/GGP1VDh6yiyusYoe7q" "fileId": "4e4GLlffxAXLwDhB9U/hHI"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -6324,7 +6324,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "285kj6aMxNDLCK39oZrue1", "fileId": "8c6dsY/U1EmYPvlKnK1yRT",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -6355,7 +6355,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "48WqbfyU1JuLOwbV6MCXm4" "fileId": "a06Gz0yWFHUY4ON7YasmQX"
}, },
{ {
"__type__": "cc.Animation", "__type__": "cc.Animation",
@@ -6384,7 +6384,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "f13TlgJilD+bpTWArIFyG7" "fileId": "03h46DHv5FYqydrRmkfKWE"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -6394,14 +6394,14 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "11Pq/Z8VFIsKq4V6G/f3kU", "fileId": "23G4FX3a9EFo2aB6kZKTBQ",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "dodge", "_name": "decrit",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -6586,7 +6586,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "07wjtg655LjpZgR5MGDumB" "fileId": "2fhVca+UtKKJSDwL6HJAZN"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -6611,7 +6611,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@3b9e9", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@d8633",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -6631,7 +6631,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "173Vkaf8JFb7WG2s9B//aM" "fileId": "4dTpcQXoZIQ7ulrGGmal0D"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -6641,7 +6641,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "487wGUd1xG3qELLP8vc4Pj", "fileId": "a4sCLHIcZBo4YpG+484Y7t",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -6682,8 +6682,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.41, "x": 0.51,
"y": 0.41, "y": 0.51,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -6710,8 +6710,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 57, "width": 54,
"height": 79 "height": 58
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -6722,7 +6722,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "b60SQ5FjZCIKCcOMV7XXIq" "fileId": "2aKGFFscJJpKW2/6t4hsZL"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -6747,7 +6747,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@fd68b", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@cb5e8",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
@@ -6767,7 +6767,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "dfXjWZOPZB4omuXVDWRDB/" "fileId": "a5IhfiN/5OFJWxIJ/eGbBC"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -6777,7 +6777,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "aa2C+IaEtGr7H31/aoQB6P", "fileId": "d62hcDNy1AFbi42TaMWtwt",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -6819,7 +6819,7 @@
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.4, "x": 0.4,
"y": 0.4, "y": -0.4,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -6858,7 +6858,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d6CTThSgREwpmA6c12u5Sj" "fileId": "3c0grqHOhILYT54813RnBR"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -6877,9 +6877,9 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 0, "r": 250,
"g": 255, "g": 100,
"b": 20, "b": 100,
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
@@ -6903,7 +6903,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d6yRHMPJJC3pqmaMokCnfE" "fileId": "1eOwhEIXBL55JwTq5UFj/x"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -6913,7 +6913,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "1bqmBDEAtNSJxGww7Ip3mk", "fileId": "8dxD4+BdhFzb1yX444o4hW",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -6944,7 +6944,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d4Cne2QWJGU7Ub5mt3B93W" "fileId": "c6v/GGP1VDh6yiyusYoe7q"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -6954,7 +6954,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "91J8dlV8BOaZvDVTYs0uo7", "fileId": "285kj6aMxNDLCK39oZrue1",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -6985,7 +6985,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "85dH63HqVMbbIt+GsmYSKf" "fileId": "48WqbfyU1JuLOwbV6MCXm4"
}, },
{ {
"__type__": "cc.Animation", "__type__": "cc.Animation",
@@ -7014,7 +7014,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "187iwlXWNPeqDLT+MkytF2" "fileId": "f13TlgJilD+bpTWArIFyG7"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -7024,7 +7024,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "8b+80sSh1OJ51QXVi9e0Fy", "fileId": "11Pq/Z8VFIsKq4V6G/f3kU",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null

View File

@@ -16,19 +16,22 @@ export class EndAnmBomCom extends Component {
if(this.base.box_group ==BoxSet.HERO) this.collider.group = BoxSet.MONSTER if(this.base.box_group ==BoxSet.HERO) this.collider.group = BoxSet.MONSTER
if(this.base.box_group ==BoxSet.MONSTER) this.collider.group = BoxSet.HERO if(this.base.box_group ==BoxSet.MONSTER) this.collider.group = BoxSet.HERO
let anim = this.node.getComponent(Animation); if(this.node.getComponent(Animation)){
if(anim){ let anim = this.node.getComponent(Animation);
console.log("has anim",anim) console.log("has anim",anim)
anim.on(Animation.EventType.FINISHED, this.onAnimationFinished, this); anim.on(Animation.EventType.FINISHED, this.onAnimationFinished, this);
} }
var spine = this.node.getChildByName('anm').getComponent('sp.Skeleton') as sp.Skeleton; if(this.node.getChildByName('anm')){
if(spine){ if(this.node.getChildByName('anm').getComponent('sp.Skeleton')){
console.log("has spine",spine) var spine = this.node.getChildByName('anm').getComponent('sp.Skeleton') as sp.Skeleton;
spine.setCompleteListener((trackEntry) => { console.log("has spine",spine)
this.onAnimationFinished() spine.setCompleteListener((trackEntry) => {
console.log("[track %s][animation %s] complete: %s", trackEntry.trackIndex); this.onAnimationFinished()
}); console.log("[track %s][animation %s] complete: %s", trackEntry.trackIndex);
});
}
} }
} }
onAnimationFinished(){ onAnimationFinished(){

View File

@@ -5,18 +5,22 @@ const { ccclass, property } = _decorator;
@ccclass('EndAnmCom') @ccclass('EndAnmCom')
export class EndAnmCom extends Component { export class EndAnmCom extends Component {
start() { start() {
let anim = this.node.getComponent(Animation);
if(anim){ if(this.node.getComponent(Animation)){
let anim = this.node.getComponent(Animation);
console.log("has anim",anim) console.log("has anim",anim)
anim.on(Animation.EventType.FINISHED, this.onAnimationFinished, this); anim.on(Animation.EventType.FINISHED, this.onAnimationFinished, this);
} }
var spine = this.node.getChildByName('anm').getComponent('sp.Skeleton') as sp.Skeleton;
if(spine){ if(this.node.getChildByName('anm')){
console.log("has spine",spine) if(this.node.getChildByName('anm').getComponent('sp.Skeleton')){
spine.setCompleteListener((trackEntry) => { var spine = this.node.getChildByName('anm').getComponent('sp.Skeleton') as sp.Skeleton;
this.onAnimationFinished() console.log("has spine",spine)
console.log("[track %s][animation %s] complete: %s", trackEntry.trackIndex); spine.setCompleteListener((trackEntry) => {
}); this.onAnimationFinished()
console.log("[track %s][animation %s] complete: %s", trackEntry.trackIndex);
});
}
} }
} }
onAnimationFinished(){ onAnimationFinished(){