127 lines
2.4 KiB
JSON
127 lines
2.4 KiB
JSON
{
|
|
"format": "faset.scene",
|
|
"version": 1,
|
|
"id": "tutorial-following",
|
|
"name": "Following tutorial",
|
|
"dimension": 2,
|
|
"simulation": {
|
|
"fixed_delta": 0.016666666666666666,
|
|
"max_catch_up_ticks": 4,
|
|
"physics_substeps": 4,
|
|
"gravity": [
|
|
0,
|
|
-9.81,
|
|
0
|
|
]
|
|
},
|
|
"entities": [
|
|
{
|
|
"id": "actor",
|
|
"name": "actor",
|
|
"parent": null,
|
|
"components": [
|
|
{
|
|
"id": "actor-faset.transform",
|
|
"type": "faset.transform",
|
|
"version": 1,
|
|
"fields": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"rotation": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"scale": [
|
|
1,
|
|
1,
|
|
1
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "actor-faset.sprite",
|
|
"type": "faset.sprite",
|
|
"version": 1,
|
|
"fields": {
|
|
"color": [
|
|
0.2,
|
|
0.7,
|
|
0.9,
|
|
1
|
|
],
|
|
"size": [
|
|
1,
|
|
1
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "actor-tutorial.fixed_move",
|
|
"type": "tutorial.fixed_move",
|
|
"version": 1,
|
|
"fields": {
|
|
"speed": 2
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "camera",
|
|
"name": "camera",
|
|
"parent": null,
|
|
"components": [
|
|
{
|
|
"id": "camera-faset.transform",
|
|
"type": "faset.transform",
|
|
"version": 1,
|
|
"fields": {
|
|
"position": [
|
|
0,
|
|
0,
|
|
10
|
|
],
|
|
"rotation": [
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"scale": [
|
|
1,
|
|
1,
|
|
1
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "camera-faset.camera",
|
|
"type": "faset.camera",
|
|
"version": 1,
|
|
"fields": {
|
|
"fov": 60,
|
|
"near": 0.1,
|
|
"far": 100
|
|
}
|
|
},
|
|
{
|
|
"id": "camera-tutorial.follow",
|
|
"type": "tutorial.follow",
|
|
"version": 1,
|
|
"fields": {
|
|
"target": "actor",
|
|
"offset": [
|
|
0,
|
|
0,
|
|
10
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"instances": []
|
|
}
|