diff --git a/client/.gitignore b/client/.gitignore new file mode 100644 index 0000000..a231b3f --- /dev/null +++ b/client/.gitignore @@ -0,0 +1,24 @@ + +#/////////////////////////// +# Cocos Creator 3D Project +#/////////////////////////// +library/ +temp/ +local/ +build/ +profiles/ +native +#////////////////////////// +# NPM +#////////////////////////// +node_modules/ + +#////////////////////////// +# VSCode +#////////////////////////// +.vscode/ + +#////////////////////////// +# WebStorm +#////////////////////////// +.idea/ \ No newline at end of file diff --git a/client/assets/res.meta b/client/assets/res.meta new file mode 100644 index 0000000..859f68c --- /dev/null +++ b/client/assets/res.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "53ebb10c-d24c-4503-bee4-7e91fbb89149", + "files": [], + "subMetas": {}, + "userData": { + "isBundle": true + } +} diff --git a/client/assets/res/Actor.meta b/client/assets/res/Actor.meta new file mode 100644 index 0000000..945aa4a --- /dev/null +++ b/client/assets/res/Actor.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "244b34fe-92ca-4f76-aa0e-70c176af8d78", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/client/assets/res/Actor/M1.meta b/client/assets/res/Actor/M1.meta new file mode 100644 index 0000000..edde0ad --- /dev/null +++ b/client/assets/res/Actor/M1.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "1890f4a2-1c0a-4077-b2a6-fb26ee654e79", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/client/assets/res/Actor/M1/M1.prefab b/client/assets/res/Actor/M1/M1.prefab new file mode 100644 index 0000000..73c88c1 --- /dev/null +++ b/client/assets/res/Actor/M1/M1.prefab @@ -0,0 +1,450 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "M1", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "M1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 18 + } + ], + "_active": true, + "_components": [ + { + "__id__": 22 + } + ], + "_prefab": { + "__id__": 24 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 3 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 2 + }, + "asset": { + "__uuid__": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@903dc", + "__expectedType__": "cc.Prefab" + }, + "fileId": "73zZTQ0iNZ+6D0tQjzV68o", + "instance": { + "__id__": 4 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "a24gFw6FpDcpsU2Vwy268U", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 8 + }, + { + "__id__": 9 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 13 + }, + { + "__id__": 14 + }, + { + "__id__": 15 + }, + { + "__id__": 16 + }, + { + "__id__": 17 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_name" + ], + "value": "Idle03" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "73zZTQ0iNZ+6D0tQjzV68o" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 11 + }, + "propertyPath": [ + "playOnLoad" + ], + "value": true + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "2avW/dl65cNKZ8dlqtw6ig" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 11 + }, + "propertyPath": [ + "_clips", + "0" + ], + "value": { + "__uuid__": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@73b7f", + "__expectedType__": "cc.AnimationClip" + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 11 + }, + "propertyPath": [ + "_defaultClip" + ], + "value": null + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 11 + }, + "propertyPath": [ + "_clips", + "length" + ], + "value": 0 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 11 + }, + "propertyPath": [ + "_clips", + "1" + ], + "value": { + "__uuid__": "9e1f76af-5ac0-47bb-8b37-c77702301b69@73b7f", + "__expectedType__": "cc.AnimationClip" + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 11 + }, + "propertyPath": [ + "_clips", + "2" + ], + "value": { + "__uuid__": "5a27f729-fa54-4c7e-8df0-beaa588ef09c@73b7f", + "__expectedType__": "cc.AnimationClip" + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 11 + }, + "propertyPath": [ + "_clips", + "3" + ], + "value": { + "__uuid__": "637a85a5-49c8-4442-8fe9-b9823882e22e@73b7f", + "__expectedType__": "cc.AnimationClip" + } + }, + { + "__type__": "cc.Node", + "_name": "RoleController", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 19 + } + ], + "_prefab": { + "__id__": 21 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "a6adavQtA1KFLNIwYb1t+lY", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "skeletalAnimation": null, + "idleClip": { + "__uuid__": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@73b7f", + "__expectedType__": "cc.AnimationClip" + }, + "moveClip": { + "__uuid__": "9e1f76af-5ac0-47bb-8b37-c77702301b69@73b7f", + "__expectedType__": "cc.AnimationClip" + }, + "attackClip": { + "__uuid__": "637a85a5-49c8-4442-8fe9-b9823882e22e@73b7f", + "__expectedType__": "cc.AnimationClip" + }, + "deathClip": { + "__uuid__": "5a27f729-fa54-4c7e-8df0-beaa588ef09c@73b7f", + "__expectedType__": "cc.AnimationClip" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5e/PctWbhAOqba/NgS1LXG" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b79vr6X7REaKeiw478qL4L", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.animation.AnimationController", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_graph": null, + "graph": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8f2yfM8+1Ob7NMD7G7zPb5" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c46/YsCPVOJYA4mWEpNYRx", + "instance": null, + "targetOverrides": [ + { + "__id__": 25 + } + ], + "nestedPrefabInstanceRoots": [ + { + "__id__": 2 + } + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 19 + }, + "sourceInfo": null, + "propertyPath": [ + "skeletalAnimation" + ], + "target": { + "__id__": 2 + }, + "targetInfo": { + "__id__": 26 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "2avW/dl65cNKZ8dlqtw6ig" + ] + } +] \ No newline at end of file diff --git a/client/assets/res/Actor/M1/M1.prefab.meta b/client/assets/res/Actor/M1/M1.prefab.meta new file mode 100644 index 0000000..a9536a2 --- /dev/null +++ b/client/assets/res/Actor/M1/M1.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "b49faf6f-73b0-4bff-bfea-f2227507011e", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "M1" + } +} diff --git a/client/assets/res/Actor/M1/资源.meta b/client/assets/res/Actor/M1/资源.meta new file mode 100644 index 0000000..525b7cd --- /dev/null +++ b/client/assets/res/Actor/M1/资源.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "61d199b3-7bb8-4b5d-9364-efb0636922ae", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/client/assets/res/Actor/M1/资源/Attack01.fbx b/client/assets/res/Actor/M1/资源/Attack01.fbx new file mode 100644 index 0000000..afbdbe9 Binary files /dev/null and b/client/assets/res/Actor/M1/资源/Attack01.fbx differ diff --git a/client/assets/res/Actor/M1/资源/Attack01.fbx.meta b/client/assets/res/Actor/M1/资源/Attack01.fbx.meta new file mode 100644 index 0000000..02201e6 --- /dev/null +++ b/client/assets/res/Actor/M1/资源/Attack01.fbx.meta @@ -0,0 +1,186 @@ +{ + "ver": "2.3.14", + "importer": "fbx", + "imported": true, + "uuid": "637a85a5-49c8-4442-8fe9-b9823882e22e", + "files": [ + "__original-animation-0.bin" + ], + "subMetas": { + "e15b3": { + "importer": "gltf-mesh", + "uuid": "637a85a5-49c8-4442-8fe9-b9823882e22e@e15b3", + "displayName": "", + "id": "e15b3", + "name": "MainBody01.mesh", + "userData": { + "gltfIndex": 0, + "triangleCount": 2352 + }, + "ver": "1.1.1", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {} + }, + "73b7f": { + "importer": "gltf-animation", + "uuid": "637a85a5-49c8-4442-8fe9-b9823882e22e@73b7f", + "displayName": "", + "id": "73b7f", + "name": "Take 001.animation", + "userData": { + "gltfIndex": 0, + "wrapMode": 2, + "sample": 30, + "span": { + "from": 0, + "to": 0.6000000238418579 + }, + "events": [] + }, + "ver": "1.0.18", + "imported": true, + "files": [ + ".bin" + ], + "subMetas": {} + }, + "438fe": { + "importer": "gltf-skeleton", + "uuid": "637a85a5-49c8-4442-8fe9-b9823882e22e@438fe", + "displayName": "", + "id": "438fe", + "name": "UnnamedSkeleton.skeleton", + "userData": { + "gltfIndex": 0, + "jointsLength": 55 + }, + "ver": "1.0.1", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "d20e9": { + "importer": "texture", + "uuid": "637a85a5-49c8-4442-8fe9-b9823882e22e@d20e9", + "displayName": "", + "id": "d20e9", + "name": "file1.texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": false, + "imageUuidOrDatabaseUri": "db://assets/res/Actor/M1/资源/DefaultPolyart.png" + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "8d883": { + "importer": "gltf-material", + "uuid": "637a85a5-49c8-4442-8fe9-b9823882e22e@8d883", + "displayName": "", + "id": "8d883", + "name": "lambert1.material", + "userData": { + "gltfIndex": 0 + }, + "ver": "1.0.14", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "e9ff9": { + "importer": "gltf-scene", + "uuid": "637a85a5-49c8-4442-8fe9-b9823882e22e@e9ff9", + "displayName": "", + "id": "e9ff9", + "name": "Attack01.prefab", + "userData": { + "gltfIndex": 0 + }, + "ver": "1.0.14", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "imageMetas": [ + { + "name": "file1", + "uri": "db://assets/res/Actor/M1/资源/DefaultPolyart.png" + } + ], + "fbx": { + "smartMaterialEnabled": true + }, + "animationImportSettings": [ + { + "name": "Take 001", + "duration": 0.6000000238418579, + "fps": 30, + "splits": [ + { + "name": "Take 001", + "from": 0, + "to": 0.6000000238418579, + "wrapMode": 2, + "previousId": "73b7f" + } + ] + } + ], + "lods": { + "enable": false, + "hasBuiltinLOD": false, + "options": [ + { + "screenRatio": 0.25, + "faceCount": 1 + }, + { + "screenRatio": 0.125, + "faceCount": 0.25 + }, + { + "screenRatio": 0.01, + "faceCount": 0.1 + } + ] + }, + "assetFinder": { + "meshes": [ + "637a85a5-49c8-4442-8fe9-b9823882e22e@e15b3" + ], + "skeletons": [ + "637a85a5-49c8-4442-8fe9-b9823882e22e@438fe" + ], + "textures": [ + "637a85a5-49c8-4442-8fe9-b9823882e22e@d20e9" + ], + "materials": [ + "637a85a5-49c8-4442-8fe9-b9823882e22e@8d883" + ], + "scenes": [ + "637a85a5-49c8-4442-8fe9-b9823882e22e@e9ff9" + ] + } + } +} diff --git a/client/assets/res/Actor/M1/资源/DefaultPolyart.png b/client/assets/res/Actor/M1/资源/DefaultPolyart.png new file mode 100644 index 0000000..c079ed2 Binary files /dev/null and b/client/assets/res/Actor/M1/资源/DefaultPolyart.png differ diff --git a/client/assets/res/Actor/M1/资源/DefaultPolyart.png.meta b/client/assets/res/Actor/M1/资源/DefaultPolyart.png.meta new file mode 100644 index 0000000..3937ce9 --- /dev/null +++ b/client/assets/res/Actor/M1/资源/DefaultPolyart.png.meta @@ -0,0 +1,42 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "1b57ee46-7717-4496-9c6e-0171cfcfbc61", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "1b57ee46-7717-4496-9c6e-0171cfcfbc61@6c48a", + "displayName": "DefaultPolyart", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "1b57ee46-7717-4496-9c6e-0171cfcfbc61", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "texture", + "hasAlpha": false, + "fixAlphaTransparencyArtifacts": false, + "redirect": "1b57ee46-7717-4496-9c6e-0171cfcfbc61@6c48a" + } +} diff --git a/client/assets/res/Actor/M1/资源/DefenseHit.fbx b/client/assets/res/Actor/M1/资源/DefenseHit.fbx new file mode 100644 index 0000000..27ebd67 Binary files /dev/null and b/client/assets/res/Actor/M1/资源/DefenseHit.fbx differ diff --git a/client/assets/res/Actor/M1/资源/DefenseHit.fbx.meta b/client/assets/res/Actor/M1/资源/DefenseHit.fbx.meta new file mode 100644 index 0000000..34630e3 --- /dev/null +++ b/client/assets/res/Actor/M1/资源/DefenseHit.fbx.meta @@ -0,0 +1,186 @@ +{ + "ver": "2.3.14", + "importer": "fbx", + "imported": true, + "uuid": "29715273-7226-4b56-b45e-a1e5322d630b", + "files": [ + "__original-animation-0.bin" + ], + "subMetas": { + "e15b3": { + "importer": "gltf-mesh", + "uuid": "29715273-7226-4b56-b45e-a1e5322d630b@e15b3", + "displayName": "", + "id": "e15b3", + "name": "MainBody01.mesh", + "userData": { + "gltfIndex": 0, + "triangleCount": 2352 + }, + "ver": "1.1.1", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {} + }, + "73b7f": { + "importer": "gltf-animation", + "uuid": "29715273-7226-4b56-b45e-a1e5322d630b@73b7f", + "displayName": "", + "id": "73b7f", + "name": "Take 001.animation", + "userData": { + "gltfIndex": 0, + "wrapMode": 2, + "sample": 30, + "span": { + "from": 0, + "to": 0.6666666865348816 + }, + "events": [] + }, + "ver": "1.0.18", + "imported": true, + "files": [ + ".bin" + ], + "subMetas": {} + }, + "438fe": { + "importer": "gltf-skeleton", + "uuid": "29715273-7226-4b56-b45e-a1e5322d630b@438fe", + "displayName": "", + "id": "438fe", + "name": "UnnamedSkeleton.skeleton", + "userData": { + "gltfIndex": 0, + "jointsLength": 55 + }, + "ver": "1.0.1", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "d20e9": { + "importer": "texture", + "uuid": "29715273-7226-4b56-b45e-a1e5322d630b@d20e9", + "displayName": "", + "id": "d20e9", + "name": "file1.texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": false, + "imageUuidOrDatabaseUri": "db://assets/res/Actor/M1/资源/DefaultPolyart.png" + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "8d883": { + "importer": "gltf-material", + "uuid": "29715273-7226-4b56-b45e-a1e5322d630b@8d883", + "displayName": "", + "id": "8d883", + "name": "lambert1.material", + "userData": { + "gltfIndex": 0 + }, + "ver": "1.0.14", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "bb546": { + "importer": "gltf-scene", + "uuid": "29715273-7226-4b56-b45e-a1e5322d630b@bb546", + "displayName": "", + "id": "bb546", + "name": "DefenseHit.prefab", + "userData": { + "gltfIndex": 0 + }, + "ver": "1.0.14", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "imageMetas": [ + { + "name": "file1", + "uri": "db://assets/res/Actor/M1/资源/DefaultPolyart.png" + } + ], + "fbx": { + "smartMaterialEnabled": true + }, + "animationImportSettings": [ + { + "name": "Take 001", + "duration": 0.6666666865348816, + "fps": 30, + "splits": [ + { + "name": "Take 001", + "from": 0, + "to": 0.6666666865348816, + "wrapMode": 2, + "previousId": "73b7f" + } + ] + } + ], + "lods": { + "enable": false, + "hasBuiltinLOD": false, + "options": [ + { + "screenRatio": 0.25, + "faceCount": 1 + }, + { + "screenRatio": 0.125, + "faceCount": 0.25 + }, + { + "screenRatio": 0.01, + "faceCount": 0.1 + } + ] + }, + "assetFinder": { + "meshes": [ + "29715273-7226-4b56-b45e-a1e5322d630b@e15b3" + ], + "skeletons": [ + "29715273-7226-4b56-b45e-a1e5322d630b@438fe" + ], + "textures": [ + "29715273-7226-4b56-b45e-a1e5322d630b@d20e9" + ], + "materials": [ + "29715273-7226-4b56-b45e-a1e5322d630b@8d883" + ], + "scenes": [ + "29715273-7226-4b56-b45e-a1e5322d630b@bb546" + ] + } + } +} diff --git a/client/assets/res/Actor/M1/资源/Die01.fbx b/client/assets/res/Actor/M1/资源/Die01.fbx new file mode 100644 index 0000000..c2bc611 Binary files /dev/null and b/client/assets/res/Actor/M1/资源/Die01.fbx differ diff --git a/client/assets/res/Actor/M1/资源/Die01.fbx.meta b/client/assets/res/Actor/M1/资源/Die01.fbx.meta new file mode 100644 index 0000000..5dc24c7 --- /dev/null +++ b/client/assets/res/Actor/M1/资源/Die01.fbx.meta @@ -0,0 +1,186 @@ +{ + "ver": "2.3.14", + "importer": "fbx", + "imported": true, + "uuid": "5a27f729-fa54-4c7e-8df0-beaa588ef09c", + "files": [ + "__original-animation-0.bin" + ], + "subMetas": { + "e15b3": { + "importer": "gltf-mesh", + "uuid": "5a27f729-fa54-4c7e-8df0-beaa588ef09c@e15b3", + "displayName": "", + "id": "e15b3", + "name": "MainBody01.mesh", + "userData": { + "gltfIndex": 0, + "triangleCount": 2352 + }, + "ver": "1.1.1", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {} + }, + "73b7f": { + "importer": "gltf-animation", + "uuid": "5a27f729-fa54-4c7e-8df0-beaa588ef09c@73b7f", + "displayName": "", + "id": "73b7f", + "name": "Take 001.animation", + "userData": { + "gltfIndex": 0, + "wrapMode": 2, + "sample": 30, + "span": { + "from": 0, + "to": 0.7666666507720947 + }, + "events": [] + }, + "ver": "1.0.18", + "imported": true, + "files": [ + ".bin" + ], + "subMetas": {} + }, + "438fe": { + "importer": "gltf-skeleton", + "uuid": "5a27f729-fa54-4c7e-8df0-beaa588ef09c@438fe", + "displayName": "", + "id": "438fe", + "name": "UnnamedSkeleton.skeleton", + "userData": { + "gltfIndex": 0, + "jointsLength": 55 + }, + "ver": "1.0.1", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "d20e9": { + "importer": "texture", + "uuid": "5a27f729-fa54-4c7e-8df0-beaa588ef09c@d20e9", + "displayName": "", + "id": "d20e9", + "name": "file1.texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": false, + "imageUuidOrDatabaseUri": "db://assets/res/Actor/M1/资源/DefaultPolyart.png" + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "8d883": { + "importer": "gltf-material", + "uuid": "5a27f729-fa54-4c7e-8df0-beaa588ef09c@8d883", + "displayName": "", + "id": "8d883", + "name": "lambert1.material", + "userData": { + "gltfIndex": 0 + }, + "ver": "1.0.14", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "3c80f": { + "importer": "gltf-scene", + "uuid": "5a27f729-fa54-4c7e-8df0-beaa588ef09c@3c80f", + "displayName": "", + "id": "3c80f", + "name": "Die01.prefab", + "userData": { + "gltfIndex": 0 + }, + "ver": "1.0.14", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "imageMetas": [ + { + "name": "file1", + "uri": "db://assets/res/Actor/M1/资源/DefaultPolyart.png" + } + ], + "fbx": { + "smartMaterialEnabled": true + }, + "animationImportSettings": [ + { + "name": "Take 001", + "duration": 0.7666666507720947, + "fps": 30, + "splits": [ + { + "name": "Take 001", + "from": 0, + "to": 0.7666666507720947, + "wrapMode": 2, + "previousId": "73b7f" + } + ] + } + ], + "lods": { + "enable": false, + "hasBuiltinLOD": false, + "options": [ + { + "screenRatio": 0.25, + "faceCount": 1 + }, + { + "screenRatio": 0.125, + "faceCount": 0.25 + }, + { + "screenRatio": 0.01, + "faceCount": 0.1 + } + ] + }, + "assetFinder": { + "meshes": [ + "5a27f729-fa54-4c7e-8df0-beaa588ef09c@e15b3" + ], + "skeletons": [ + "5a27f729-fa54-4c7e-8df0-beaa588ef09c@438fe" + ], + "textures": [ + "5a27f729-fa54-4c7e-8df0-beaa588ef09c@d20e9" + ], + "materials": [ + "5a27f729-fa54-4c7e-8df0-beaa588ef09c@8d883" + ], + "scenes": [ + "5a27f729-fa54-4c7e-8df0-beaa588ef09c@3c80f" + ] + } + } +} diff --git a/client/assets/res/Actor/M1/资源/Idle03.fbx b/client/assets/res/Actor/M1/资源/Idle03.fbx new file mode 100644 index 0000000..edc7626 Binary files /dev/null and b/client/assets/res/Actor/M1/资源/Idle03.fbx differ diff --git a/client/assets/res/Actor/M1/资源/Idle03.fbx.meta b/client/assets/res/Actor/M1/资源/Idle03.fbx.meta new file mode 100644 index 0000000..6f51871 --- /dev/null +++ b/client/assets/res/Actor/M1/资源/Idle03.fbx.meta @@ -0,0 +1,186 @@ +{ + "ver": "2.3.14", + "importer": "fbx", + "imported": true, + "uuid": "15f5cd1a-6b42-4fc2-8548-1af01216d19e", + "files": [ + "__original-animation-0.bin" + ], + "subMetas": { + "e15b3": { + "importer": "gltf-mesh", + "uuid": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@e15b3", + "displayName": "", + "id": "e15b3", + "name": "MainBody01.mesh", + "userData": { + "gltfIndex": 0, + "triangleCount": 2352 + }, + "ver": "1.1.1", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {} + }, + "73b7f": { + "importer": "gltf-animation", + "uuid": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@73b7f", + "displayName": "", + "id": "73b7f", + "name": "Take 001.animation", + "userData": { + "gltfIndex": 0, + "wrapMode": 2, + "sample": 30, + "span": { + "from": 0, + "to": 0.6666666865348816 + }, + "events": [] + }, + "ver": "1.0.18", + "imported": true, + "files": [ + ".bin" + ], + "subMetas": {} + }, + "438fe": { + "importer": "gltf-skeleton", + "uuid": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@438fe", + "displayName": "", + "id": "438fe", + "name": "UnnamedSkeleton.skeleton", + "userData": { + "gltfIndex": 0, + "jointsLength": 55 + }, + "ver": "1.0.1", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "d20e9": { + "importer": "texture", + "uuid": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@d20e9", + "displayName": "", + "id": "d20e9", + "name": "file1.texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": false, + "imageUuidOrDatabaseUri": "db://assets/res/Actor/M1/资源/DefaultPolyart.png" + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "8d883": { + "importer": "gltf-material", + "uuid": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@8d883", + "displayName": "", + "id": "8d883", + "name": "lambert1.material", + "userData": { + "gltfIndex": 0 + }, + "ver": "1.0.14", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "903dc": { + "importer": "gltf-scene", + "uuid": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@903dc", + "displayName": "", + "id": "903dc", + "name": "Idle03.prefab", + "userData": { + "gltfIndex": 0 + }, + "ver": "1.0.14", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "imageMetas": [ + { + "name": "file1", + "uri": "db://assets/res/Actor/M1/资源/DefaultPolyart.png" + } + ], + "fbx": { + "smartMaterialEnabled": true + }, + "animationImportSettings": [ + { + "name": "Take 001", + "duration": 0.6666666865348816, + "fps": 30, + "splits": [ + { + "name": "Take 001", + "from": 0, + "to": 0.6666666865348816, + "wrapMode": 2, + "previousId": "73b7f" + } + ] + } + ], + "lods": { + "enable": false, + "hasBuiltinLOD": false, + "options": [ + { + "screenRatio": 0.25, + "faceCount": 1 + }, + { + "screenRatio": 0.125, + "faceCount": 0.25 + }, + { + "screenRatio": 0.01, + "faceCount": 0.1 + } + ] + }, + "assetFinder": { + "meshes": [ + "15f5cd1a-6b42-4fc2-8548-1af01216d19e@e15b3" + ], + "skeletons": [ + "15f5cd1a-6b42-4fc2-8548-1af01216d19e@438fe" + ], + "textures": [ + "15f5cd1a-6b42-4fc2-8548-1af01216d19e@d20e9" + ], + "materials": [ + "15f5cd1a-6b42-4fc2-8548-1af01216d19e@8d883" + ], + "scenes": [ + "15f5cd1a-6b42-4fc2-8548-1af01216d19e@903dc" + ] + } + } +} diff --git a/client/assets/res/Actor/M1/资源/Run01BWD.fbx b/client/assets/res/Actor/M1/资源/Run01BWD.fbx new file mode 100644 index 0000000..2775c44 Binary files /dev/null and b/client/assets/res/Actor/M1/资源/Run01BWD.fbx differ diff --git a/client/assets/res/Actor/M1/资源/Run01BWD.fbx.meta b/client/assets/res/Actor/M1/资源/Run01BWD.fbx.meta new file mode 100644 index 0000000..f028628 --- /dev/null +++ b/client/assets/res/Actor/M1/资源/Run01BWD.fbx.meta @@ -0,0 +1,186 @@ +{ + "ver": "2.3.14", + "importer": "fbx", + "imported": true, + "uuid": "9e1f76af-5ac0-47bb-8b37-c77702301b69", + "files": [ + "__original-animation-0.bin" + ], + "subMetas": { + "e15b3": { + "importer": "gltf-mesh", + "uuid": "9e1f76af-5ac0-47bb-8b37-c77702301b69@e15b3", + "displayName": "", + "id": "e15b3", + "name": "MainBody01.mesh", + "userData": { + "gltfIndex": 0, + "triangleCount": 2352 + }, + "ver": "1.1.1", + "imported": true, + "files": [ + ".bin", + ".json" + ], + "subMetas": {} + }, + "73b7f": { + "importer": "gltf-animation", + "uuid": "9e1f76af-5ac0-47bb-8b37-c77702301b69@73b7f", + "displayName": "", + "id": "73b7f", + "name": "Take 001.animation", + "userData": { + "gltfIndex": 0, + "wrapMode": 2, + "sample": 30, + "span": { + "from": 0, + "to": 0.6666666865348816 + }, + "events": [] + }, + "ver": "1.0.18", + "imported": true, + "files": [ + ".bin" + ], + "subMetas": {} + }, + "438fe": { + "importer": "gltf-skeleton", + "uuid": "9e1f76af-5ac0-47bb-8b37-c77702301b69@438fe", + "displayName": "", + "id": "438fe", + "name": "UnnamedSkeleton.skeleton", + "userData": { + "gltfIndex": 0, + "jointsLength": 55 + }, + "ver": "1.0.1", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "d20e9": { + "importer": "texture", + "uuid": "9e1f76af-5ac0-47bb-8b37-c77702301b69@d20e9", + "displayName": "", + "id": "d20e9", + "name": "file1.texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": false, + "imageUuidOrDatabaseUri": "db://assets/res/Actor/M1/资源/DefaultPolyart.png" + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "8d883": { + "importer": "gltf-material", + "uuid": "9e1f76af-5ac0-47bb-8b37-c77702301b69@8d883", + "displayName": "", + "id": "8d883", + "name": "lambert1.material", + "userData": { + "gltfIndex": 0 + }, + "ver": "1.0.14", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "676d3": { + "importer": "gltf-scene", + "uuid": "9e1f76af-5ac0-47bb-8b37-c77702301b69@676d3", + "displayName": "", + "id": "676d3", + "name": "Run01BWD.prefab", + "userData": { + "gltfIndex": 0 + }, + "ver": "1.0.14", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "imageMetas": [ + { + "name": "file1", + "uri": "db://assets/res/Actor/M1/资源/DefaultPolyart.png" + } + ], + "fbx": { + "smartMaterialEnabled": true + }, + "animationImportSettings": [ + { + "name": "Take 001", + "duration": 0.6666666865348816, + "fps": 30, + "splits": [ + { + "name": "Take 001", + "from": 0, + "to": 0.6666666865348816, + "wrapMode": 2, + "previousId": "73b7f" + } + ] + } + ], + "lods": { + "enable": false, + "hasBuiltinLOD": false, + "options": [ + { + "screenRatio": 0.25, + "faceCount": 1 + }, + { + "screenRatio": 0.125, + "faceCount": 0.25 + }, + { + "screenRatio": 0.01, + "faceCount": 0.1 + } + ] + }, + "assetFinder": { + "meshes": [ + "9e1f76af-5ac0-47bb-8b37-c77702301b69@e15b3" + ], + "skeletons": [ + "9e1f76af-5ac0-47bb-8b37-c77702301b69@438fe" + ], + "textures": [ + "9e1f76af-5ac0-47bb-8b37-c77702301b69@d20e9" + ], + "materials": [ + "9e1f76af-5ac0-47bb-8b37-c77702301b69@8d883" + ], + "scenes": [ + "9e1f76af-5ac0-47bb-8b37-c77702301b69@676d3" + ] + } + } +} diff --git a/client/assets/res/Actor/M1/资源/role1.controller b/client/assets/res/Actor/M1/资源/role1.controller new file mode 100644 index 0000000..afca0aa --- /dev/null +++ b/client/assets/res/Actor/M1/资源/role1.controller @@ -0,0 +1,135 @@ +{ + "layer": [ + { + "name": "BaseLayer", + "states": [ + { + "id": 0, + "name": "attack", + "path": "637a85a5-49c8-4442-8fe9-b9823882e22e@lani0", + "obj": { + "_$type": "AnimatorState", + "name": "attack", + "speed": 1, + "clipStart": 0, + "clipEnd": 1, + "clip": { + "_$uuid": "637a85a5-49c8-4442-8fe9-b9823882e22e@lani0", + "_$type": "AnimationClip" + } + }, + "y": 263.26320529594835, + "x": 382.8873109250448 + }, + { + "id": 2, + "name": "run", + "path": "9e1f76af-5ac0-47bb-8b37-c77702301b69@lani0", + "obj": { + "_$type": "AnimatorState", + "name": "run", + "speed": 1, + "clipStart": 0, + "clipEnd": 1, + "clip": { + "_$uuid": "9e1f76af-5ac0-47bb-8b37-c77702301b69@lani0", + "_$type": "AnimationClip" + } + }, + "y": 466.42555384809435, + "x": 525.4511972213388 + }, + { + "id": 1, + "name": "die", + "path": "5a27f729-fa54-4c7e-8df0-beaa588ef09c@lani0", + "obj": { + "_$type": "AnimatorState", + "name": "die", + "speed": 1, + "clipStart": 0, + "clipEnd": 1, + "clip": { + "_$uuid": "5a27f729-fa54-4c7e-8df0-beaa588ef09c@lani0", + "_$type": "AnimationClip" + } + }, + "y": 398.95416670044506, + "x": 297.993051603187 + }, + { + "id": 3, + "name": "ldle", + "obj": { + "_$type": "AnimatorState", + "name": "ldle", + "speed": 1, + "clipStart": 0, + "clipEnd": 1, + "clip": { + "_$uuid": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@lani0", + "_$type": "AnimationClip" + } + }, + "y": 295.37590304759914, + "x": 469.35508252639573, + "path": "15f5cd1a-6b42-4fc2-8548-1af01216d19e@lani0" + }, + { + "id": 4, + "name": "shouji", + "path": "29715273-7226-4b56-b45e-a1e5322d630b@lani0", + "obj": { + "_$type": "AnimatorState", + "name": "shouji", + "speed": 1, + "clipStart": 0, + "clipEnd": 1, + "clip": { + "_$uuid": "29715273-7226-4b56-b45e-a1e5322d630b@lani0", + "_$type": "AnimationClip" + } + }, + "y": 226.98289413177056, + "x": 184.38056117503075 + } + ], + "obj": { + "_$type": "AnimatorControllerLayer", + "name": "BaseLayer", + "playOnWake": true, + "blendingMode": 0, + "defaultWeight": 1, + "defaultStateName": "ldle" + }, + "uidata": { + "x": 153.79610389610383, + "y": 38.603246753246545, + "scale": 0.9 + }, + "uiStates": [ + { + "id": -1, + "name": "进入", + "y": 100, + "x": 10 + }, + { + "id": -2, + "name": "退出", + "y": 100, + "x": 760 + }, + { + "id": -3, + "name": "任何状态", + "y": 10, + "x": 10 + } + ], + "defaultStateName": "ldle", + "defaultStateID": 3 + } + ], + "layerW": 150 +} \ No newline at end of file diff --git a/client/assets/res/Actor/M1/资源/role1.controller.meta b/client/assets/res/Actor/M1/资源/role1.controller.meta new file mode 100644 index 0000000..942ade6 --- /dev/null +++ b/client/assets/res/Actor/M1/资源/role1.controller.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.0.0", + "importer": "*", + "imported": true, + "uuid": "0d31d8a1-1f97-41d9-b73f-d4a371800156", + "files": [ + ".controller", + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/client/assets/res/Actor/M1/资源/xiaoguai2.lmat b/client/assets/res/Actor/M1/资源/xiaoguai2.lmat new file mode 100644 index 0000000..a3c648c --- /dev/null +++ b/client/assets/res/Actor/M1/资源/xiaoguai2.lmat @@ -0,0 +1,68 @@ +{ + "version": "LAYAMATERIAL:04", + "props": { + "textures": [ + { + "path": "res://1b57ee46-7717-4496-9c6e-0171cfcfbc61", + "constructParams": [ + 512, + 512, + 1, + false + ], + "propertyParams": { + "filterMode": 1, + "wrapModeU": 0, + "wrapModeV": 0, + "anisoLevel": 1 + }, + "name": "u_AlbedoTexture" + }, + { + "name": "u_NormalTexture" + }, + { + "name": "u_OcclusionTexture" + }, + { + "name": "u_EmissionTexture" + }, + { + "name": "u_MetallicGlossTexture" + } + ], + "type": "PBR", + "renderQueue": 2000, + "u_AlbedoColor": [ + 1, + 1, + 1, + 1 + ], + "u_TilingOffset": [ + 1, + 1, + 0, + 0 + ], + "u_NormalScale": 1, + "u_Smoothness": 0.5, + "u_SmoothnessScale": 1, + "u_EmissionColor": [ + 1, + 1, + 1, + 1 + ], + "u_EmissionIntensity": 1, + "u_Metallic": 0, + "u_AlphaTestValue": 0.5, + "s_Cull": 2, + "s_Blend": 0, + "s_DepthTest": 1, + "s_DepthWrite": true, + "defines": [ + "ALBEDOTEXTURE" + ] + } +} \ No newline at end of file diff --git a/client/assets/res/Actor/M1/资源/xiaoguai2.lmat.meta b/client/assets/res/Actor/M1/资源/xiaoguai2.lmat.meta new file mode 100644 index 0000000..9cd73a6 --- /dev/null +++ b/client/assets/res/Actor/M1/资源/xiaoguai2.lmat.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.0.0", + "importer": "*", + "imported": true, + "uuid": "5831760b-8820-4a6e-bb1e-09a9a6716707", + "files": [ + ".json", + ".lmat" + ], + "subMetas": {}, + "userData": {} +} diff --git a/client/package-lock.json b/client/package-lock.json new file mode 100644 index 0000000..e4780b4 --- /dev/null +++ b/client/package-lock.json @@ -0,0 +1,179 @@ +{ + "name": "client", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "client", + "version": "1.0.0", + "dependencies": { + "tsrpc-browser": "^3.4.15", + "tsrpc-miniapp": "^3.4.15" + }, + "devDependencies": { + "fs-extra": "^11.2.0" + } + }, + "node_modules/core-js": { + "version": "3.47.0", + "resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.47.0.tgz", + "integrity": "sha512-c3Q2VVkGAUyupsjRnaNX6u8Dq2vAdzm9iuPj5FW0fRxzlxgq9Q39MDq10IvmQSpLgHQNyQzQmOo6bgGHmH3NNg==", + "hasInstallScript": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/fs-extra": { + "version": "11.3.2", + "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-11.3.2.tgz", + "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/jsonfile": { + "version": "6.2.0", + "resolved": "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.2.0.tgz", + "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/k8w-extend-native": { + "version": "1.4.6", + "resolved": "https://registry.npmmirror.com/k8w-extend-native/-/k8w-extend-native-1.4.6.tgz", + "integrity": "sha512-AHTCyFshldMme0s9FKD+QKG+QZdBkHXzl+8kYfNhsSDhcdQ5TYWQwphjecSJjxNdGd78TIbO0fHiOvM+Ei22YA==", + "license": "Apache-2.0", + "dependencies": { + "k8w-linq-array": "*", + "k8w-super-date": "*", + "k8w-super-object": "*" + } + }, + "node_modules/k8w-linq-array": { + "version": "0.2.8", + "resolved": "https://registry.npmmirror.com/k8w-linq-array/-/k8w-linq-array-0.2.8.tgz", + "integrity": "sha512-4IAkQN8UJdk804tQi++wuwSZvFWk/Wcl1uG5PR/0c0YvB5hUd2f8tJm3OgOMOxjV9UVByNLvnPYGIwrFQPpjlA==", + "license": "Apache-2.0" + }, + "node_modules/k8w-super-date": { + "version": "0.1.3", + "resolved": "https://registry.npmmirror.com/k8w-super-date/-/k8w-super-date-0.1.3.tgz", + "integrity": "sha512-IBqKOAMAXR/bgzu+rYI30tEMP/Y6Q8HQuqJiTkE2mLJg11yok9guoi8uZTynTahviVBndcfBpOgi1H/zhihv7w==", + "license": "Apache-2.0" + }, + "node_modules/k8w-super-object": { + "version": "0.3.0", + "resolved": "https://registry.npmmirror.com/k8w-super-object/-/k8w-super-object-0.3.0.tgz", + "integrity": "sha512-u2jfh4goYXKZmSucaLaOTaNbLRatjv0CSRpzE0KU0732+9XtYZFd5vrdw/mzJfK5fPHb/zyikOSHDX5mJrav+g==", + "license": "Apache-2.0" + }, + "node_modules/tsbuffer": { + "version": "2.2.23", + "resolved": "https://registry.npmmirror.com/tsbuffer/-/tsbuffer-2.2.23.tgz", + "integrity": "sha512-B5SENaf8X849oOtmC0Hgev2M3vC8BNyAIIwQD4NJmHPNjktCyplXpVIcjns3I8EnM2GNQwVaBvtnsUgkUj8Q9Q==", + "license": "MIT", + "dependencies": { + "k8w-extend-native": "^1.4.6", + "tsbuffer-validator": "^2.1.3", + "tslib": "*" + } + }, + "node_modules/tsbuffer-schema": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/tsbuffer-schema/-/tsbuffer-schema-2.2.0.tgz", + "integrity": "sha512-I4+5Xfk7G+D++kXdNnYTeY26WQTaf14C84XQwPKteNmrwxRY3CQCkMqASRiCUqtpOuDn43qmoxuXpT+Vo8Wltg==", + "license": "MIT" + }, + "node_modules/tsbuffer-validator": { + "version": "2.1.3", + "resolved": "https://registry.npmmirror.com/tsbuffer-validator/-/tsbuffer-validator-2.1.3.tgz", + "integrity": "sha512-7OfwABXxNGbd1UJk9RBi29SFByimSjCOMc6gJ+htwsiJmSTxwn6VZeQqcm8+lpFfUtJJV+Ry8dKSGpI+BuXaDQ==", + "license": "MIT", + "dependencies": { + "k8w-extend-native": "^1.4.6", + "tsbuffer-schema": "^2.2.0", + "tslib": "*" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/tsrpc-base-client": { + "version": "2.1.17", + "resolved": "https://registry.npmmirror.com/tsrpc-base-client/-/tsrpc-base-client-2.1.17.tgz", + "integrity": "sha512-z3Ei2jgJUWt4Mmf9AWXk0BctXE2FzfVRLitbDgZ9byixjuIQ2rDyDxjR8ae7kiR17Dx4YVIEJ8FW/2180lA5iw==", + "license": "MIT", + "dependencies": { + "k8w-extend-native": "^1.4.6", + "tsbuffer": "^2.2.22", + "tslib": "*", + "tsrpc-proto": "^1.4.3" + } + }, + "node_modules/tsrpc-browser": { + "version": "3.4.18", + "resolved": "https://registry.npmmirror.com/tsrpc-browser/-/tsrpc-browser-3.4.18.tgz", + "integrity": "sha512-byiP+UssxqnHBGnbzndKydjEeCvgQxTT8BYFI1qjp2kr4HuSQS89PCdf7e+7IYxdk5IKP3+irvhWbniMpX3Y5A==", + "license": "MIT", + "dependencies": { + "core-js": "*", + "tsrpc-base-client": "^2.1.17" + } + }, + "node_modules/tsrpc-miniapp": { + "version": "3.4.18", + "resolved": "https://registry.npmmirror.com/tsrpc-miniapp/-/tsrpc-miniapp-3.4.18.tgz", + "integrity": "sha512-vrou1ZOI6Q44QFk0zQIPvM5j+ojyGi7z45JFhOmKX4F61qy2GddEVC0zrFcvSQJo4xfiAjrFUhra+G9/hHMoig==", + "license": "MIT", + "dependencies": { + "tsrpc-base-client": "^2.1.17" + } + }, + "node_modules/tsrpc-proto": { + "version": "1.4.3", + "resolved": "https://registry.npmmirror.com/tsrpc-proto/-/tsrpc-proto-1.4.3.tgz", + "integrity": "sha512-qtkk5i34m9/K1258EdyXAEikU/ADPELHCCXN/oFJ4XwH+kN3kXnKYmwCDblUuMA73V2+A/EwkgUGyAgPa335Hw==", + "license": "MIT", + "dependencies": { + "tsbuffer-schema": "^2.2.0", + "tslib": "*" + } + }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + } + } +} diff --git a/client/package.json b/client/package.json new file mode 100644 index 0000000..12945f5 --- /dev/null +++ b/client/package.json @@ -0,0 +1,18 @@ +{ + "name": "client", + "version": "1.0.0", + "uuid": "a6e794d2-df7a-4893-8620-1285760f0cf0", + "creator": { + "version": "3.8.7" + }, + "scripts": { + "sync-shared": "node sync-shared.js" + }, + "dependencies": { + "tsrpc-browser": "^3.4.15", + "tsrpc-miniapp": "^3.4.15" + }, + "devDependencies": { + "fs-extra": "^11.2.0" + } +} diff --git a/client/settings/v2/packages/builder.json b/client/settings/v2/packages/builder.json new file mode 100644 index 0000000..7526e40 --- /dev/null +++ b/client/settings/v2/packages/builder.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.3.9" +} diff --git a/client/settings/v2/packages/device.json b/client/settings/v2/packages/device.json new file mode 100644 index 0000000..70e599e --- /dev/null +++ b/client/settings/v2/packages/device.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.1" +} diff --git a/client/settings/v2/packages/engine.json b/client/settings/v2/packages/engine.json new file mode 100644 index 0000000..d3eab47 --- /dev/null +++ b/client/settings/v2/packages/engine.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.12" +} diff --git a/client/settings/v2/packages/information.json b/client/settings/v2/packages/information.json new file mode 100644 index 0000000..632917f --- /dev/null +++ b/client/settings/v2/packages/information.json @@ -0,0 +1,23 @@ +{ + "__version__": "1.0.1", + "information": { + "customSplash": { + "id": "customSplash", + "label": "customSplash", + "enable": true, + "customSplash": { + "complete": false, + "form": "https://creator-api.cocos.com/api/form/show?sid=fcded979fcc9a0f5adde81b4272bc713" + } + }, + "removeSplash": { + "id": "removeSplash", + "label": "removeSplash", + "enable": true, + "removeSplash": { + "complete": false, + "form": "https://creator-api.cocos.com/api/form/show?sid=fcded979fcc9a0f5adde81b4272bc713" + } + } + } +} diff --git a/client/settings/v2/packages/program.json b/client/settings/v2/packages/program.json new file mode 100644 index 0000000..916c1b2 --- /dev/null +++ b/client/settings/v2/packages/program.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.4" +} diff --git a/client/settings/v2/packages/project.json b/client/settings/v2/packages/project.json new file mode 100644 index 0000000..4129dde --- /dev/null +++ b/client/settings/v2/packages/project.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.6" +} diff --git a/client/tsconfig.json b/client/tsconfig.json new file mode 100644 index 0000000..c94fedb --- /dev/null +++ b/client/tsconfig.json @@ -0,0 +1,11 @@ +{ + /* Base configuration. Do not edit this field. */ + "extends": "./temp/tsconfig.cocos.json", + + /* Add your custom configuration here. */ + "compilerOptions": { + "strict": false, + "target": "es2020", + "downlevelIteration": true + } +}