Files
dusk/assets/scenes/test.json
T
2026-07-20 15:11:38 -05:00

51 lines
1.2 KiB
JSON

{
"extend": "OVERWORLDSCENE",
"entities": [
{
"components": [
{ "type": "POSITION", "x": 0, "y": 1, "z": 0, "parent": "camera" }
]
},
{
"name": "testArea",
"components": [
{ "type": "POSITION", "x": 2, "y": 1, "z": 0 },
{
"type": "TRIGGER",
"collideMask": 2,
"shape": {
"type": "CUBE",
"halfExtentX": 1.5, "halfExtentY": 1.5, "halfExtentZ": 1.5
}
}
]
},
{
"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
}
}
]
}
]
}