75 lines
1.3 KiB
JSON
75 lines
1.3 KiB
JSON
{
|
|
"format": "faset.scene",
|
|
"version": 1,
|
|
"id": "tutorial-moving",
|
|
"name": "Moving 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.move_x",
|
|
"type": "tutorial.move_x",
|
|
"version": 1,
|
|
"fields": {
|
|
"speed": 2
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"instances": []
|
|
}
|