Scene prefabs

This commit is contained in:
2026-07-20 15:11:38 -05:00
parent 38c2f6b6f9
commit 7ceb9e571d
18 changed files with 349 additions and 52 deletions
+1 -38
View File
@@ -1,48 +1,11 @@
{
"extend": "OVERWORLDSCENE",
"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",
"extend": "PLAYER"
},
{
"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 }
}
]
},
{
"name": "testArea",
"components": [