Files
Faset_Engine/examples/tutorials/spawning/scene.json
T

59 lines
1.1 KiB
JSON

{
"format": "faset.scene",
"version": 1,
"id": "tutorial-spawning",
"name": "Spawning tutorial",
"dimension": 2,
"simulation": {
"fixed_delta": 0.016666666666666666,
"max_catch_up_ticks": 4,
"physics_substeps": 4,
"gravity": [
0,
-9.81,
0
]
},
"entities": [
{
"id": "spawner",
"name": "spawner",
"parent": null,
"components": [
{
"id": "spawner-faset.transform",
"type": "faset.transform",
"version": 1,
"fields": {
"position": [
0,
0,
0
],
"rotation": [
0,
0,
0
],
"scale": [
1,
1,
1
]
}
},
{
"id": "spawner-tutorial.spawn_once",
"type": "tutorial.spawn_once",
"version": 1,
"fields": {
"spawned_id": "temporary-box",
"lifetime": 1.0
}
}
]
}
],
"instances": []
}