feat: 完成碰撞以及攻击逻辑
9
assets/resources/anim/player/attack.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "5aa2ff3e-5d26-4c83-ba2b-9c79cbf8b29d",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
BIN
assets/resources/anim/player/attack/10000.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
134
assets/resources/anim/player/attack/10000.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "9a4d16a9-d9c1-40de-a12a-2a00c2c35260",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "9a4d16a9-d9c1-40de-a12a-2a00c2c35260@6c48a",
|
||||
"displayName": "10000",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "9a4d16a9-d9c1-40de-a12a-2a00c2c35260",
|
||||
"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": "9a4d16a9-d9c1-40de-a12a-2a00c2c35260@f9941",
|
||||
"displayName": "10000",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -18.5,
|
||||
"offsetY": 1,
|
||||
"trimX": 102,
|
||||
"trimY": 58,
|
||||
"width": 79,
|
||||
"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": [
|
||||
-39.5,
|
||||
-61,
|
||||
0,
|
||||
39.5,
|
||||
-61,
|
||||
0,
|
||||
-39.5,
|
||||
61,
|
||||
0,
|
||||
39.5,
|
||||
61,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
102,
|
||||
182,
|
||||
181,
|
||||
182,
|
||||
102,
|
||||
60,
|
||||
181,
|
||||
60
|
||||
],
|
||||
"nuv": [
|
||||
0.31875,
|
||||
0.25,
|
||||
0.565625,
|
||||
0.25,
|
||||
0.31875,
|
||||
0.7583333333333333,
|
||||
0.565625,
|
||||
0.7583333333333333
|
||||
],
|
||||
"minPos": [
|
||||
-39.5,
|
||||
-61,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
39.5,
|
||||
61,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "9a4d16a9-d9c1-40de-a12a-2a00c2c35260@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "9a4d16a9-d9c1-40de-a12a-2a00c2c35260@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/player/attack/10001.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
134
assets/resources/anim/player/attack/10001.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "367afb5e-94c1-4e23-9e27-5c0feb53dd8c",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "367afb5e-94c1-4e23-9e27-5c0feb53dd8c@6c48a",
|
||||
"displayName": "10001",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "367afb5e-94c1-4e23-9e27-5c0feb53dd8c",
|
||||
"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": "367afb5e-94c1-4e23-9e27-5c0feb53dd8c@f9941",
|
||||
"displayName": "10001",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -38.5,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 62,
|
||||
"trimY": 59,
|
||||
"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": [
|
||||
62,
|
||||
181,
|
||||
181,
|
||||
181,
|
||||
62,
|
||||
60,
|
||||
181,
|
||||
60
|
||||
],
|
||||
"nuv": [
|
||||
0.19375,
|
||||
0.25,
|
||||
0.565625,
|
||||
0.25,
|
||||
0.19375,
|
||||
0.7541666666666667,
|
||||
0.565625,
|
||||
0.7541666666666667
|
||||
],
|
||||
"minPos": [
|
||||
-59.5,
|
||||
-60.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
59.5,
|
||||
60.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "367afb5e-94c1-4e23-9e27-5c0feb53dd8c@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "367afb5e-94c1-4e23-9e27-5c0feb53dd8c@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/player/attack/10002.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
134
assets/resources/anim/player/attack/10002.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "ad64770d-7e44-4e0b-839a-ed2fa36baa83",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "ad64770d-7e44-4e0b-839a-ed2fa36baa83@6c48a",
|
||||
"displayName": "10002",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "ad64770d-7e44-4e0b-839a-ed2fa36baa83",
|
||||
"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": "ad64770d-7e44-4e0b-839a-ed2fa36baa83@f9941",
|
||||
"displayName": "10002",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -20,
|
||||
"offsetY": 10.5,
|
||||
"trimX": 97,
|
||||
"trimY": 39,
|
||||
"width": 86,
|
||||
"height": 141,
|
||||
"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": [
|
||||
-43,
|
||||
-70.5,
|
||||
0,
|
||||
43,
|
||||
-70.5,
|
||||
0,
|
||||
-43,
|
||||
70.5,
|
||||
0,
|
||||
43,
|
||||
70.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
97,
|
||||
201,
|
||||
183,
|
||||
201,
|
||||
97,
|
||||
60,
|
||||
183,
|
||||
60
|
||||
],
|
||||
"nuv": [
|
||||
0.303125,
|
||||
0.25,
|
||||
0.571875,
|
||||
0.25,
|
||||
0.303125,
|
||||
0.8375,
|
||||
0.571875,
|
||||
0.8375
|
||||
],
|
||||
"minPos": [
|
||||
-43,
|
||||
-70.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
43,
|
||||
70.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "ad64770d-7e44-4e0b-839a-ed2fa36baa83@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "ad64770d-7e44-4e0b-839a-ed2fa36baa83@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/player/attack/10003.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
134
assets/resources/anim/player/attack/10003.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "a59e80e1-0b5d-4e3a-a41c-19380de79a55",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "a59e80e1-0b5d-4e3a-a41c-19380de79a55@6c48a",
|
||||
"displayName": "10003",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "a59e80e1-0b5d-4e3a-a41c-19380de79a55",
|
||||
"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": "a59e80e1-0b5d-4e3a-a41c-19380de79a55@f9941",
|
||||
"displayName": "10003",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -14,
|
||||
"offsetY": 4,
|
||||
"trimX": 93,
|
||||
"trimY": 52,
|
||||
"width": 106,
|
||||
"height": 128,
|
||||
"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": [
|
||||
-53,
|
||||
-64,
|
||||
0,
|
||||
53,
|
||||
-64,
|
||||
0,
|
||||
-53,
|
||||
64,
|
||||
0,
|
||||
53,
|
||||
64,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
93,
|
||||
188,
|
||||
199,
|
||||
188,
|
||||
93,
|
||||
60,
|
||||
199,
|
||||
60
|
||||
],
|
||||
"nuv": [
|
||||
0.290625,
|
||||
0.25,
|
||||
0.621875,
|
||||
0.25,
|
||||
0.290625,
|
||||
0.7833333333333333,
|
||||
0.621875,
|
||||
0.7833333333333333
|
||||
],
|
||||
"minPos": [
|
||||
-53,
|
||||
-64,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
53,
|
||||
64,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "a59e80e1-0b5d-4e3a-a41c-19380de79a55@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "a59e80e1-0b5d-4e3a-a41c-19380de79a55@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/player/attack/10004.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
134
assets/resources/anim/player/attack/10004.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "6036701b-7339-40a0-b12c-3484802f472f",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "6036701b-7339-40a0-b12c-3484802f472f@6c48a",
|
||||
"displayName": "10004",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "6036701b-7339-40a0-b12c-3484802f472f",
|
||||
"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": "6036701b-7339-40a0-b12c-3484802f472f@f9941",
|
||||
"displayName": "10004",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 7,
|
||||
"offsetY": -7,
|
||||
"trimX": 119,
|
||||
"trimY": 74,
|
||||
"width": 96,
|
||||
"height": 106,
|
||||
"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,
|
||||
-53,
|
||||
0,
|
||||
48,
|
||||
-53,
|
||||
0,
|
||||
-48,
|
||||
53,
|
||||
0,
|
||||
48,
|
||||
53,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
119,
|
||||
166,
|
||||
215,
|
||||
166,
|
||||
119,
|
||||
60,
|
||||
215,
|
||||
60
|
||||
],
|
||||
"nuv": [
|
||||
0.371875,
|
||||
0.25,
|
||||
0.671875,
|
||||
0.25,
|
||||
0.371875,
|
||||
0.6916666666666667,
|
||||
0.671875,
|
||||
0.6916666666666667
|
||||
],
|
||||
"minPos": [
|
||||
-48,
|
||||
-53,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
48,
|
||||
53,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6036701b-7339-40a0-b12c-3484802f472f@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "6036701b-7339-40a0-b12c-3484802f472f@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/player/attack/10005.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
134
assets/resources/anim/player/attack/10005.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "0d665edc-8a0c-4bfc-9936-e55d3c278f48",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "0d665edc-8a0c-4bfc-9936-e55d3c278f48@6c48a",
|
||||
"displayName": "10005",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "0d665edc-8a0c-4bfc-9936-e55d3c278f48",
|
||||
"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": "0d665edc-8a0c-4bfc-9936-e55d3c278f48@f9941",
|
||||
"displayName": "10005",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 9.5,
|
||||
"offsetY": -8,
|
||||
"trimX": 118,
|
||||
"trimY": 76,
|
||||
"width": 103,
|
||||
"height": 104,
|
||||
"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,
|
||||
-52,
|
||||
0,
|
||||
51.5,
|
||||
-52,
|
||||
0,
|
||||
-51.5,
|
||||
52,
|
||||
0,
|
||||
51.5,
|
||||
52,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
118,
|
||||
164,
|
||||
221,
|
||||
164,
|
||||
118,
|
||||
60,
|
||||
221,
|
||||
60
|
||||
],
|
||||
"nuv": [
|
||||
0.36875,
|
||||
0.25,
|
||||
0.690625,
|
||||
0.25,
|
||||
0.36875,
|
||||
0.6833333333333333,
|
||||
0.690625,
|
||||
0.6833333333333333
|
||||
],
|
||||
"minPos": [
|
||||
-51.5,
|
||||
-52,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
51.5,
|
||||
52,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "0d665edc-8a0c-4bfc-9936-e55d3c278f48@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "0d665edc-8a0c-4bfc-9936-e55d3c278f48@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/player/attack/10006.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
134
assets/resources/anim/player/attack/10006.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "12b1a441-3c4b-4e6e-ad05-c8fef2a9fd26",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "12b1a441-3c4b-4e6e-ad05-c8fef2a9fd26@6c48a",
|
||||
"displayName": "10006",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "12b1a441-3c4b-4e6e-ad05-c8fef2a9fd26",
|
||||
"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": "12b1a441-3c4b-4e6e-ad05-c8fef2a9fd26@f9941",
|
||||
"displayName": "10006",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 7,
|
||||
"offsetY": -8,
|
||||
"trimX": 119,
|
||||
"trimY": 76,
|
||||
"width": 96,
|
||||
"height": 104,
|
||||
"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,
|
||||
-52,
|
||||
0,
|
||||
48,
|
||||
-52,
|
||||
0,
|
||||
-48,
|
||||
52,
|
||||
0,
|
||||
48,
|
||||
52,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
119,
|
||||
164,
|
||||
215,
|
||||
164,
|
||||
119,
|
||||
60,
|
||||
215,
|
||||
60
|
||||
],
|
||||
"nuv": [
|
||||
0.371875,
|
||||
0.25,
|
||||
0.671875,
|
||||
0.25,
|
||||
0.371875,
|
||||
0.6833333333333333,
|
||||
0.671875,
|
||||
0.6833333333333333
|
||||
],
|
||||
"minPos": [
|
||||
-48,
|
||||
-52,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
48,
|
||||
52,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "12b1a441-3c4b-4e6e-ad05-c8fef2a9fd26@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "12b1a441-3c4b-4e6e-ad05-c8fef2a9fd26@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/player/attack/10007.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
134
assets/resources/anim/player/attack/10007.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "7a6f2b5e-5367-4898-b1c7-4cecf55641f0",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "7a6f2b5e-5367-4898-b1c7-4cecf55641f0@6c48a",
|
||||
"displayName": "10007",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "7a6f2b5e-5367-4898-b1c7-4cecf55641f0",
|
||||
"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": "7a6f2b5e-5367-4898-b1c7-4cecf55641f0@f9941",
|
||||
"displayName": "10007",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 5,
|
||||
"offsetY": -6,
|
||||
"trimX": 129,
|
||||
"trimY": 70,
|
||||
"width": 72,
|
||||
"height": 112,
|
||||
"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": [
|
||||
-36,
|
||||
-56,
|
||||
0,
|
||||
36,
|
||||
-56,
|
||||
0,
|
||||
-36,
|
||||
56,
|
||||
0,
|
||||
36,
|
||||
56,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
129,
|
||||
170,
|
||||
201,
|
||||
170,
|
||||
129,
|
||||
58,
|
||||
201,
|
||||
58
|
||||
],
|
||||
"nuv": [
|
||||
0.403125,
|
||||
0.24166666666666667,
|
||||
0.628125,
|
||||
0.24166666666666667,
|
||||
0.403125,
|
||||
0.7083333333333334,
|
||||
0.628125,
|
||||
0.7083333333333334
|
||||
],
|
||||
"minPos": [
|
||||
-36,
|
||||
-56,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
36,
|
||||
56,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "7a6f2b5e-5367-4898-b1c7-4cecf55641f0@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "7a6f2b5e-5367-4898-b1c7-4cecf55641f0@6c48a"
|
||||
}
|
||||
}
|
||||
113
assets/resources/anim/player/attack/attack.anim
Normal file
@@ -0,0 +1,113 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "attack",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {
|
||||
"embeddedPlayerGroups": []
|
||||
},
|
||||
"_native": "",
|
||||
"sample": 60,
|
||||
"speed": 1,
|
||||
"wrapMode": 2,
|
||||
"enableTrsBlending": false,
|
||||
"_duration": 0.6,
|
||||
"_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,
|
||||
0.5833333333333334
|
||||
],
|
||||
"_values": [
|
||||
{
|
||||
"__uuid__": "9a4d16a9-d9c1-40de-a12a-2a00c2c35260@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "367afb5e-94c1-4e23-9e27-5c0feb53dd8c@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "ad64770d-7e44-4e0b-839a-ed2fa36baa83@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "a59e80e1-0b5d-4e3a-a41c-19380de79a55@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "6036701b-7339-40a0-b12c-3484802f472f@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "0d665edc-8a0c-4bfc-9936-e55d3c278f48@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "12b1a441-3c4b-4e6e-ad05-c8fef2a9fd26@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "7a6f2b5e-5367-4898-b1c7-4cecf55641f0@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "cc.AnimationClipAdditiveSettings",
|
||||
"enabled": false,
|
||||
"refClip": null
|
||||
}
|
||||
]
|
||||
13
assets/resources/anim/player/attack/attack.anim.meta
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "2.0.4",
|
||||
"importer": "animation-clip",
|
||||
"imported": true,
|
||||
"uuid": "a07c81b6-e4f7-4534-8ecc-2ee9db2f9936",
|
||||
"files": [
|
||||
".bin"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"name": "attack"
|
||||
}
|
||||
}
|
||||
9
assets/resources/anim/xiaoguai/1/attack.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "efadb552-6ae0-4117-9bbd-079baf6f53c2",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
BIN
assets/resources/anim/xiaoguai/1/attack/10000.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
134
assets/resources/anim/xiaoguai/1/attack/10000.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "ff81dc13-8ae5-4780-8758-eb283517737a",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "ff81dc13-8ae5-4780-8758-eb283517737a@6c48a",
|
||||
"displayName": "10000",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "ff81dc13-8ae5-4780-8758-eb283517737a",
|
||||
"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": "ff81dc13-8ae5-4780-8758-eb283517737a@f9941",
|
||||
"displayName": "10000",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -26,
|
||||
"offsetY": 6.5,
|
||||
"trimX": 88,
|
||||
"trimY": 55,
|
||||
"width": 92,
|
||||
"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": [
|
||||
-46,
|
||||
-58.5,
|
||||
0,
|
||||
46,
|
||||
-58.5,
|
||||
0,
|
||||
-46,
|
||||
58.5,
|
||||
0,
|
||||
46,
|
||||
58.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
88,
|
||||
185,
|
||||
180,
|
||||
185,
|
||||
88,
|
||||
68,
|
||||
180,
|
||||
68
|
||||
],
|
||||
"nuv": [
|
||||
0.275,
|
||||
0.2833333333333333,
|
||||
0.5625,
|
||||
0.2833333333333333,
|
||||
0.275,
|
||||
0.7708333333333334,
|
||||
0.5625,
|
||||
0.7708333333333334
|
||||
],
|
||||
"minPos": [
|
||||
-46,
|
||||
-58.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
46,
|
||||
58.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "ff81dc13-8ae5-4780-8758-eb283517737a@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "ff81dc13-8ae5-4780-8758-eb283517737a@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/xiaoguai/1/attack/10001.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
134
assets/resources/anim/xiaoguai/1/attack/10001.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "21480760-0b61-43f8-a47d-d1b3e9606320",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "21480760-0b61-43f8-a47d-d1b3e9606320@6c48a",
|
||||
"displayName": "10001",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "21480760-0b61-43f8-a47d-d1b3e9606320",
|
||||
"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": "21480760-0b61-43f8-a47d-d1b3e9606320@f9941",
|
||||
"displayName": "10001",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -12,
|
||||
"offsetY": 8.5,
|
||||
"trimX": 116,
|
||||
"trimY": 51,
|
||||
"width": 64,
|
||||
"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": [
|
||||
-32,
|
||||
-60.5,
|
||||
0,
|
||||
32,
|
||||
-60.5,
|
||||
0,
|
||||
-32,
|
||||
60.5,
|
||||
0,
|
||||
32,
|
||||
60.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
116,
|
||||
189,
|
||||
180,
|
||||
189,
|
||||
116,
|
||||
68,
|
||||
180,
|
||||
68
|
||||
],
|
||||
"nuv": [
|
||||
0.3625,
|
||||
0.2833333333333333,
|
||||
0.5625,
|
||||
0.2833333333333333,
|
||||
0.3625,
|
||||
0.7875,
|
||||
0.5625,
|
||||
0.7875
|
||||
],
|
||||
"minPos": [
|
||||
-32,
|
||||
-60.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
32,
|
||||
60.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "21480760-0b61-43f8-a47d-d1b3e9606320@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "21480760-0b61-43f8-a47d-d1b3e9606320@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/xiaoguai/1/attack/10002.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
134
assets/resources/anim/xiaoguai/1/attack/10002.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "47d9577b-96c3-48a0-8946-2b5dd0623001",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "47d9577b-96c3-48a0-8946-2b5dd0623001@6c48a",
|
||||
"displayName": "10002",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "47d9577b-96c3-48a0-8946-2b5dd0623001",
|
||||
"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": "47d9577b-96c3-48a0-8946-2b5dd0623001@f9941",
|
||||
"displayName": "10002",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -24.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 79,
|
||||
"trimY": 67,
|
||||
"width": 113,
|
||||
"height": 106,
|
||||
"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": [
|
||||
-56.5,
|
||||
-53,
|
||||
0,
|
||||
56.5,
|
||||
-53,
|
||||
0,
|
||||
-56.5,
|
||||
53,
|
||||
0,
|
||||
56.5,
|
||||
53,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
79,
|
||||
173,
|
||||
192,
|
||||
173,
|
||||
79,
|
||||
67,
|
||||
192,
|
||||
67
|
||||
],
|
||||
"nuv": [
|
||||
0.246875,
|
||||
0.2791666666666667,
|
||||
0.6,
|
||||
0.2791666666666667,
|
||||
0.246875,
|
||||
0.7208333333333333,
|
||||
0.6,
|
||||
0.7208333333333333
|
||||
],
|
||||
"minPos": [
|
||||
-56.5,
|
||||
-53,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
56.5,
|
||||
53,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "47d9577b-96c3-48a0-8946-2b5dd0623001@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "47d9577b-96c3-48a0-8946-2b5dd0623001@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/xiaoguai/1/attack/10003.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
134
assets/resources/anim/xiaoguai/1/attack/10003.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "cb9130f6-38f9-4f99-b71b-470652c16bf4",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "cb9130f6-38f9-4f99-b71b-470652c16bf4@6c48a",
|
||||
"displayName": "10003",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "cb9130f6-38f9-4f99-b71b-470652c16bf4",
|
||||
"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": "cb9130f6-38f9-4f99-b71b-470652c16bf4@f9941",
|
||||
"displayName": "10003",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -1,
|
||||
"offsetY": 1.5,
|
||||
"trimX": 120,
|
||||
"trimY": 64,
|
||||
"width": 78,
|
||||
"height": 109,
|
||||
"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": [
|
||||
-39,
|
||||
-54.5,
|
||||
0,
|
||||
39,
|
||||
-54.5,
|
||||
0,
|
||||
-39,
|
||||
54.5,
|
||||
0,
|
||||
39,
|
||||
54.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
120,
|
||||
176,
|
||||
198,
|
||||
176,
|
||||
120,
|
||||
67,
|
||||
198,
|
||||
67
|
||||
],
|
||||
"nuv": [
|
||||
0.375,
|
||||
0.2791666666666667,
|
||||
0.61875,
|
||||
0.2791666666666667,
|
||||
0.375,
|
||||
0.7333333333333333,
|
||||
0.61875,
|
||||
0.7333333333333333
|
||||
],
|
||||
"minPos": [
|
||||
-39,
|
||||
-54.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
39,
|
||||
54.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "cb9130f6-38f9-4f99-b71b-470652c16bf4@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "cb9130f6-38f9-4f99-b71b-470652c16bf4@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/xiaoguai/1/attack/10004.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
134
assets/resources/anim/xiaoguai/1/attack/10004.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "6f933a0b-ff0b-47ba-8c50-0dd7c2bb5a41",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "6f933a0b-ff0b-47ba-8c50-0dd7c2bb5a41@6c48a",
|
||||
"displayName": "10004",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "6f933a0b-ff0b-47ba-8c50-0dd7c2bb5a41",
|
||||
"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": "6f933a0b-ff0b-47ba-8c50-0dd7c2bb5a41@f9941",
|
||||
"displayName": "10004",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 20.5,
|
||||
"offsetY": 1.5,
|
||||
"trimX": 120,
|
||||
"trimY": 64,
|
||||
"width": 121,
|
||||
"height": 109,
|
||||
"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": [
|
||||
-60.5,
|
||||
-54.5,
|
||||
0,
|
||||
60.5,
|
||||
-54.5,
|
||||
0,
|
||||
-60.5,
|
||||
54.5,
|
||||
0,
|
||||
60.5,
|
||||
54.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
120,
|
||||
176,
|
||||
241,
|
||||
176,
|
||||
120,
|
||||
67,
|
||||
241,
|
||||
67
|
||||
],
|
||||
"nuv": [
|
||||
0.375,
|
||||
0.2791666666666667,
|
||||
0.753125,
|
||||
0.2791666666666667,
|
||||
0.375,
|
||||
0.7333333333333333,
|
||||
0.753125,
|
||||
0.7333333333333333
|
||||
],
|
||||
"minPos": [
|
||||
-60.5,
|
||||
-54.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
60.5,
|
||||
54.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6f933a0b-ff0b-47ba-8c50-0dd7c2bb5a41@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "6f933a0b-ff0b-47ba-8c50-0dd7c2bb5a41@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/xiaoguai/1/attack/10005.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
134
assets/resources/anim/xiaoguai/1/attack/10005.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "69741d75-3660-468a-8b52-9caca2c91401",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "69741d75-3660-468a-8b52-9caca2c91401@6c48a",
|
||||
"displayName": "10005",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "69741d75-3660-468a-8b52-9caca2c91401",
|
||||
"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": "69741d75-3660-468a-8b52-9caca2c91401@f9941",
|
||||
"displayName": "10005",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 4.5,
|
||||
"offsetY": 1.5,
|
||||
"trimX": 120,
|
||||
"trimY": 65,
|
||||
"width": 89,
|
||||
"height": 107,
|
||||
"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": [
|
||||
-44.5,
|
||||
-53.5,
|
||||
0,
|
||||
44.5,
|
||||
-53.5,
|
||||
0,
|
||||
-44.5,
|
||||
53.5,
|
||||
0,
|
||||
44.5,
|
||||
53.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
120,
|
||||
175,
|
||||
209,
|
||||
175,
|
||||
120,
|
||||
68,
|
||||
209,
|
||||
68
|
||||
],
|
||||
"nuv": [
|
||||
0.375,
|
||||
0.2833333333333333,
|
||||
0.653125,
|
||||
0.2833333333333333,
|
||||
0.375,
|
||||
0.7291666666666666,
|
||||
0.653125,
|
||||
0.7291666666666666
|
||||
],
|
||||
"minPos": [
|
||||
-44.5,
|
||||
-53.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
44.5,
|
||||
53.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "69741d75-3660-468a-8b52-9caca2c91401@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "69741d75-3660-468a-8b52-9caca2c91401@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/xiaoguai/1/attack/10006.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
134
assets/resources/anim/xiaoguai/1/attack/10006.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "7cdc8e52-7ba4-4700-8320-dde08859e7e3",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "7cdc8e52-7ba4-4700-8320-dde08859e7e3@6c48a",
|
||||
"displayName": "10006",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "7cdc8e52-7ba4-4700-8320-dde08859e7e3",
|
||||
"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": "7cdc8e52-7ba4-4700-8320-dde08859e7e3@f9941",
|
||||
"displayName": "10006",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 8,
|
||||
"offsetY": 1.5,
|
||||
"trimX": 119,
|
||||
"trimY": 65,
|
||||
"width": 98,
|
||||
"height": 107,
|
||||
"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,
|
||||
-53.5,
|
||||
0,
|
||||
49,
|
||||
-53.5,
|
||||
0,
|
||||
-49,
|
||||
53.5,
|
||||
0,
|
||||
49,
|
||||
53.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
119,
|
||||
175,
|
||||
217,
|
||||
175,
|
||||
119,
|
||||
68,
|
||||
217,
|
||||
68
|
||||
],
|
||||
"nuv": [
|
||||
0.371875,
|
||||
0.2833333333333333,
|
||||
0.678125,
|
||||
0.2833333333333333,
|
||||
0.371875,
|
||||
0.7291666666666666,
|
||||
0.678125,
|
||||
0.7291666666666666
|
||||
],
|
||||
"minPos": [
|
||||
-49,
|
||||
-53.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
49,
|
||||
53.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "7cdc8e52-7ba4-4700-8320-dde08859e7e3@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "7cdc8e52-7ba4-4700-8320-dde08859e7e3@6c48a"
|
||||
}
|
||||
}
|
||||
BIN
assets/resources/anim/xiaoguai/1/attack/10007.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
134
assets/resources/anim/xiaoguai/1/attack/10007.png.meta
Normal file
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "a05e1104-8924-4e36-aff0-bb94c95a6402",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "a05e1104-8924-4e36-aff0-bb94c95a6402@6c48a",
|
||||
"displayName": "10007",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "a05e1104-8924-4e36-aff0-bb94c95a6402",
|
||||
"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": "a05e1104-8924-4e36-aff0-bb94c95a6402@f9941",
|
||||
"displayName": "10007",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 4.5,
|
||||
"offsetY": 1,
|
||||
"trimX": 119,
|
||||
"trimY": 66,
|
||||
"width": 91,
|
||||
"height": 106,
|
||||
"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": [
|
||||
-45.5,
|
||||
-53,
|
||||
0,
|
||||
45.5,
|
||||
-53,
|
||||
0,
|
||||
-45.5,
|
||||
53,
|
||||
0,
|
||||
45.5,
|
||||
53,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
119,
|
||||
174,
|
||||
210,
|
||||
174,
|
||||
119,
|
||||
68,
|
||||
210,
|
||||
68
|
||||
],
|
||||
"nuv": [
|
||||
0.371875,
|
||||
0.2833333333333333,
|
||||
0.65625,
|
||||
0.2833333333333333,
|
||||
0.371875,
|
||||
0.725,
|
||||
0.65625,
|
||||
0.725
|
||||
],
|
||||
"minPos": [
|
||||
-45.5,
|
||||
-53,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
45.5,
|
||||
53,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "a05e1104-8924-4e36-aff0-bb94c95a6402@6c48a",
|
||||
"atlasUuid": "",
|
||||
"trimType": "auto"
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "a05e1104-8924-4e36-aff0-bb94c95a6402@6c48a"
|
||||
}
|
||||
}
|
||||
113
assets/resources/anim/xiaoguai/1/attack/guai_1_attack.anim
Normal file
@@ -0,0 +1,113 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "guai_1_attack",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {
|
||||
"embeddedPlayerGroups": []
|
||||
},
|
||||
"_native": "",
|
||||
"sample": 60,
|
||||
"speed": 1,
|
||||
"wrapMode": 2,
|
||||
"enableTrsBlending": false,
|
||||
"_duration": 0.6,
|
||||
"_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,
|
||||
0.5833333333333334
|
||||
],
|
||||
"_values": [
|
||||
{
|
||||
"__uuid__": "ff81dc13-8ae5-4780-8758-eb283517737a@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "21480760-0b61-43f8-a47d-d1b3e9606320@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "47d9577b-96c3-48a0-8946-2b5dd0623001@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "cb9130f6-38f9-4f99-b71b-470652c16bf4@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "6f933a0b-ff0b-47ba-8c50-0dd7c2bb5a41@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "69741d75-3660-468a-8b52-9caca2c91401@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "7cdc8e52-7ba4-4700-8320-dde08859e7e3@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "a05e1104-8924-4e36-aff0-bb94c95a6402@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "cc.AnimationClipAdditiveSettings",
|
||||
"enabled": false,
|
||||
"refClip": null
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "2.0.4",
|
||||
"importer": "animation-clip",
|
||||
"imported": true,
|
||||
"uuid": "88fe4ee4-900d-44af-a405-32ff388218da",
|
||||
"files": [
|
||||
".bin"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"name": "guai_1_attack"
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,6 @@
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"name": "guai_stand"
|
||||
"name": "guai_1_stand"
|
||||
}
|
||||
}
|
||||
@@ -52,7 +52,7 @@
|
||||
},
|
||||
"autoReleaseAssets": false,
|
||||
"_globals": {
|
||||
"__id__": 36
|
||||
"__id__": 40
|
||||
},
|
||||
"_id": "58132e64-0171-4c7f-89be-a2984ca7de6b"
|
||||
},
|
||||
@@ -69,19 +69,19 @@
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 10
|
||||
"__id__": 12
|
||||
},
|
||||
{
|
||||
"__id__": 20
|
||||
"__id__": 22
|
||||
},
|
||||
{
|
||||
"__id__": 23
|
||||
"__id__": 25
|
||||
},
|
||||
{
|
||||
"__id__": 26
|
||||
"__id__": 28
|
||||
},
|
||||
{
|
||||
"__id__": 29
|
||||
"__id__": 31
|
||||
},
|
||||
{
|
||||
"__id__": 6
|
||||
@@ -90,13 +90,13 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 33
|
||||
"__id__": 37
|
||||
},
|
||||
{
|
||||
"__id__": 34
|
||||
"__id__": 38
|
||||
},
|
||||
{
|
||||
"__id__": 35
|
||||
"__id__": 39
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -267,6 +267,12 @@
|
||||
},
|
||||
{
|
||||
"__id__": 9
|
||||
},
|
||||
{
|
||||
"__id__": 10
|
||||
},
|
||||
{
|
||||
"__id__": 11
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -344,6 +350,10 @@
|
||||
{
|
||||
"__uuid__": "1cae9705-74b5-4828-955a-0509c344873d",
|
||||
"__expectedType__": "cc.AnimationClip"
|
||||
},
|
||||
{
|
||||
"__uuid__": "a07c81b6-e4f7-4534-8ecc-2ee9db2f9936",
|
||||
"__expectedType__": "cc.AnimationClip"
|
||||
}
|
||||
],
|
||||
"_defaultClip": {
|
||||
@@ -391,6 +401,62 @@
|
||||
"_atlas": null,
|
||||
"_id": "1f9/F2IKtCf4htX1i8Q4/O"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.RigidBody2D",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"enabledContactListener": true,
|
||||
"bullet": false,
|
||||
"awakeOnLoad": true,
|
||||
"_group": 1,
|
||||
"_type": 1,
|
||||
"_allowSleep": true,
|
||||
"_gravityScale": 0,
|
||||
"_linearDamping": 0,
|
||||
"_angularDamping": 0,
|
||||
"_linearVelocity": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_angularVelocity": 0,
|
||||
"_fixedRotation": true,
|
||||
"_id": "82hPtgJjdFX7LAqMF3trgK"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.BoxCollider2D",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"tag": 0,
|
||||
"_group": 1,
|
||||
"_density": 1,
|
||||
"_sensor": false,
|
||||
"_friction": 0.2,
|
||||
"_restitution": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_size": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 51,
|
||||
"height": 120
|
||||
},
|
||||
"_id": "634GiEUhBB8Z1aGzkT6Zyd"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "TiledMap",
|
||||
@@ -401,22 +467,22 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 11
|
||||
"__id__": 13
|
||||
},
|
||||
{
|
||||
"__id__": 14
|
||||
"__id__": 16
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 17
|
||||
},
|
||||
{
|
||||
"__id__": 18
|
||||
},
|
||||
{
|
||||
"__id__": 19
|
||||
},
|
||||
{
|
||||
"__id__": 20
|
||||
},
|
||||
{
|
||||
"__id__": 21
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -455,16 +521,16 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 10
|
||||
"__id__": 12
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 12
|
||||
"__id__": 14
|
||||
},
|
||||
{
|
||||
"__id__": 13
|
||||
"__id__": 15
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -503,7 +569,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 11
|
||||
"__id__": 13
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -525,7 +591,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 11
|
||||
"__id__": 13
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -564,16 +630,16 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 10
|
||||
"__id__": 12
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 15
|
||||
"__id__": 17
|
||||
},
|
||||
{
|
||||
"__id__": 16
|
||||
"__id__": 18
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -612,7 +678,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 14
|
||||
"__id__": 16
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -634,7 +700,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 14
|
||||
"__id__": 16
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -656,7 +722,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 10
|
||||
"__id__": 12
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -678,7 +744,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 10
|
||||
"__id__": 12
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -696,12 +762,12 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 10
|
||||
"__id__": 12
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"tiledMap": {
|
||||
"__id__": 18
|
||||
"__id__": 20
|
||||
},
|
||||
"walkableLayerName": "WalkableLayer",
|
||||
"tileSize": 32,
|
||||
@@ -719,10 +785,10 @@
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 21
|
||||
"__id__": 23
|
||||
},
|
||||
{
|
||||
"__id__": 22
|
||||
"__id__": 24
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -761,7 +827,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 20
|
||||
"__id__": 22
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -783,7 +849,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 20
|
||||
"__id__": 22
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -828,10 +894,10 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 24
|
||||
"__id__": 26
|
||||
},
|
||||
{
|
||||
"__id__": 25
|
||||
"__id__": 27
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -870,7 +936,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 23
|
||||
"__id__": 25
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -892,7 +958,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 23
|
||||
"__id__": 25
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -903,7 +969,7 @@
|
||||
"__id__": 4
|
||||
},
|
||||
"pathfinder": {
|
||||
"__id__": 19
|
||||
"__id__": 21
|
||||
},
|
||||
"moveSpeed": 300,
|
||||
"mapWidth": 1080,
|
||||
@@ -922,10 +988,10 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 27
|
||||
"__id__": 29
|
||||
},
|
||||
{
|
||||
"__id__": 28
|
||||
"__id__": 30
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -964,7 +1030,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 26
|
||||
"__id__": 28
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -986,12 +1052,12 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 26
|
||||
"__id__": 28
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"tiledMap": {
|
||||
"__id__": 18
|
||||
"__id__": 20
|
||||
},
|
||||
"playerNode": {
|
||||
"__id__": 6
|
||||
@@ -1000,7 +1066,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Guai",
|
||||
"_name": "guai_1",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
@@ -1009,14 +1075,20 @@
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 30
|
||||
},
|
||||
{
|
||||
"__id__": 31
|
||||
},
|
||||
{
|
||||
"__id__": 32
|
||||
},
|
||||
{
|
||||
"__id__": 33
|
||||
},
|
||||
{
|
||||
"__id__": 34
|
||||
},
|
||||
{
|
||||
"__id__": 35
|
||||
},
|
||||
{
|
||||
"__id__": 36
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -1055,7 +1127,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 29
|
||||
"__id__": 31
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -1077,7 +1149,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 29
|
||||
"__id__": 31
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -1116,15 +1188,19 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 29
|
||||
"__id__": 31
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"playOnLoad": false,
|
||||
"playOnLoad": true,
|
||||
"_clips": [
|
||||
{
|
||||
"__uuid__": "54ef783f-23da-4784-bee8-1869d746b41a",
|
||||
"__expectedType__": "cc.AnimationClip"
|
||||
},
|
||||
{
|
||||
"__uuid__": "88fe4ee4-900d-44af-a405-32ff388218da",
|
||||
"__expectedType__": "cc.AnimationClip"
|
||||
}
|
||||
],
|
||||
"_defaultClip": {
|
||||
@@ -1133,6 +1209,62 @@
|
||||
},
|
||||
"_id": "70f6J4ahJE5qUWJaUcvYje"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.RigidBody2D",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 31
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"enabledContactListener": false,
|
||||
"bullet": false,
|
||||
"awakeOnLoad": true,
|
||||
"_group": 1,
|
||||
"_type": 0,
|
||||
"_allowSleep": true,
|
||||
"_gravityScale": 0,
|
||||
"_linearDamping": 0,
|
||||
"_angularDamping": 0,
|
||||
"_linearVelocity": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_angularVelocity": 0,
|
||||
"_fixedRotation": true,
|
||||
"_id": "54p0eTw2dLQ5ABP01NLPhM"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.BoxCollider2D",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 31
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"tag": 0,
|
||||
"_group": 1,
|
||||
"_density": 1,
|
||||
"_sensor": false,
|
||||
"_friction": 0.2,
|
||||
"_restitution": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_size": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 56,
|
||||
"height": 119
|
||||
},
|
||||
"_id": "cdIXFZyqRL66Jq6KOCWAZ6"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
@@ -1204,29 +1336,29 @@
|
||||
{
|
||||
"__type__": "cc.SceneGlobals",
|
||||
"ambient": {
|
||||
"__id__": 37
|
||||
},
|
||||
"shadows": {
|
||||
"__id__": 38
|
||||
},
|
||||
"_skybox": {
|
||||
"__id__": 39
|
||||
},
|
||||
"fog": {
|
||||
"__id__": 40
|
||||
},
|
||||
"octree": {
|
||||
"__id__": 41
|
||||
},
|
||||
"skin": {
|
||||
"shadows": {
|
||||
"__id__": 42
|
||||
},
|
||||
"lightProbeInfo": {
|
||||
"_skybox": {
|
||||
"__id__": 43
|
||||
},
|
||||
"postSettings": {
|
||||
"fog": {
|
||||
"__id__": 44
|
||||
},
|
||||
"octree": {
|
||||
"__id__": 45
|
||||
},
|
||||
"skin": {
|
||||
"__id__": 46
|
||||
},
|
||||
"lightProbeInfo": {
|
||||
"__id__": 47
|
||||
},
|
||||
"postSettings": {
|
||||
"__id__": 48
|
||||
},
|
||||
"bakedWithStationaryMainLight": false,
|
||||
"bakedWithHighpLightmap": false
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { _decorator, Component, Node, Vec3, input, Input, EventTouch, Camera, view, tween, Animation } from 'cc';
|
||||
import { _decorator, Component, Node, Vec3, input, Input, EventTouch, Camera, view, tween, Animation, Collider2D, Contact2DType } from 'cc';
|
||||
import { TiledMapPathfinder } from './TiledMapPathfinder';
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@@ -24,6 +24,7 @@ export class PlayerController extends Component {
|
||||
mapHeight: number = 2560; // 地图高度
|
||||
|
||||
private isMoving: boolean = false;
|
||||
private isAttacking: boolean = false;
|
||||
private currentPath: Vec3[] = [];
|
||||
private currentPathIndex: number = 0;
|
||||
private originalPosition: Vec3 = new Vec3();
|
||||
@@ -33,6 +34,12 @@ export class PlayerController extends Component {
|
||||
onLoad() {
|
||||
// 注册触摸事件
|
||||
input.on(Input.EventType.TOUCH_START, this.onTouchStart, this);
|
||||
|
||||
let collider = this.player.getComponent(Collider2D);
|
||||
if (collider) {
|
||||
// 监听碰撞事件
|
||||
collider.on(Contact2DType.BEGIN_CONTACT, this.onBeginContact, this);
|
||||
}
|
||||
}
|
||||
|
||||
onDestroy() {
|
||||
@@ -47,7 +54,7 @@ export class PlayerController extends Component {
|
||||
}
|
||||
|
||||
private onTouchStart(event: EventTouch) {
|
||||
if (!this.player || !this.camera || !this.pathfinder) return;
|
||||
if (!this.player || !this.camera || !this.pathfinder || this.isAttacking) return;
|
||||
|
||||
// 获取触摸点的UI坐标
|
||||
const touchLocation = event.getUILocation();
|
||||
@@ -205,13 +212,19 @@ export class PlayerController extends Component {
|
||||
* 移动到路径中的下一个路径点
|
||||
*/
|
||||
private moveToNextWaypoint() {
|
||||
if (this.currentAnimation === 'attack') {
|
||||
return
|
||||
}
|
||||
|
||||
if (!this.player || this.currentPath.length === 0 || this.currentPathIndex >= this.currentPath.length) {
|
||||
this.isMoving = false;
|
||||
this.player.getComponent(Animation)?.play('stand');
|
||||
this.switchAnimation('stand');
|
||||
console.log('路径移动完成');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
const targetPos = this.currentPath[this.currentPathIndex];
|
||||
const currentPos = this.player.position;
|
||||
|
||||
@@ -260,4 +273,18 @@ export class PlayerController extends Component {
|
||||
// 更新逻辑现在主要由缓动系统处理
|
||||
// 这里可以添加其他需要每帧更新的逻辑
|
||||
}
|
||||
|
||||
onBeginContact(selfCollider: Collider2D, otherCollider: Collider2D) {
|
||||
if (otherCollider.node.name.startsWith('guai_')) {
|
||||
this.isAttacking = true;
|
||||
// 怪物攻击
|
||||
const animation = otherCollider.node.getComponent(Animation);
|
||||
if (animation) {
|
||||
animation.play(`${otherCollider.node.name}_attack`);
|
||||
}
|
||||
|
||||
// player 攻击
|
||||
this.switchAnimation('attack');
|
||||
}
|
||||
}
|
||||
}
|
||||