feat: 支持道具以及升级

This commit is contained in:
richarjiang
2025-09-23 16:39:24 +08:00
parent 9972db71be
commit 924862598a
179 changed files with 12173 additions and 309 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f2062e52-1f0b-4938-b6bc-e698f08a93d4",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f2062e52-1f0b-4938-b6bc-e698f08a93d4@6c48a",
"displayName": "10000",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f2062e52-1f0b-4938-b6bc-e698f08a93d4",
"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": "f2062e52-1f0b-4938-b6bc-e698f08a93d4@f9941",
"displayName": "10000",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": -18.5,
"offsetY": -10.5,
"trimX": 90,
"trimY": 61,
"width": 103,
"height": 139,
"rawWidth": 320,
"rawHeight": 240,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-51.5,
-69.5,
0,
51.5,
-69.5,
0,
-51.5,
69.5,
0,
51.5,
69.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
90,
179,
193,
179,
90,
40,
193,
40
],
"nuv": [
0.28125,
0.16666666666666666,
0.603125,
0.16666666666666666,
0.28125,
0.7458333333333333,
0.603125,
0.7458333333333333
],
"minPos": [
-51.5,
-69.5,
0
],
"maxPos": [
51.5,
69.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f2062e52-1f0b-4938-b6bc-e698f08a93d4@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f2062e52-1f0b-4938-b6bc-e698f08a93d4@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "b8d3a860-55a7-45bb-bd8c-888676cf4799",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "b8d3a860-55a7-45bb-bd8c-888676cf4799@6c48a",
"displayName": "10001",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "b8d3a860-55a7-45bb-bd8c-888676cf4799",
"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": "b8d3a860-55a7-45bb-bd8c-888676cf4799@f9941",
"displayName": "10001",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": -18,
"offsetY": -2.5,
"trimX": 94,
"trimY": 62,
"width": 96,
"height": 121,
"rawWidth": 320,
"rawHeight": 240,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-48,
-60.5,
0,
48,
-60.5,
0,
-48,
60.5,
0,
48,
60.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
94,
178,
190,
178,
94,
57,
190,
57
],
"nuv": [
0.29375,
0.2375,
0.59375,
0.2375,
0.29375,
0.7416666666666667,
0.59375,
0.7416666666666667
],
"minPos": [
-48,
-60.5,
0
],
"maxPos": [
48,
60.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "b8d3a860-55a7-45bb-bd8c-888676cf4799@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "b8d3a860-55a7-45bb-bd8c-888676cf4799@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "3674d255-0ae3-4b0a-b45d-6ff8c2cfc67d",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "3674d255-0ae3-4b0a-b45d-6ff8c2cfc67d@6c48a",
"displayName": "10002",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "3674d255-0ae3-4b0a-b45d-6ff8c2cfc67d",
"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": "3674d255-0ae3-4b0a-b45d-6ff8c2cfc67d@f9941",
"displayName": "10002",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": -15.5,
"offsetY": -2,
"trimX": 95,
"trimY": 61,
"width": 99,
"height": 122,
"rawWidth": 320,
"rawHeight": 240,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-49.5,
-61,
0,
49.5,
-61,
0,
-49.5,
61,
0,
49.5,
61,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
95,
179,
194,
179,
95,
57,
194,
57
],
"nuv": [
0.296875,
0.2375,
0.60625,
0.2375,
0.296875,
0.7458333333333333,
0.60625,
0.7458333333333333
],
"minPos": [
-49.5,
-61,
0
],
"maxPos": [
49.5,
61,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "3674d255-0ae3-4b0a-b45d-6ff8c2cfc67d@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "3674d255-0ae3-4b0a-b45d-6ff8c2cfc67d@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "136aff40-4aeb-49f6-a1bc-887a81285867",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "136aff40-4aeb-49f6-a1bc-887a81285867@6c48a",
"displayName": "10003",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "136aff40-4aeb-49f6-a1bc-887a81285867",
"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": "136aff40-4aeb-49f6-a1bc-887a81285867@f9941",
"displayName": "10003",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": -6.5,
"offsetY": -3.5,
"trimX": 94,
"trimY": 63,
"width": 119,
"height": 121,
"rawWidth": 320,
"rawHeight": 240,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-59.5,
-60.5,
0,
59.5,
-60.5,
0,
-59.5,
60.5,
0,
59.5,
60.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
94,
177,
213,
177,
94,
56,
213,
56
],
"nuv": [
0.29375,
0.23333333333333334,
0.665625,
0.23333333333333334,
0.29375,
0.7375,
0.665625,
0.7375
],
"minPos": [
-59.5,
-60.5,
0
],
"maxPos": [
59.5,
60.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "136aff40-4aeb-49f6-a1bc-887a81285867@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "136aff40-4aeb-49f6-a1bc-887a81285867@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "e8f74714-77fe-4562-9a7c-a93623e4832a",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "e8f74714-77fe-4562-9a7c-a93623e4832a@6c48a",
"displayName": "10004",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "e8f74714-77fe-4562-9a7c-a93623e4832a",
"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": "e8f74714-77fe-4562-9a7c-a93623e4832a@f9941",
"displayName": "10004",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 37.5,
"offsetY": -16,
"trimX": 125,
"trimY": 78,
"width": 145,
"height": 116,
"rawWidth": 320,
"rawHeight": 240,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-72.5,
-58,
0,
72.5,
-58,
0,
-72.5,
58,
0,
72.5,
58,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
125,
162,
270,
162,
125,
46,
270,
46
],
"nuv": [
0.390625,
0.19166666666666668,
0.84375,
0.19166666666666668,
0.390625,
0.675,
0.84375,
0.675
],
"minPos": [
-72.5,
-58,
0
],
"maxPos": [
72.5,
58,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "e8f74714-77fe-4562-9a7c-a93623e4832a@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "e8f74714-77fe-4562-9a7c-a93623e4832a@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "4b573332-4517-4932-a951-b3d1dd18bfd0",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4b573332-4517-4932-a951-b3d1dd18bfd0@6c48a",
"displayName": "10005",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "4b573332-4517-4932-a951-b3d1dd18bfd0",
"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": "4b573332-4517-4932-a951-b3d1dd18bfd0@f9941",
"displayName": "10005",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 40,
"offsetY": -19,
"trimX": 124,
"trimY": 82,
"width": 152,
"height": 114,
"rawWidth": 320,
"rawHeight": 240,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-76,
-57,
0,
76,
-57,
0,
-76,
57,
0,
76,
57,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
124,
158,
276,
158,
124,
44,
276,
44
],
"nuv": [
0.3875,
0.18333333333333332,
0.8625,
0.18333333333333332,
0.3875,
0.6583333333333333,
0.8625,
0.6583333333333333
],
"minPos": [
-76,
-57,
0
],
"maxPos": [
76,
57,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4b573332-4517-4932-a951-b3d1dd18bfd0@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "4b573332-4517-4932-a951-b3d1dd18bfd0@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "4ff98c42-4d1b-463e-aef5-dfea3ea2ce10",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4ff98c42-4d1b-463e-aef5-dfea3ea2ce10@6c48a",
"displayName": "10006",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "4ff98c42-4d1b-463e-aef5-dfea3ea2ce10",
"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": "4ff98c42-4d1b-463e-aef5-dfea3ea2ce10@f9941",
"displayName": "10006",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 34,
"offsetY": -16.5,
"trimX": 118,
"trimY": 78,
"width": 152,
"height": 117,
"rawWidth": 320,
"rawHeight": 240,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-76,
-58.5,
0,
76,
-58.5,
0,
-76,
58.5,
0,
76,
58.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
118,
162,
270,
162,
118,
45,
270,
45
],
"nuv": [
0.36875,
0.1875,
0.84375,
0.1875,
0.36875,
0.675,
0.84375,
0.675
],
"minPos": [
-76,
-58.5,
0
],
"maxPos": [
76,
58.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4ff98c42-4d1b-463e-aef5-dfea3ea2ce10@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "4ff98c42-4d1b-463e-aef5-dfea3ea2ce10@6c48a"
}
}

View File

@@ -0,0 +1,108 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "attack_2",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 0.5166666666666667,
"_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,
0.4166666666666667,
0.5
],
"_values": [
{
"__uuid__": "f2062e52-1f0b-4938-b6bc-e698f08a93d4@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b8d3a860-55a7-45bb-bd8c-888676cf4799@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3674d255-0ae3-4b0a-b45d-6ff8c2cfc67d@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "136aff40-4aeb-49f6-a1bc-887a81285867@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "e8f74714-77fe-4562-9a7c-a93623e4832a@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "4b573332-4517-4932-a951-b3d1dd18bfd0@f9941",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "4ff98c42-4d1b-463e-aef5-dfea3ea2ce10@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": "47c8e9ef-0cf8-417f-be14-ea01ed538a30",
"files": [
".bin"
],
"subMetas": {},
"userData": {
"name": "attack_2"
}
}