项目初始化

This commit is contained in:
janing
2025-12-14 22:36:58 +08:00
parent 4dc5fc6cca
commit 4f5b2d02ea
32 changed files with 1970 additions and 0 deletions

24
client/.gitignore vendored Normal file
View File

@@ -0,0 +1,24 @@
#///////////////////////////
# Cocos Creator 3D Project
#///////////////////////////
library/
temp/
local/
build/
profiles/
native
#//////////////////////////
# NPM
#//////////////////////////
node_modules/
#//////////////////////////
# VSCode
#//////////////////////////
.vscode/
#//////////////////////////
# WebStorm
#//////////////////////////
.idea/

11
client/assets/res.meta Normal file
View File

@@ -0,0 +1,11 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "53ebb10c-d24c-4503-bee4-7e91fbb89149",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "244b34fe-92ca-4f76-aa0e-70c176af8d78",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "1890f4a2-1c0a-4077-b2a6-fb26ee654e79",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -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"
]
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "b49faf6f-73b0-4bff-bfea-f2227507011e",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "M1"
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "61d199b3-7bb8-4b5d-9364-efb0636922ae",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

View File

@@ -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"
]
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 KiB

View File

@@ -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"
}
}

Binary file not shown.

View File

@@ -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"
]
}
}
}

Binary file not shown.

View File

@@ -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"
]
}
}
}

Binary file not shown.

View File

@@ -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"
]
}
}
}

Binary file not shown.

View File

@@ -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"
]
}
}
}

View File

@@ -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
}

View File

@@ -0,0 +1,12 @@
{
"ver": "1.0.0",
"importer": "*",
"imported": true,
"uuid": "0d31d8a1-1f97-41d9-b73f-d4a371800156",
"files": [
".controller",
".json"
],
"subMetas": {},
"userData": {}
}

View File

@@ -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"
]
}
}

View File

@@ -0,0 +1,12 @@
{
"ver": "1.0.0",
"importer": "*",
"imported": true,
"uuid": "5831760b-8820-4a6e-bb1e-09a9a6716707",
"files": [
".json",
".lmat"
],
"subMetas": {},
"userData": {}
}

179
client/package-lock.json generated Normal file
View File

@@ -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"
}
}
}
}

18
client/package.json Normal file
View File

@@ -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"
}
}

View File

@@ -0,0 +1,3 @@
{
"__version__": "1.3.9"
}

View File

@@ -0,0 +1,3 @@
{
"__version__": "1.0.1"
}

View File

@@ -0,0 +1,3 @@
{
"__version__": "1.0.12"
}

View File

@@ -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"
}
}
}
}

View File

@@ -0,0 +1,3 @@
{
"__version__": "1.0.4"
}

View File

@@ -0,0 +1,3 @@
{
"__version__": "1.0.6"
}

11
client/tsconfig.json Normal file
View File

@@ -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
}
}