更新子模块及导入demo
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -13,3 +13,6 @@
|
|||||||
[submodule "extensions/cocos/cocos-ecs/extensions/cocos-terrain-gen"]
|
[submodule "extensions/cocos/cocos-ecs/extensions/cocos-terrain-gen"]
|
||||||
path = extensions/cocos/cocos-ecs/extensions/cocos-terrain-gen
|
path = extensions/cocos/cocos-ecs/extensions/cocos-terrain-gen
|
||||||
url = https://github.com/esengine/cocos-terrain-gen.git
|
url = https://github.com/esengine/cocos-terrain-gen.git
|
||||||
|
[submodule "examples/lawn-mower-demo"]
|
||||||
|
path = examples/lawn-mower-demo
|
||||||
|
url = https://github.com/esengine/lawn-mower-demo.git
|
||||||
|
|||||||
1
examples/lawn-mower-demo
Submodule
1
examples/lawn-mower-demo
Submodule
Submodule examples/lawn-mower-demo added at 9802694229
9
extensions/cocos/cocos-ecs/assets/resources/effects.meta
Normal file
9
extensions/cocos/cocos-ecs/assets/resources/effects.meta
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "8c25761f-50d6-498b-a95f-d863bf1fbff1",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "3a66cbbc-6612-4408-838b-875d0bb2e9a3",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "4fd895f7-6b0f-4357-aa3a-7c2e88ffac9a",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "829183be-61a1-4494-bf64-3df359c0e8e7",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
23
extensions/cocos/cocos-ecs/package-lock.json
generated
23
extensions/cocos/cocos-ecs/package-lock.json
generated
@@ -7,9 +7,16 @@
|
|||||||
"name": "cocos-ecs",
|
"name": "cocos-ecs",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esengine/ai": "^2.0.15",
|
"@esengine/ai": "^2.0.15",
|
||||||
|
"@esengine/cocos-nexus": "^1.0.1",
|
||||||
"@esengine/ecs-framework": "^2.1.23"
|
"@esengine/ecs-framework": "^2.1.23"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@cocos/creator-types": {
|
||||||
|
"version": "3.8.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@cocos/creator-types/-/creator-types-3.8.6.tgz",
|
||||||
|
"integrity": "sha512-hyZ4aoqqLxoRtKbBLSJM5RgtK3oGOlTEryHDcyH4znq3h9cFk+MSbQC2aJHvK5/bMlJzsZ641/hD77RGSrvo8Q==",
|
||||||
|
"peer": true
|
||||||
|
},
|
||||||
"node_modules/@esengine/ai": {
|
"node_modules/@esengine/ai": {
|
||||||
"version": "2.0.15",
|
"version": "2.0.15",
|
||||||
"resolved": "https://registry.npmjs.org/@esengine/ai/-/ai-2.0.15.tgz",
|
"resolved": "https://registry.npmjs.org/@esengine/ai/-/ai-2.0.15.tgz",
|
||||||
@@ -21,6 +28,17 @@
|
|||||||
"node": ">=16.0.0"
|
"node": ">=16.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@esengine/cocos-nexus": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@esengine/cocos-nexus/-/cocos-nexus-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-DWYBBlg3LwuYNVCtP0CTDgLXfix+fo0serfwNRHbKqGxb8yBnzJeGPauVwY7Jupc4nGBRZtC5xDfHW5PIxfQ4Q==",
|
||||||
|
"dependencies": {
|
||||||
|
"reflect-metadata": "^0.1.13"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@cocos/creator-types": ">=3.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@esengine/ecs-framework": {
|
"node_modules/@esengine/ecs-framework": {
|
||||||
"version": "2.1.23",
|
"version": "2.1.23",
|
||||||
"resolved": "https://registry.npmjs.org/@esengine/ecs-framework/-/ecs-framework-2.1.23.tgz",
|
"resolved": "https://registry.npmjs.org/@esengine/ecs-framework/-/ecs-framework-2.1.23.tgz",
|
||||||
@@ -29,6 +47,11 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0"
|
"node": ">=16.0.0"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"node_modules/reflect-metadata": {
|
||||||
|
"version": "0.1.14",
|
||||||
|
"resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.14.tgz",
|
||||||
|
"integrity": "sha512-ZhYeb6nRaXCfhnndflDK8qI6ZQ/YcWZCISRAWICW9XYqMUwjZM9Z0DveWX/ABN01oxSHwVxKQmxeYZSsm0jh5A=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esengine/ai": "^2.0.15",
|
"@esengine/ai": "^2.0.15",
|
||||||
"@esengine/ecs-framework": "^2.1.23"
|
"@esengine/ecs-framework": "^2.1.23",
|
||||||
|
"@esengine/cocos-nexus": "^1.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,235 @@
|
|||||||
{
|
{
|
||||||
"__version__": "1.0.12"
|
"__version__": "1.0.12",
|
||||||
|
"modules": {
|
||||||
|
"configs": {
|
||||||
|
"defaultConfig": {
|
||||||
|
"name": "DEFAULT CONFIG",
|
||||||
|
"cache": {
|
||||||
|
"base": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"gfx-webgl": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"gfx-webgl2": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"gfx-webgpu": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"animation": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"skeletal-animation": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"3d": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"meshopt": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"2d": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"xr": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"rich-text": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"mask": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"graphics": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"ui-skew": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"affine-transform": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"ui": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"particle": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"physics": {
|
||||||
|
"_value": true,
|
||||||
|
"_option": "physics-ammo"
|
||||||
|
},
|
||||||
|
"physics-ammo": {
|
||||||
|
"_value": true,
|
||||||
|
"_flags": {
|
||||||
|
"LOAD_BULLET_MANUALLY": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"physics-cannon": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"physics-physx": {
|
||||||
|
"_value": false,
|
||||||
|
"_flags": {
|
||||||
|
"LOAD_PHYSX_MANUALLY": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"physics-builtin": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"physics-2d": {
|
||||||
|
"_value": true,
|
||||||
|
"_option": "physics-2d-box2d"
|
||||||
|
},
|
||||||
|
"physics-2d-box2d": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"physics-2d-box2d-wasm": {
|
||||||
|
"_value": false,
|
||||||
|
"_flags": {
|
||||||
|
"LOAD_BOX2D_MANUALLY": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"physics-2d-builtin": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"physics-2d-box2d-jsb": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"intersection-2d": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"primitive": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"profiler": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"occlusion-query": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"geometry-renderer": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"debug-renderer": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"particle-2d": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"audio": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"video": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"webview": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"tween": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"websocket": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"websocket-server": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"terrain": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"light-probe": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"tiled-map": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"vendor-google": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"spine": {
|
||||||
|
"_value": true,
|
||||||
|
"_option": "spine-3.8"
|
||||||
|
},
|
||||||
|
"spine-3.8": {
|
||||||
|
"_value": true,
|
||||||
|
"_flags": {
|
||||||
|
"LOAD_SPINE_MANUALLY": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"spine-4.2": {
|
||||||
|
"_value": false,
|
||||||
|
"_flags": {
|
||||||
|
"LOAD_SPINE_MANUALLY": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dragon-bones": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"marionette": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"procedural-animation": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"custom-pipeline-post-process": {
|
||||||
|
"_value": false
|
||||||
|
},
|
||||||
|
"render-pipeline": {
|
||||||
|
"_value": true,
|
||||||
|
"_option": "custom-pipeline"
|
||||||
|
},
|
||||||
|
"custom-pipeline": {
|
||||||
|
"_value": true
|
||||||
|
},
|
||||||
|
"legacy-pipeline": {
|
||||||
|
"_value": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flags": {
|
||||||
|
"LOAD_SPINE_MANUALLY": false,
|
||||||
|
"LOAD_BULLET_MANUALLY": false
|
||||||
|
},
|
||||||
|
"includeModules": [
|
||||||
|
"2d",
|
||||||
|
"3d",
|
||||||
|
"affine-transform",
|
||||||
|
"animation",
|
||||||
|
"audio",
|
||||||
|
"base",
|
||||||
|
"custom-pipeline",
|
||||||
|
"dragon-bones",
|
||||||
|
"geometry-renderer",
|
||||||
|
"gfx-webgl",
|
||||||
|
"graphics",
|
||||||
|
"intersection-2d",
|
||||||
|
"light-probe",
|
||||||
|
"marionette",
|
||||||
|
"mask",
|
||||||
|
"particle",
|
||||||
|
"particle-2d",
|
||||||
|
"physics-2d-box2d",
|
||||||
|
"physics-ammo",
|
||||||
|
"primitive",
|
||||||
|
"profiler",
|
||||||
|
"rich-text",
|
||||||
|
"skeletal-animation",
|
||||||
|
"spine-3.8",
|
||||||
|
"terrain",
|
||||||
|
"tiled-map",
|
||||||
|
"tween",
|
||||||
|
"ui",
|
||||||
|
"ui-skew",
|
||||||
|
"video",
|
||||||
|
"websocket",
|
||||||
|
"webview"
|
||||||
|
],
|
||||||
|
"noDeprecatedFeatures": {
|
||||||
|
"value": false,
|
||||||
|
"version": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
43
extensions/cocos/cocos-ecs/streaming-zones.json
Normal file
43
extensions/cocos/cocos-ecs/streaming-zones.json
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
"version": "1.0.0",
|
||||||
|
"zones": [
|
||||||
|
{
|
||||||
|
"id": "mco83tjfk4ed7a2de4",
|
||||||
|
"name": "123",
|
||||||
|
"bounds": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0,
|
||||||
|
"width": 100,
|
||||||
|
"height": 100,
|
||||||
|
"depth": 100
|
||||||
|
},
|
||||||
|
"priority": 1,
|
||||||
|
"preloadDistance": 50,
|
||||||
|
"unloadDistance": 100,
|
||||||
|
"visible": true,
|
||||||
|
"color": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0.5
|
||||||
|
],
|
||||||
|
"resourcePaths": [],
|
||||||
|
"sceneNodeUuids": [],
|
||||||
|
"enabled": true,
|
||||||
|
"metadata": {
|
||||||
|
"created": 1751597801547,
|
||||||
|
"modified": 1751597801548,
|
||||||
|
"version": "1.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"defaultPreloadDistance": 50,
|
||||||
|
"defaultUnloadDistance": 100,
|
||||||
|
"defaultPriority": 1,
|
||||||
|
"autoSave": true,
|
||||||
|
"gridSize": 10,
|
||||||
|
"snapToGrid": false
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user