This commit is contained in:
2026-07-19 22:12:53 -05:00
parent e80d693d85
commit 373f1c1010
24 changed files with 1646 additions and 16 deletions
+85
View File
@@ -0,0 +1,85 @@
{
"entities": [
{
"name": "camera",
"components": [
{
"type": "POSITION",
"x": 10, "y": 10, "z": 10,
"lookAt": { "x": 0, "y": 0, "z": 0 }
},
{
"type": "CAMERA",
"projType": "PERSPECTIVE",
"nearClip": 0.1, "farClip": 1000,
"fov": 0.9
}
]
},
{
"components": [
{ "type": "POSITION", "x": 0, "y": 1, "z": 0, "parent": "camera" }
]
},
{
"name": "player",
"components": [
{ "type": "POSITION", "x": 0, "y": 5, "z": 0 },
{
"type": "RENDERABLE",
"renderType": "SHADER_MATERIAL",
"priority": 0,
"shaderType": "UNLIT",
"color": { "r": 255, "g": 80, "b": 80, "a": 255 },
"displayState": { "cull": false, "depthTest": true, "blend": false }
},
{ "type": "PLAYER", "moveSpeed": 4, "jumpImpulse": 6 },
{ "type": "PHYSICS", "bodyType": "DYNAMIC" }
]
},
{
"components": [
{
"type": "POSITION",
"x": 0, "y": 0, "z": 0.85,
"parent": "player",
"scale": { "x": 0.7, "y": 0.7, "z": 0.7 }
},
{
"type": "RENDERABLE",
"renderType": "SHADER_MATERIAL",
"priority": 0,
"shaderType": "UNLIT",
"color": { "r": 80, "g": 160, "b": 255, "a": 255 },
"displayState": { "cull": false, "depthTest": true, "blend": false }
}
]
},
{
"components": [
{
"type": "POSITION",
"x": 0, "y": -0.1, "z": 0,
"scale": { "x": 20, "y": 0.2, "z": 20 }
},
{
"type": "RENDERABLE",
"renderType": "SHADER_MATERIAL",
"priority": 0,
"shaderType": "UNLIT",
"color": { "r": 128, "g": 128, "b": 128, "a": 255 },
"displayState": { "cull": false, "depthTest": true, "blend": false }
},
{
"type": "PHYSICS",
"bodyType": "STATIC",
"shape": {
"type": "PLANE",
"normalX": 0, "normalY": 1, "normalZ": 0,
"distance": 0
}
}
]
}
]
}