{ "format": "faset.scene", "version": 1, "id": "example-lua-scene", "name": "Lua playground — A/D / Space / E", "dimension": 2, "simulation": { "fixed_delta": 0.016666666666666666, "max_catch_up_ticks": 4, "physics_substeps": 4, "gravity": [0, -9.81, 0] }, "entities": [ { "id": "floor", "name": "Ground", "parent": null, "components": [ { "id": "floor-transform", "type": "faset.transform", "version": 1, "fields": {"position": [0, -0.5, 0]} }, { "id": "floor-sprite", "type": "faset.sprite", "version": 1, "fields": {"size": [16, 1], "color": [0.2, 0.3, 0.4, 1]} }, { "id": "floor-body", "type": "faset.rigid_body_2d", "version": 1, "fields": {"body_type": "static", "half_extents": [8, 0.5]} } ] }, { "id": "player", "name": "Player", "parent": null, "components": [ { "id": "player-transform", "type": "faset.transform", "version": 1, "fields": {"position": [-2, 1.5, 0]} }, { "id": "player-sprite", "type": "faset.sprite", "version": 1, "fields": {"size": [0.8, 1], "color": [0.2, 0.75, 0.9, 1]} }, { "id": "player-body", "type": "faset.rigid_body_2d", "version": 1, "fields": {"body_type": "dynamic", "half_extents": [0.4, 0.5], "friction": 0.3} }, { "id": "player-controller", "type": "example.lua_player", "version": 1, "fields": {"move_speed": 5, "jump_speed": 7} } ] }, { "id": "beacon", "name": "Beacon", "parent": null, "components": [ { "id": "beacon-transform", "type": "faset.transform", "version": 1, "fields": {"position": [3, 2, 0]} }, { "id": "beacon-sprite", "type": "faset.sprite", "version": 1, "fields": {"size": [0.5, 0.5], "color": [1, 0.7, 0.2, 1]} }, { "id": "beacon-behavior", "type": "example.lua_beacon", "version": 1, "fields": {"amplitude": 0.3, "frequency": 0.7} } ] } ], "instances": [] }