perf: 支持奖励特效

This commit is contained in:
richarjiang
2025-09-26 10:49:23 +08:00
parent b83817e246
commit f27a27d2ce
15 changed files with 1340 additions and 305 deletions

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "82ec7e8b-6ed5-4b5e-8c43-801849f5e508",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,98 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "bonus",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 0.35,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 6
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channel": {
"__id__": 4
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 5
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.08333333333333333,
0.16666666666666666,
0.25,
0.3333333333333333
],
"_values": [
{
"__uuid__": "ef0a4723-ab8e-481f-9567-e9b2a1400181@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3cbd569e-fed7-4498-87b4-11444552dfb5@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "4d9cec20-8b34-46e7-9251-59272d42b227@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "67702aaf-c444-4d4c-8605-026cdbe6fee5@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "05946790-3cbd-42a1-a3b9-523d0e99ea3a@f9941",
"__expectedType__": "cc.SpriteFrame"
}
]
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.4",
"importer": "animation-clip",
"imported": true,
"uuid": "e22ce611-db61-41a0-a1ac-f568696a8b26",
"files": [
".bin"
],
"subMetas": {},
"userData": {
"name": "bonus"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ef0a4723-ab8e-481f-9567-e9b2a1400181",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ef0a4723-ab8e-481f-9567-e9b2a1400181@6c48a",
"displayName": "奖励特效_00000",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ef0a4723-ab8e-481f-9567-e9b2a1400181",
"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": "ef0a4723-ab8e-481f-9567-e9b2a1400181@f9941",
"displayName": "奖励特效_00000",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 20.5,
"offsetY": 27.5,
"trimX": 41,
"trimY": 155,
"width": 679,
"height": 915,
"rawWidth": 720,
"rawHeight": 1280,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-339.5,
-457.5,
0,
339.5,
-457.5,
0,
-339.5,
457.5,
0,
339.5,
457.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
41,
1125,
720,
1125,
41,
210,
720,
210
],
"nuv": [
0.05694444444444444,
0.1640625,
1,
0.1640625,
0.05694444444444444,
0.87890625,
1,
0.87890625
],
"minPos": [
-339.5,
-457.5,
0
],
"maxPos": [
339.5,
457.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ef0a4723-ab8e-481f-9567-e9b2a1400181@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ef0a4723-ab8e-481f-9567-e9b2a1400181@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "3cbd569e-fed7-4498-87b4-11444552dfb5",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "3cbd569e-fed7-4498-87b4-11444552dfb5@6c48a",
"displayName": "奖励特效_00002",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "3cbd569e-fed7-4498-87b4-11444552dfb5",
"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": "3cbd569e-fed7-4498-87b4-11444552dfb5@f9941",
"displayName": "奖励特效_00002",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 20.5,
"offsetY": 27.5,
"trimX": 41,
"trimY": 155,
"width": 679,
"height": 915,
"rawWidth": 720,
"rawHeight": 1280,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-339.5,
-457.5,
0,
339.5,
-457.5,
0,
-339.5,
457.5,
0,
339.5,
457.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
41,
1125,
720,
1125,
41,
210,
720,
210
],
"nuv": [
0.05694444444444444,
0.1640625,
1,
0.1640625,
0.05694444444444444,
0.87890625,
1,
0.87890625
],
"minPos": [
-339.5,
-457.5,
0
],
"maxPos": [
339.5,
457.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "3cbd569e-fed7-4498-87b4-11444552dfb5@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "3cbd569e-fed7-4498-87b4-11444552dfb5@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "4d9cec20-8b34-46e7-9251-59272d42b227",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4d9cec20-8b34-46e7-9251-59272d42b227@6c48a",
"displayName": "奖励特效_00004",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "4d9cec20-8b34-46e7-9251-59272d42b227",
"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": "4d9cec20-8b34-46e7-9251-59272d42b227@f9941",
"displayName": "奖励特效_00004",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 20.5,
"offsetY": 27.5,
"trimX": 41,
"trimY": 155,
"width": 679,
"height": 915,
"rawWidth": 720,
"rawHeight": 1280,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-339.5,
-457.5,
0,
339.5,
-457.5,
0,
-339.5,
457.5,
0,
339.5,
457.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
41,
1125,
720,
1125,
41,
210,
720,
210
],
"nuv": [
0.05694444444444444,
0.1640625,
1,
0.1640625,
0.05694444444444444,
0.87890625,
1,
0.87890625
],
"minPos": [
-339.5,
-457.5,
0
],
"maxPos": [
339.5,
457.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4d9cec20-8b34-46e7-9251-59272d42b227@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "4d9cec20-8b34-46e7-9251-59272d42b227@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "67702aaf-c444-4d4c-8605-026cdbe6fee5",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "67702aaf-c444-4d4c-8605-026cdbe6fee5@6c48a",
"displayName": "奖励特效_00006",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "67702aaf-c444-4d4c-8605-026cdbe6fee5",
"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": "67702aaf-c444-4d4c-8605-026cdbe6fee5@f9941",
"displayName": "奖励特效_00006",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 20.5,
"offsetY": 27.5,
"trimX": 41,
"trimY": 155,
"width": 679,
"height": 915,
"rawWidth": 720,
"rawHeight": 1280,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-339.5,
-457.5,
0,
339.5,
-457.5,
0,
-339.5,
457.5,
0,
339.5,
457.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
41,
1125,
720,
1125,
41,
210,
720,
210
],
"nuv": [
0.05694444444444444,
0.1640625,
1,
0.1640625,
0.05694444444444444,
0.87890625,
1,
0.87890625
],
"minPos": [
-339.5,
-457.5,
0
],
"maxPos": [
339.5,
457.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "67702aaf-c444-4d4c-8605-026cdbe6fee5@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "67702aaf-c444-4d4c-8605-026cdbe6fee5@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "05946790-3cbd-42a1-a3b9-523d0e99ea3a",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "05946790-3cbd-42a1-a3b9-523d0e99ea3a@6c48a",
"displayName": "奖励特效_00008",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "05946790-3cbd-42a1-a3b9-523d0e99ea3a",
"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": "05946790-3cbd-42a1-a3b9-523d0e99ea3a@f9941",
"displayName": "奖励特效_00008",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 20.5,
"offsetY": 27.5,
"trimX": 41,
"trimY": 155,
"width": 679,
"height": 915,
"rawWidth": 720,
"rawHeight": 1280,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-339.5,
-457.5,
0,
339.5,
-457.5,
0,
-339.5,
457.5,
0,
339.5,
457.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
41,
1125,
720,
1125,
41,
210,
720,
210
],
"nuv": [
0.05694444444444444,
0.1640625,
1,
0.1640625,
0.05694444444444444,
0.87890625,
1,
0.87890625
],
"minPos": [
-339.5,
-457.5,
0
],
"maxPos": [
339.5,
457.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "05946790-3cbd-42a1-a3b9-523d0e99ea3a@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "05946790-3cbd-42a1-a3b9-523d0e99ea3a@6c48a"
}
}