Files
project_sanic/map/levels/3.json

44 lines
837 B
JSON

{
"name": "Level 3",
"width": 2400,
"height": 800,
"background": "assets/map/background/forest_bg.jpg",
"gravity": 1.0,
"platforms": [
{
"id": "platform1",
"x": 100,
"y": 140,
"width": 540,
"height": 160,
"texture": "assets/map/platform/grass_texture.png",
"is_moving": false
},
{
"id": "platform2",
"x": 320,
"y": 40,
"width": 200,
"height": 20,
"texture": "assets/map/platform/grass_texture.png",
"is_moving": false
}
],
"enemies": [],
"checkpoints": [],
"exits": [
{
"x": 355,
"y": -760,
"width": 50,
"height": 80,
"next_level": "map/levels/1.json",
"sprite": "assets/map/exit/Zeldo.png"
}
],
"collectibles": [],
"spawn_point": {
"x": 260.0,
"y": 0.0
}
}