diff --git a/assets/resources/anim/player/1.meta b/assets/resources/anim/player/1.meta new file mode 100644 index 0000000..3acef09 --- /dev/null +++ b/assets/resources/anim/player/1.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "3c1b7a89-adb9-4c22-93af-ba52d08d23f1", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/anim/player/attack.meta b/assets/resources/anim/player/1/attack.meta similarity index 100% rename from assets/resources/anim/player/attack.meta rename to assets/resources/anim/player/1/attack.meta diff --git a/assets/resources/anim/player/attack/10000.png b/assets/resources/anim/player/1/attack/10000.png similarity index 100% rename from assets/resources/anim/player/attack/10000.png rename to assets/resources/anim/player/1/attack/10000.png diff --git a/assets/resources/anim/player/attack/10000.png.meta b/assets/resources/anim/player/1/attack/10000.png.meta similarity index 100% rename from assets/resources/anim/player/attack/10000.png.meta rename to assets/resources/anim/player/1/attack/10000.png.meta diff --git a/assets/resources/anim/player/attack/10001.png b/assets/resources/anim/player/1/attack/10001.png similarity index 100% rename from assets/resources/anim/player/attack/10001.png rename to assets/resources/anim/player/1/attack/10001.png diff --git a/assets/resources/anim/player/attack/10001.png.meta b/assets/resources/anim/player/1/attack/10001.png.meta similarity index 100% rename from assets/resources/anim/player/attack/10001.png.meta rename to assets/resources/anim/player/1/attack/10001.png.meta diff --git a/assets/resources/anim/player/attack/10002.png b/assets/resources/anim/player/1/attack/10002.png similarity index 100% rename from assets/resources/anim/player/attack/10002.png rename to assets/resources/anim/player/1/attack/10002.png diff --git a/assets/resources/anim/player/attack/10002.png.meta b/assets/resources/anim/player/1/attack/10002.png.meta similarity index 100% rename from assets/resources/anim/player/attack/10002.png.meta rename to assets/resources/anim/player/1/attack/10002.png.meta diff --git a/assets/resources/anim/player/attack/10003.png b/assets/resources/anim/player/1/attack/10003.png similarity index 100% rename from assets/resources/anim/player/attack/10003.png rename to assets/resources/anim/player/1/attack/10003.png diff --git a/assets/resources/anim/player/attack/10003.png.meta b/assets/resources/anim/player/1/attack/10003.png.meta similarity index 100% rename from assets/resources/anim/player/attack/10003.png.meta rename to assets/resources/anim/player/1/attack/10003.png.meta diff --git a/assets/resources/anim/player/attack/10004.png b/assets/resources/anim/player/1/attack/10004.png similarity index 100% rename from assets/resources/anim/player/attack/10004.png rename to assets/resources/anim/player/1/attack/10004.png diff --git a/assets/resources/anim/player/attack/10004.png.meta b/assets/resources/anim/player/1/attack/10004.png.meta similarity index 100% rename from assets/resources/anim/player/attack/10004.png.meta rename to assets/resources/anim/player/1/attack/10004.png.meta diff --git a/assets/resources/anim/player/attack/10005.png b/assets/resources/anim/player/1/attack/10005.png similarity index 100% rename from assets/resources/anim/player/attack/10005.png rename to assets/resources/anim/player/1/attack/10005.png diff --git a/assets/resources/anim/player/attack/10005.png.meta b/assets/resources/anim/player/1/attack/10005.png.meta similarity index 100% rename from assets/resources/anim/player/attack/10005.png.meta rename to assets/resources/anim/player/1/attack/10005.png.meta diff --git a/assets/resources/anim/player/attack/10006.png b/assets/resources/anim/player/1/attack/10006.png similarity index 100% rename from assets/resources/anim/player/attack/10006.png rename to assets/resources/anim/player/1/attack/10006.png diff --git a/assets/resources/anim/player/attack/10006.png.meta b/assets/resources/anim/player/1/attack/10006.png.meta similarity index 100% rename from assets/resources/anim/player/attack/10006.png.meta rename to assets/resources/anim/player/1/attack/10006.png.meta diff --git a/assets/resources/anim/player/attack/10007.png b/assets/resources/anim/player/1/attack/10007.png similarity index 100% rename from assets/resources/anim/player/attack/10007.png rename to assets/resources/anim/player/1/attack/10007.png diff --git a/assets/resources/anim/player/attack/10007.png.meta b/assets/resources/anim/player/1/attack/10007.png.meta similarity index 100% rename from assets/resources/anim/player/attack/10007.png.meta rename to assets/resources/anim/player/1/attack/10007.png.meta diff --git a/assets/resources/anim/player/attack/attack.anim b/assets/resources/anim/player/1/attack/attack.anim similarity index 100% rename from assets/resources/anim/player/attack/attack.anim rename to assets/resources/anim/player/1/attack/attack.anim diff --git a/assets/resources/anim/player/attack/attack.anim.meta b/assets/resources/anim/player/1/attack/attack.anim.meta similarity index 100% rename from assets/resources/anim/player/attack/attack.anim.meta rename to assets/resources/anim/player/1/attack/attack.anim.meta diff --git a/assets/resources/anim/player/1/die.meta b/assets/resources/anim/player/1/die.meta new file mode 100644 index 0000000..780294c --- /dev/null +++ b/assets/resources/anim/player/1/die.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "edfa23cb-481e-4985-bca3-6607ec93c274", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/anim/player/1/die/10000.png b/assets/resources/anim/player/1/die/10000.png new file mode 100644 index 0000000..b05ec86 Binary files /dev/null and b/assets/resources/anim/player/1/die/10000.png differ diff --git a/assets/resources/anim/player/1/die/10000.png.meta b/assets/resources/anim/player/1/die/10000.png.meta new file mode 100644 index 0000000..efb4fd3 --- /dev/null +++ b/assets/resources/anim/player/1/die/10000.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "0ddc3192-418a-4810-8dd0-03b4bc6d86b6", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "0ddc3192-418a-4810-8dd0-03b4bc6d86b6@6c48a", + "displayName": "10000", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "0ddc3192-418a-4810-8dd0-03b4bc6d86b6", + "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": "0ddc3192-418a-4810-8dd0-03b4bc6d86b6@f9941", + "displayName": "10000", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": -1, + "offsetY": -5, + "trimX": 129, + "trimY": 69, + "width": 60, + "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": [ + -30, + -56, + 0, + 30, + -56, + 0, + -30, + 56, + 0, + 30, + 56, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 129, + 171, + 189, + 171, + 129, + 59, + 189, + 59 + ], + "nuv": [ + 0.403125, + 0.24583333333333332, + 0.590625, + 0.24583333333333332, + 0.403125, + 0.7125, + 0.590625, + 0.7125 + ], + "minPos": [ + -30, + -56, + 0 + ], + "maxPos": [ + 30, + 56, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "0ddc3192-418a-4810-8dd0-03b4bc6d86b6@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "0ddc3192-418a-4810-8dd0-03b4bc6d86b6@6c48a" + } +} diff --git a/assets/resources/anim/player/1/die/10001.png b/assets/resources/anim/player/1/die/10001.png new file mode 100644 index 0000000..cff75aa Binary files /dev/null and b/assets/resources/anim/player/1/die/10001.png differ diff --git a/assets/resources/anim/player/1/die/10001.png.meta b/assets/resources/anim/player/1/die/10001.png.meta new file mode 100644 index 0000000..021fc14 --- /dev/null +++ b/assets/resources/anim/player/1/die/10001.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "03dcd625-73a1-4a12-b2e1-50c462a4f538", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "03dcd625-73a1-4a12-b2e1-50c462a4f538@6c48a", + "displayName": "10001", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "03dcd625-73a1-4a12-b2e1-50c462a4f538", + "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": "03dcd625-73a1-4a12-b2e1-50c462a4f538@f9941", + "displayName": "10001", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": -4.5, + "offsetY": -3.5, + "trimX": 120, + "trimY": 54, + "width": 71, + "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": [ + -35.5, + -69.5, + 0, + 35.5, + -69.5, + 0, + -35.5, + 69.5, + 0, + 35.5, + 69.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 120, + 186, + 191, + 186, + 120, + 47, + 191, + 47 + ], + "nuv": [ + 0.375, + 0.19583333333333333, + 0.596875, + 0.19583333333333333, + 0.375, + 0.775, + 0.596875, + 0.775 + ], + "minPos": [ + -35.5, + -69.5, + 0 + ], + "maxPos": [ + 35.5, + 69.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "03dcd625-73a1-4a12-b2e1-50c462a4f538@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "03dcd625-73a1-4a12-b2e1-50c462a4f538@6c48a" + } +} diff --git a/assets/resources/anim/player/1/die/10002.png b/assets/resources/anim/player/1/die/10002.png new file mode 100644 index 0000000..f32b527 Binary files /dev/null and b/assets/resources/anim/player/1/die/10002.png differ diff --git a/assets/resources/anim/player/1/die/10002.png.meta b/assets/resources/anim/player/1/die/10002.png.meta new file mode 100644 index 0000000..becd759 --- /dev/null +++ b/assets/resources/anim/player/1/die/10002.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "3485d059-6626-4b67-b8d1-8b4ae7e87930", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "3485d059-6626-4b67-b8d1-8b4ae7e87930@6c48a", + "displayName": "10002", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "3485d059-6626-4b67-b8d1-8b4ae7e87930", + "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": "3485d059-6626-4b67-b8d1-8b4ae7e87930@f9941", + "displayName": "10002", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": -4.5, + "offsetY": -15, + "trimX": 118, + "trimY": 55, + "width": 75, + "height": 160, + "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": [ + -37.5, + -80, + 0, + 37.5, + -80, + 0, + -37.5, + 80, + 0, + 37.5, + 80, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 118, + 185, + 193, + 185, + 118, + 25, + 193, + 25 + ], + "nuv": [ + 0.36875, + 0.10416666666666667, + 0.603125, + 0.10416666666666667, + 0.36875, + 0.7708333333333334, + 0.603125, + 0.7708333333333334 + ], + "minPos": [ + -37.5, + -80, + 0 + ], + "maxPos": [ + 37.5, + 80, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "3485d059-6626-4b67-b8d1-8b4ae7e87930@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "3485d059-6626-4b67-b8d1-8b4ae7e87930@6c48a" + } +} diff --git a/assets/resources/anim/player/1/die/10003.png b/assets/resources/anim/player/1/die/10003.png new file mode 100644 index 0000000..71421c0 Binary files /dev/null and b/assets/resources/anim/player/1/die/10003.png differ diff --git a/assets/resources/anim/player/1/die/10003.png.meta b/assets/resources/anim/player/1/die/10003.png.meta new file mode 100644 index 0000000..384af22 --- /dev/null +++ b/assets/resources/anim/player/1/die/10003.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "e1d5af7d-9748-4fe3-be59-ebb9188be43f", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "e1d5af7d-9748-4fe3-be59-ebb9188be43f@6c48a", + "displayName": "10003", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "e1d5af7d-9748-4fe3-be59-ebb9188be43f", + "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": "e1d5af7d-9748-4fe3-be59-ebb9188be43f@f9941", + "displayName": "10003", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 5.5, + "offsetY": -23, + "trimX": 117, + "trimY": 74, + "width": 97, + "height": 138, + "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.5, + -69, + 0, + 48.5, + -69, + 0, + -48.5, + 69, + 0, + 48.5, + 69, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 117, + 166, + 214, + 166, + 117, + 28, + 214, + 28 + ], + "nuv": [ + 0.365625, + 0.11666666666666667, + 0.66875, + 0.11666666666666667, + 0.365625, + 0.6916666666666667, + 0.66875, + 0.6916666666666667 + ], + "minPos": [ + -48.5, + -69, + 0 + ], + "maxPos": [ + 48.5, + 69, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "e1d5af7d-9748-4fe3-be59-ebb9188be43f@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "e1d5af7d-9748-4fe3-be59-ebb9188be43f@6c48a" + } +} diff --git a/assets/resources/anim/player/1/die/10004.png b/assets/resources/anim/player/1/die/10004.png new file mode 100644 index 0000000..664942e Binary files /dev/null and b/assets/resources/anim/player/1/die/10004.png differ diff --git a/assets/resources/anim/player/1/die/10004.png.meta b/assets/resources/anim/player/1/die/10004.png.meta new file mode 100644 index 0000000..3524fcc --- /dev/null +++ b/assets/resources/anim/player/1/die/10004.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "85a673b9-03ad-45d8-be35-ff63b116ea2b", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "85a673b9-03ad-45d8-be35-ff63b116ea2b@6c48a", + "displayName": "10004", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "85a673b9-03ad-45d8-be35-ff63b116ea2b", + "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": "85a673b9-03ad-45d8-be35-ff63b116ea2b@f9941", + "displayName": "10004", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 18, + "offsetY": -56.5, + "trimX": 111, + "trimY": 138, + "width": 134, + "height": 77, + "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": [ + -67, + -38.5, + 0, + 67, + -38.5, + 0, + -67, + 38.5, + 0, + 67, + 38.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 111, + 102, + 245, + 102, + 111, + 25, + 245, + 25 + ], + "nuv": [ + 0.346875, + 0.10416666666666667, + 0.765625, + 0.10416666666666667, + 0.346875, + 0.425, + 0.765625, + 0.425 + ], + "minPos": [ + -67, + -38.5, + 0 + ], + "maxPos": [ + 67, + 38.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "85a673b9-03ad-45d8-be35-ff63b116ea2b@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "85a673b9-03ad-45d8-be35-ff63b116ea2b@6c48a" + } +} diff --git a/assets/resources/anim/player/1/die/10005.png b/assets/resources/anim/player/1/die/10005.png new file mode 100644 index 0000000..e8301f9 Binary files /dev/null and b/assets/resources/anim/player/1/die/10005.png differ diff --git a/assets/resources/anim/player/1/die/10005.png.meta b/assets/resources/anim/player/1/die/10005.png.meta new file mode 100644 index 0000000..47b39ad --- /dev/null +++ b/assets/resources/anim/player/1/die/10005.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "615b09c5-5b55-4a5e-9544-b6b53cf8a575", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "615b09c5-5b55-4a5e-9544-b6b53cf8a575@6c48a", + "displayName": "10005", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "615b09c5-5b55-4a5e-9544-b6b53cf8a575", + "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": "615b09c5-5b55-4a5e-9544-b6b53cf8a575@f9941", + "displayName": "10005", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 14.5, + "offsetY": -63.5, + "trimX": 101, + "trimY": 144, + "width": 147, + "height": 79, + "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": [ + -73.5, + -39.5, + 0, + 73.5, + -39.5, + 0, + -73.5, + 39.5, + 0, + 73.5, + 39.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 101, + 96, + 248, + 96, + 101, + 17, + 248, + 17 + ], + "nuv": [ + 0.315625, + 0.07083333333333333, + 0.775, + 0.07083333333333333, + 0.315625, + 0.4, + 0.775, + 0.4 + ], + "minPos": [ + -73.5, + -39.5, + 0 + ], + "maxPos": [ + 73.5, + 39.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "615b09c5-5b55-4a5e-9544-b6b53cf8a575@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "615b09c5-5b55-4a5e-9544-b6b53cf8a575@6c48a" + } +} diff --git a/assets/resources/anim/player/1/die/10006.png b/assets/resources/anim/player/1/die/10006.png new file mode 100644 index 0000000..aabfd5e Binary files /dev/null and b/assets/resources/anim/player/1/die/10006.png differ diff --git a/assets/resources/anim/player/1/die/10006.png.meta b/assets/resources/anim/player/1/die/10006.png.meta new file mode 100644 index 0000000..2fefd5f --- /dev/null +++ b/assets/resources/anim/player/1/die/10006.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "2ee87668-77c8-48e5-bdad-47b029728336", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "2ee87668-77c8-48e5-bdad-47b029728336@6c48a", + "displayName": "10006", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "2ee87668-77c8-48e5-bdad-47b029728336", + "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": "2ee87668-77c8-48e5-bdad-47b029728336@f9941", + "displayName": "10006", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 12, + "offsetY": -67.5, + "trimX": 96, + "trimY": 146, + "width": 152, + "height": 83, + "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, + -41.5, + 0, + 76, + -41.5, + 0, + -76, + 41.5, + 0, + 76, + 41.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 96, + 94, + 248, + 94, + 96, + 11, + 248, + 11 + ], + "nuv": [ + 0.3, + 0.04583333333333333, + 0.775, + 0.04583333333333333, + 0.3, + 0.39166666666666666, + 0.775, + 0.39166666666666666 + ], + "minPos": [ + -76, + -41.5, + 0 + ], + "maxPos": [ + 76, + 41.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "2ee87668-77c8-48e5-bdad-47b029728336@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "2ee87668-77c8-48e5-bdad-47b029728336@6c48a" + } +} diff --git a/assets/resources/anim/player/1/die/10007.png b/assets/resources/anim/player/1/die/10007.png new file mode 100644 index 0000000..faf0d0f Binary files /dev/null and b/assets/resources/anim/player/1/die/10007.png differ diff --git a/assets/resources/anim/player/1/die/10007.png.meta b/assets/resources/anim/player/1/die/10007.png.meta new file mode 100644 index 0000000..45fea69 --- /dev/null +++ b/assets/resources/anim/player/1/die/10007.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "466750d0-d091-470e-aa5c-3b9ef5452014", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "466750d0-d091-470e-aa5c-3b9ef5452014@6c48a", + "displayName": "10007", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "466750d0-d091-470e-aa5c-3b9ef5452014", + "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": "466750d0-d091-470e-aa5c-3b9ef5452014@f9941", + "displayName": "10007", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 13, + "offsetY": -67.5, + "trimX": 96, + "trimY": 147, + "width": 154, + "height": 81, + "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": [ + -77, + -40.5, + 0, + 77, + -40.5, + 0, + -77, + 40.5, + 0, + 77, + 40.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 96, + 93, + 250, + 93, + 96, + 12, + 250, + 12 + ], + "nuv": [ + 0.3, + 0.05, + 0.78125, + 0.05, + 0.3, + 0.3875, + 0.78125, + 0.3875 + ], + "minPos": [ + -77, + -40.5, + 0 + ], + "maxPos": [ + 77, + 40.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "466750d0-d091-470e-aa5c-3b9ef5452014@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "466750d0-d091-470e-aa5c-3b9ef5452014@6c48a" + } +} diff --git a/assets/resources/anim/player/1/die/die.anim b/assets/resources/anim/player/1/die/die.anim new file mode 100644 index 0000000..47a887e --- /dev/null +++ b/assets/resources/anim/player/1/die/die.anim @@ -0,0 +1,113 @@ +[ + { + "__type__": "cc.AnimationClip", + "_name": "die", + "_objFlags": 0, + "__editorExtras__": { + "embeddedPlayerGroups": [] + }, + "_native": "", + "sample": 60, + "speed": 1, + "wrapMode": 1, + "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__": "0ddc3192-418a-4810-8dd0-03b4bc6d86b6@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "03dcd625-73a1-4a12-b2e1-50c462a4f538@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "3485d059-6626-4b67-b8d1-8b4ae7e87930@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "e1d5af7d-9748-4fe3-be59-ebb9188be43f@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "85a673b9-03ad-45d8-be35-ff63b116ea2b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "615b09c5-5b55-4a5e-9544-b6b53cf8a575@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "2ee87668-77c8-48e5-bdad-47b029728336@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + { + "__uuid__": "466750d0-d091-470e-aa5c-3b9ef5452014@f9941", + "__expectedType__": "cc.SpriteFrame" + } + ] + }, + { + "__type__": "cc.AnimationClipAdditiveSettings", + "enabled": false, + "refClip": null + } +] \ No newline at end of file diff --git a/assets/resources/anim/player/1/die/die.anim.meta b/assets/resources/anim/player/1/die/die.anim.meta new file mode 100644 index 0000000..9fc05cc --- /dev/null +++ b/assets/resources/anim/player/1/die/die.anim.meta @@ -0,0 +1,13 @@ +{ + "ver": "2.0.4", + "importer": "animation-clip", + "imported": true, + "uuid": "a5dd270e-cbde-4526-a425-27a7846ee0e5", + "files": [ + ".bin" + ], + "subMetas": {}, + "userData": { + "name": "die" + } +} diff --git a/assets/resources/anim/player/stand.meta b/assets/resources/anim/player/1/stand.meta similarity index 100% rename from assets/resources/anim/player/stand.meta rename to assets/resources/anim/player/1/stand.meta diff --git a/assets/resources/anim/player/stand/10000.png b/assets/resources/anim/player/1/stand/10000.png similarity index 100% rename from assets/resources/anim/player/stand/10000.png rename to assets/resources/anim/player/1/stand/10000.png diff --git a/assets/resources/anim/player/stand/10000.png.meta b/assets/resources/anim/player/1/stand/10000.png.meta similarity index 100% rename from assets/resources/anim/player/stand/10000.png.meta rename to assets/resources/anim/player/1/stand/10000.png.meta diff --git a/assets/resources/anim/player/stand/10001.png b/assets/resources/anim/player/1/stand/10001.png similarity index 100% rename from assets/resources/anim/player/stand/10001.png rename to assets/resources/anim/player/1/stand/10001.png diff --git a/assets/resources/anim/player/stand/10001.png.meta b/assets/resources/anim/player/1/stand/10001.png.meta similarity index 100% rename from assets/resources/anim/player/stand/10001.png.meta rename to assets/resources/anim/player/1/stand/10001.png.meta diff --git a/assets/resources/anim/player/stand/10002.png b/assets/resources/anim/player/1/stand/10002.png similarity index 100% rename from assets/resources/anim/player/stand/10002.png rename to assets/resources/anim/player/1/stand/10002.png diff --git a/assets/resources/anim/player/stand/10002.png.meta b/assets/resources/anim/player/1/stand/10002.png.meta similarity index 100% rename from assets/resources/anim/player/stand/10002.png.meta rename to assets/resources/anim/player/1/stand/10002.png.meta diff --git a/assets/resources/anim/player/stand/10003.png b/assets/resources/anim/player/1/stand/10003.png similarity index 100% rename from assets/resources/anim/player/stand/10003.png rename to assets/resources/anim/player/1/stand/10003.png diff --git a/assets/resources/anim/player/stand/10003.png.meta b/assets/resources/anim/player/1/stand/10003.png.meta similarity index 100% rename from assets/resources/anim/player/stand/10003.png.meta rename to assets/resources/anim/player/1/stand/10003.png.meta diff --git a/assets/resources/anim/player/stand/10004.png b/assets/resources/anim/player/1/stand/10004.png similarity index 100% rename from assets/resources/anim/player/stand/10004.png rename to assets/resources/anim/player/1/stand/10004.png diff --git a/assets/resources/anim/player/stand/10004.png.meta b/assets/resources/anim/player/1/stand/10004.png.meta similarity index 100% rename from assets/resources/anim/player/stand/10004.png.meta rename to assets/resources/anim/player/1/stand/10004.png.meta diff --git a/assets/resources/anim/player/stand/10005.png b/assets/resources/anim/player/1/stand/10005.png similarity index 100% rename from assets/resources/anim/player/stand/10005.png rename to assets/resources/anim/player/1/stand/10005.png diff --git a/assets/resources/anim/player/stand/10005.png.meta b/assets/resources/anim/player/1/stand/10005.png.meta similarity index 100% rename from assets/resources/anim/player/stand/10005.png.meta rename to assets/resources/anim/player/1/stand/10005.png.meta diff --git a/assets/resources/anim/player/stand/10006.png b/assets/resources/anim/player/1/stand/10006.png similarity index 100% rename from assets/resources/anim/player/stand/10006.png rename to assets/resources/anim/player/1/stand/10006.png diff --git a/assets/resources/anim/player/stand/10006.png.meta b/assets/resources/anim/player/1/stand/10006.png.meta similarity index 100% rename from assets/resources/anim/player/stand/10006.png.meta rename to assets/resources/anim/player/1/stand/10006.png.meta diff --git a/assets/resources/anim/player/stand/10007.png b/assets/resources/anim/player/1/stand/10007.png similarity index 100% rename from assets/resources/anim/player/stand/10007.png rename to assets/resources/anim/player/1/stand/10007.png diff --git a/assets/resources/anim/player/stand/10007.png.meta b/assets/resources/anim/player/1/stand/10007.png.meta similarity index 100% rename from assets/resources/anim/player/stand/10007.png.meta rename to assets/resources/anim/player/1/stand/10007.png.meta diff --git a/assets/resources/anim/player/stand/stand.anim b/assets/resources/anim/player/1/stand/stand.anim similarity index 100% rename from assets/resources/anim/player/stand/stand.anim rename to assets/resources/anim/player/1/stand/stand.anim diff --git a/assets/resources/anim/player/stand/stand.anim.meta b/assets/resources/anim/player/1/stand/stand.anim.meta similarity index 100% rename from assets/resources/anim/player/stand/stand.anim.meta rename to assets/resources/anim/player/1/stand/stand.anim.meta diff --git a/assets/resources/anim/player/walk.meta b/assets/resources/anim/player/1/walk.meta similarity index 100% rename from assets/resources/anim/player/walk.meta rename to assets/resources/anim/player/1/walk.meta diff --git a/assets/resources/anim/player/walk/3.meta b/assets/resources/anim/player/1/walk/3.meta similarity index 100% rename from assets/resources/anim/player/walk/3.meta rename to assets/resources/anim/player/1/walk/3.meta diff --git a/assets/resources/anim/player/walk/3/10000.png b/assets/resources/anim/player/1/walk/3/10000.png similarity index 100% rename from assets/resources/anim/player/walk/3/10000.png rename to assets/resources/anim/player/1/walk/3/10000.png diff --git a/assets/resources/anim/player/walk/3/10000.png.meta b/assets/resources/anim/player/1/walk/3/10000.png.meta similarity index 100% rename from assets/resources/anim/player/walk/3/10000.png.meta rename to assets/resources/anim/player/1/walk/3/10000.png.meta diff --git a/assets/resources/anim/player/walk/3/10001.png b/assets/resources/anim/player/1/walk/3/10001.png similarity index 100% rename from assets/resources/anim/player/walk/3/10001.png rename to assets/resources/anim/player/1/walk/3/10001.png diff --git a/assets/resources/anim/player/walk/3/10001.png.meta b/assets/resources/anim/player/1/walk/3/10001.png.meta similarity index 100% rename from assets/resources/anim/player/walk/3/10001.png.meta rename to assets/resources/anim/player/1/walk/3/10001.png.meta diff --git a/assets/resources/anim/player/walk/3/10002.png b/assets/resources/anim/player/1/walk/3/10002.png similarity index 100% rename from assets/resources/anim/player/walk/3/10002.png rename to assets/resources/anim/player/1/walk/3/10002.png diff --git a/assets/resources/anim/player/walk/3/10002.png.meta b/assets/resources/anim/player/1/walk/3/10002.png.meta similarity index 100% rename from assets/resources/anim/player/walk/3/10002.png.meta rename to assets/resources/anim/player/1/walk/3/10002.png.meta diff --git a/assets/resources/anim/player/walk/3/10003.png b/assets/resources/anim/player/1/walk/3/10003.png similarity index 100% rename from assets/resources/anim/player/walk/3/10003.png rename to assets/resources/anim/player/1/walk/3/10003.png diff --git a/assets/resources/anim/player/walk/3/10003.png.meta b/assets/resources/anim/player/1/walk/3/10003.png.meta similarity index 100% rename from assets/resources/anim/player/walk/3/10003.png.meta rename to assets/resources/anim/player/1/walk/3/10003.png.meta diff --git a/assets/resources/anim/player/walk/3/10004.png b/assets/resources/anim/player/1/walk/3/10004.png similarity index 100% rename from assets/resources/anim/player/walk/3/10004.png rename to assets/resources/anim/player/1/walk/3/10004.png diff --git a/assets/resources/anim/player/walk/3/10004.png.meta b/assets/resources/anim/player/1/walk/3/10004.png.meta similarity index 100% rename from assets/resources/anim/player/walk/3/10004.png.meta rename to assets/resources/anim/player/1/walk/3/10004.png.meta diff --git a/assets/resources/anim/player/walk/3/10005.png b/assets/resources/anim/player/1/walk/3/10005.png similarity index 100% rename from assets/resources/anim/player/walk/3/10005.png rename to assets/resources/anim/player/1/walk/3/10005.png diff --git a/assets/resources/anim/player/walk/3/10005.png.meta b/assets/resources/anim/player/1/walk/3/10005.png.meta similarity index 100% rename from assets/resources/anim/player/walk/3/10005.png.meta rename to assets/resources/anim/player/1/walk/3/10005.png.meta diff --git a/assets/resources/anim/player/walk/3/10006.png b/assets/resources/anim/player/1/walk/3/10006.png similarity index 100% rename from assets/resources/anim/player/walk/3/10006.png rename to assets/resources/anim/player/1/walk/3/10006.png diff --git a/assets/resources/anim/player/walk/3/10006.png.meta b/assets/resources/anim/player/1/walk/3/10006.png.meta similarity index 100% rename from assets/resources/anim/player/walk/3/10006.png.meta rename to assets/resources/anim/player/1/walk/3/10006.png.meta diff --git a/assets/resources/anim/player/walk/3/10007.png b/assets/resources/anim/player/1/walk/3/10007.png similarity index 100% rename from assets/resources/anim/player/walk/3/10007.png rename to assets/resources/anim/player/1/walk/3/10007.png diff --git a/assets/resources/anim/player/walk/3/10007.png.meta b/assets/resources/anim/player/1/walk/3/10007.png.meta similarity index 100% rename from assets/resources/anim/player/walk/3/10007.png.meta rename to assets/resources/anim/player/1/walk/3/10007.png.meta diff --git a/assets/resources/anim/player/walk/3/walk3.anim b/assets/resources/anim/player/1/walk/3/walk3.anim similarity index 100% rename from assets/resources/anim/player/walk/3/walk3.anim rename to assets/resources/anim/player/1/walk/3/walk3.anim diff --git a/assets/resources/anim/player/walk/3/walk3.anim.meta b/assets/resources/anim/player/1/walk/3/walk3.anim.meta similarity index 100% rename from assets/resources/anim/player/walk/3/walk3.anim.meta rename to assets/resources/anim/player/1/walk/3/walk3.anim.meta diff --git a/assets/resources/anim/player/walk/5.meta b/assets/resources/anim/player/1/walk/5.meta similarity index 100% rename from assets/resources/anim/player/walk/5.meta rename to assets/resources/anim/player/1/walk/5.meta diff --git a/assets/resources/anim/player/walk/5/10000.png b/assets/resources/anim/player/1/walk/5/10000.png similarity index 100% rename from assets/resources/anim/player/walk/5/10000.png rename to assets/resources/anim/player/1/walk/5/10000.png diff --git a/assets/resources/anim/player/walk/5/10000.png.meta b/assets/resources/anim/player/1/walk/5/10000.png.meta similarity index 100% rename from assets/resources/anim/player/walk/5/10000.png.meta rename to assets/resources/anim/player/1/walk/5/10000.png.meta diff --git a/assets/resources/anim/player/walk/5/10001.png b/assets/resources/anim/player/1/walk/5/10001.png similarity index 100% rename from assets/resources/anim/player/walk/5/10001.png rename to assets/resources/anim/player/1/walk/5/10001.png diff --git a/assets/resources/anim/player/walk/5/10001.png.meta b/assets/resources/anim/player/1/walk/5/10001.png.meta similarity index 100% rename from assets/resources/anim/player/walk/5/10001.png.meta rename to assets/resources/anim/player/1/walk/5/10001.png.meta diff --git a/assets/resources/anim/player/walk/5/10002.png b/assets/resources/anim/player/1/walk/5/10002.png similarity index 100% rename from assets/resources/anim/player/walk/5/10002.png rename to assets/resources/anim/player/1/walk/5/10002.png diff --git a/assets/resources/anim/player/walk/5/10002.png.meta b/assets/resources/anim/player/1/walk/5/10002.png.meta similarity index 100% rename from assets/resources/anim/player/walk/5/10002.png.meta rename to assets/resources/anim/player/1/walk/5/10002.png.meta diff --git a/assets/resources/anim/player/walk/5/10003.png b/assets/resources/anim/player/1/walk/5/10003.png similarity index 100% rename from assets/resources/anim/player/walk/5/10003.png rename to assets/resources/anim/player/1/walk/5/10003.png diff --git a/assets/resources/anim/player/walk/5/10003.png.meta b/assets/resources/anim/player/1/walk/5/10003.png.meta similarity index 100% rename from assets/resources/anim/player/walk/5/10003.png.meta rename to assets/resources/anim/player/1/walk/5/10003.png.meta diff --git a/assets/resources/anim/player/walk/5/10004.png b/assets/resources/anim/player/1/walk/5/10004.png similarity index 100% rename from assets/resources/anim/player/walk/5/10004.png rename to assets/resources/anim/player/1/walk/5/10004.png diff --git a/assets/resources/anim/player/walk/5/10004.png.meta b/assets/resources/anim/player/1/walk/5/10004.png.meta similarity index 100% rename from assets/resources/anim/player/walk/5/10004.png.meta rename to assets/resources/anim/player/1/walk/5/10004.png.meta diff --git a/assets/resources/anim/player/walk/5/10005.png b/assets/resources/anim/player/1/walk/5/10005.png similarity index 100% rename from assets/resources/anim/player/walk/5/10005.png rename to assets/resources/anim/player/1/walk/5/10005.png diff --git a/assets/resources/anim/player/walk/5/10005.png.meta b/assets/resources/anim/player/1/walk/5/10005.png.meta similarity index 100% rename from assets/resources/anim/player/walk/5/10005.png.meta rename to assets/resources/anim/player/1/walk/5/10005.png.meta diff --git a/assets/resources/anim/player/walk/5/10006.png b/assets/resources/anim/player/1/walk/5/10006.png similarity index 100% rename from assets/resources/anim/player/walk/5/10006.png rename to assets/resources/anim/player/1/walk/5/10006.png diff --git a/assets/resources/anim/player/walk/5/10006.png.meta b/assets/resources/anim/player/1/walk/5/10006.png.meta similarity index 100% rename from assets/resources/anim/player/walk/5/10006.png.meta rename to assets/resources/anim/player/1/walk/5/10006.png.meta diff --git a/assets/resources/anim/player/walk/5/10007.png b/assets/resources/anim/player/1/walk/5/10007.png similarity index 100% rename from assets/resources/anim/player/walk/5/10007.png rename to assets/resources/anim/player/1/walk/5/10007.png diff --git a/assets/resources/anim/player/walk/5/10007.png.meta b/assets/resources/anim/player/1/walk/5/10007.png.meta similarity index 100% rename from assets/resources/anim/player/walk/5/10007.png.meta rename to assets/resources/anim/player/1/walk/5/10007.png.meta diff --git a/assets/resources/anim/player/walk/5/walk5.anim b/assets/resources/anim/player/1/walk/5/walk5.anim similarity index 100% rename from assets/resources/anim/player/walk/5/walk5.anim rename to assets/resources/anim/player/1/walk/5/walk5.anim diff --git a/assets/resources/anim/player/walk/5/walk5.anim.meta b/assets/resources/anim/player/1/walk/5/walk5.anim.meta similarity index 100% rename from assets/resources/anim/player/walk/5/walk5.anim.meta rename to assets/resources/anim/player/1/walk/5/walk5.anim.meta diff --git a/assets/resources/anim/player/2.meta b/assets/resources/anim/player/2.meta new file mode 100644 index 0000000..eefa185 --- /dev/null +++ b/assets/resources/anim/player/2.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "6c729801-11bd-4668-a9a6-30b2821a0b9b", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/anim/xiaoguai/1/stand/guai_1_stand.anim b/assets/resources/anim/xiaoguai/1/stand/guai_1_stand.anim index 300c8f8..52f6937 100644 --- a/assets/resources/anim/xiaoguai/1/stand/guai_1_stand.anim +++ b/assets/resources/anim/xiaoguai/1/stand/guai_1_stand.anim @@ -1,7 +1,7 @@ [ { "__type__": "cc.AnimationClip", - "_name": "guai_stand", + "_name": "guai_1_stand", "_objFlags": 0, "__editorExtras__": { "embeddedPlayerGroups": [] @@ -9,7 +9,7 @@ "_native": "", "sample": 60, "speed": 1, - "wrapMode": 1, + "wrapMode": 2, "enableTrsBlending": false, "_duration": 0.6333333333333333, "_hash": 500763545, diff --git a/assets/scenes/main.scene b/assets/scenes/main.scene index 4c4f8e5..d84bbca 100644 --- a/assets/scenes/main.scene +++ b/assets/scenes/main.scene @@ -354,6 +354,10 @@ { "__uuid__": "a07c81b6-e4f7-4534-8ecc-2ee9db2f9936", "__expectedType__": "cc.AnimationClip" + }, + { + "__uuid__": "a5dd270e-cbde-4526-a425-27a7846ee0e5", + "__expectedType__": "cc.AnimationClip" } ], "_defaultClip": { @@ -447,13 +451,13 @@ "_restitution": 0, "_offset": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": -2.9, + "y": -7.3 }, "_size": { "__type__": "cc.Size", - "width": 51, - "height": 120 + "width": 31.5, + "height": 70.3 }, "_id": "634GiEUhBB8Z1aGzkT6Zyd" }, @@ -1255,13 +1259,13 @@ "_restitution": 0, "_offset": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 2.5, + "y": -2.4 }, "_size": { "__type__": "cc.Size", - "width": 56, - "height": 119 + "width": 41.4, + "height": 96.6 }, "_id": "cdIXFZyqRL66Jq6KOCWAZ6" }, diff --git a/assets/scripts/PlayerController.ts b/assets/scripts/PlayerController.ts index 5447592..2c33b89 100644 --- a/assets/scripts/PlayerController.ts +++ b/assets/scripts/PlayerController.ts @@ -285,6 +285,15 @@ export class PlayerController extends Component { // player 攻击 this.switchAnimation('attack'); + + + this.scheduleOnce(() => { + animation.play(`${otherCollider.node.name}_stand`); + + this.isAttacking = false; + this.switchAnimation('die'); + + }, 3); } } } \ No newline at end of file