mirror of
https://github.com/BreizhHardware/project_sanic.git
synced 2026-01-18 16:47:25 +01:00
895 lines
19 KiB
JSON
895 lines
19 KiB
JSON
{
|
|
"name": "Level 3",
|
|
"width": 10500,
|
|
"height": 1500,
|
|
"background": "assets/map/background/desert_bg.jpg",
|
|
"gravity": 1.0,
|
|
"platforms": [
|
|
{
|
|
"id": "main_ground",
|
|
"x": -1000,
|
|
"y": 800,
|
|
"width": 1500,
|
|
"height": 200,
|
|
"texture": "assets/map/platform/stone_texture.png"
|
|
},
|
|
{
|
|
"id": "platform1_01",
|
|
"x": 500,
|
|
"y": 550,
|
|
"width": 300,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform1_02",
|
|
"x": 900,
|
|
"y": 400,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 900, "y": 100},
|
|
{"x": 900, "y": 400}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "main_ground_2",
|
|
"x": 1200,
|
|
"y": 200,
|
|
"width": 1400,
|
|
"height": 200,
|
|
"texture": "assets/map/platform/stone_texture.png"
|
|
},
|
|
{
|
|
"id": "platform2_01",
|
|
"x": 2100,
|
|
"y": 0,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "main_ground_3",
|
|
"x": 2900,
|
|
"y": 400,
|
|
"width": 600,
|
|
"height": 200,
|
|
"texture": "assets/map/platform/stone_texture.png"
|
|
},
|
|
{
|
|
"id": "platform3_01",
|
|
"x": 3800,
|
|
"y": 600,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "circular",
|
|
"center": {"x": 3800, "y": 600},
|
|
"radius": 2,
|
|
"speed": 0.02,
|
|
"clockwise": false
|
|
}
|
|
},
|
|
{
|
|
"id": "platform3_02",
|
|
"x": 4100,
|
|
"y": 300,
|
|
"width": 300,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform3_03",
|
|
"x": 4400,
|
|
"y": 200,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 4400, "y": 200},
|
|
{"x": 4900, "y": 200}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "platform3_04",
|
|
"x": 5100,
|
|
"y": 100,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform3_05",
|
|
"x": 3600,
|
|
"y": 800,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "main_ground_4",
|
|
"x": 2900,
|
|
"y": 1000,
|
|
"width": 700,
|
|
"height": 200,
|
|
"texture": "assets/map/platform/stone_texture.png"
|
|
},
|
|
{
|
|
"id": "platform4_01",
|
|
"x": 2600,
|
|
"y": 1200,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "circular",
|
|
"center": {"x": 2600, "y": 1200},
|
|
"radius": 2,
|
|
"speed": 0.02,
|
|
"clockwise": false
|
|
}
|
|
},
|
|
{
|
|
"id": "platform4_02",
|
|
"x": 2000,
|
|
"y": 900,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform4_03",
|
|
"x": 2100,
|
|
"y": 1300,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform4_04",
|
|
"x": 2400,
|
|
"y": 1400,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 2400, "y": 1400},
|
|
{"x": 2400, "y": 1800}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "platform4_05",
|
|
"x": 3000,
|
|
"y": 1800,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 2600, "y": 1800},
|
|
{"x": 3000, "y": 1800}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "platform4_06",
|
|
"x": 3200,
|
|
"y": 1800,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 3200, "y": 1800},
|
|
{"x": 3600, "y": 1800}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "main_ground_5",
|
|
"x": 3800,
|
|
"y": 1900,
|
|
"width": 1000,
|
|
"height": 200,
|
|
"texture": "assets/map/platform/stone_texture.png"
|
|
},
|
|
{
|
|
"id": "platform5_01",
|
|
"x": 4900,
|
|
"y": 1900,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 4900, "y": 1900},
|
|
{"x": 5400, "y": 1900}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "platform5_02",
|
|
"x": 5600,
|
|
"y": 1900,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform5_03",
|
|
"x": 5900,
|
|
"y": 1900,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 5900, "y": 1100},
|
|
{"x": 5900, "y": 1900}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "main_ground_6",
|
|
"x": 3900,
|
|
"y": 1000,
|
|
"width": 900,
|
|
"height": 200,
|
|
"texture": "assets/map/platform/stone_texture.png"
|
|
},
|
|
{
|
|
"id": "platform6_01",
|
|
"x": 4900,
|
|
"y": 1000,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 4900, "y": 1000},
|
|
{"x": 5400, "y": 1000}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "platform6_02",
|
|
"x": 5600,
|
|
"y": 1100,
|
|
"width": 500,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "main_ground_7",
|
|
"x": 6300,
|
|
"y": 1100,
|
|
"width": 800,
|
|
"height": 200,
|
|
"texture": "assets/map/platform/stone_texture.png"
|
|
},
|
|
{
|
|
"id": "platform7_01",
|
|
"x": 6500,
|
|
"y": 900,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform7_02",
|
|
"x": 6700,
|
|
"y": 800,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform7_03",
|
|
"x": 6300,
|
|
"y": 700,
|
|
"width": 400,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform7_04",
|
|
"x": 7400,
|
|
"y": 800,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "circular",
|
|
"center": {"x": 7400, "y": 800},
|
|
"radius": 2,
|
|
"speed": 0.02,
|
|
"clockwise": true
|
|
}
|
|
},
|
|
{
|
|
"id": "platform7_05",
|
|
"x": 7700,
|
|
"y": 800,
|
|
"width": 300,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform7_06",
|
|
"x": 8100,
|
|
"y": 800,
|
|
"width": 400,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform7_07",
|
|
"x": 8500,
|
|
"y": 700,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 8500, "y": 700},
|
|
{"x": 8900, "y": 700}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "platform7_08",
|
|
"x": 7700,
|
|
"y": 1200,
|
|
"width": 300,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform7_09",
|
|
"x": 8100,
|
|
"y": 1200,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 8100, "y": 1200},
|
|
{"x": 8600, "y": 1200}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "main_ground_8",
|
|
"x": 9100,
|
|
"y": 800,
|
|
"width": 400,
|
|
"height": 200,
|
|
"texture": "assets/map/platform/stone_texture.png"
|
|
},
|
|
{
|
|
"id": "platform8_01",
|
|
"x": 9600,
|
|
"y": 700,
|
|
"width": 200,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": true,
|
|
"movement": {
|
|
"type": "linear",
|
|
"points": [
|
|
{"x": 9600, "y": 700},
|
|
{"x": 9600, "y": 1100}
|
|
],
|
|
"speed": 3.0,
|
|
"wait_time": 1.0
|
|
}
|
|
},
|
|
{
|
|
"id": "main_ground_9",
|
|
"x": 8900,
|
|
"y": 1300,
|
|
"width": 2600,
|
|
"height": 200,
|
|
"texture": "assets/map/platform/stone_texture.png"
|
|
},
|
|
{
|
|
"id": "platform9_01",
|
|
"x": 10300,
|
|
"y": 1100,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform9_02",
|
|
"x": 10400,
|
|
"y": 1000,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
},
|
|
{
|
|
"id": "platform9_03",
|
|
"x": 10500,
|
|
"y": 1100,
|
|
"width": 100,
|
|
"height": 20,
|
|
"texture": "assets/map/platform/wood_texture.png",
|
|
"is_moving": false
|
|
}
|
|
],
|
|
|
|
"enemies": [
|
|
{
|
|
"id": "enemy_01",
|
|
"type": "flyer",
|
|
"x": 1200,
|
|
"y": 0,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "chase",
|
|
"detection_radius": 200,
|
|
"speed": 2.0,
|
|
"sprite_sheet": "assets/map/enemy/flying_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_02",
|
|
"type": "turret",
|
|
"x": 1400,
|
|
"y": 75,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "stationary",
|
|
"attack_interval": 2.0,
|
|
"attack_range": 300,
|
|
"sprite_sheet": "assets/map/enemy/turret.gif",
|
|
"size": [75,100]
|
|
},
|
|
{
|
|
"id": "enemy_03",
|
|
"type": "walker",
|
|
"x": 1600,
|
|
"y": 75,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "patrol",
|
|
"patrol_points": [
|
|
{"x": 1600, "y": 75},
|
|
{"x": 1900, "y": 75}
|
|
],
|
|
"speed": 1.5,
|
|
"sprite_sheet": "assets/map/enemy/walker_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_04",
|
|
"type": "flyer",
|
|
"x": 2000,
|
|
"y": -100,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "chase",
|
|
"detection_radius": 200,
|
|
"speed": 2.0,
|
|
"sprite_sheet": "assets/map/enemy/flying_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_05",
|
|
"type": "walker",
|
|
"x": 2900,
|
|
"y": 275,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "patrol",
|
|
"patrol_points": [
|
|
{"x": 2900, "y": 275},
|
|
{"x": 3300, "y": 275}
|
|
],
|
|
"speed": 1.5,
|
|
"sprite_sheet": "assets/map/enemy/walker_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_06",
|
|
"type": "flyer",
|
|
"x": 3400,
|
|
"y": 800,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "chase",
|
|
"detection_radius": 200,
|
|
"speed": 2.0,
|
|
"sprite_sheet": "assets/map/enemy/flying_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_07",
|
|
"type": "turret",
|
|
"x": 3000,
|
|
"y": 875,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "stationary",
|
|
"attack_interval": 2.0,
|
|
"attack_range": 300,
|
|
"sprite_sheet": "assets/map/enemy/turret.gif",
|
|
"size": [75,100]
|
|
},
|
|
{
|
|
"id": "enemy_08",
|
|
"type": "turret",
|
|
"x": 2100,
|
|
"y": 875,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "stationary",
|
|
"attack_interval": 2.0,
|
|
"attack_range": 300,
|
|
"sprite_sheet": "assets/map/enemy/turret.gif",
|
|
"size": [75,100]
|
|
},
|
|
{
|
|
"id": "enemy_09",
|
|
"type": "flyer",
|
|
"x": 3100,
|
|
"y": 1600,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "chase",
|
|
"detection_radius": 200,
|
|
"speed": 2.0,
|
|
"sprite_sheet": "assets/map/enemy/flying_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_10",
|
|
"type": "walker",
|
|
"x": 3900,
|
|
"y": 1775,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "patrol",
|
|
"patrol_points": [
|
|
{"x": 3900, "y": 1775},
|
|
{"x": 4200, "y": 1775}
|
|
],
|
|
"speed": 1.5,
|
|
"sprite_sheet": "assets/map/enemy/walker_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_11",
|
|
"type": "turret",
|
|
"x": 4500,
|
|
"y": 1775,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "stationary",
|
|
"attack_interval": 2.0,
|
|
"attack_range": 300,
|
|
"sprite_sheet": "assets/map/enemy/turret.gif",
|
|
"size": [75,100]
|
|
},
|
|
{
|
|
"id": "enemy_12",
|
|
"type": "walker",
|
|
"x": 3900,
|
|
"y": 875,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "patrol",
|
|
"patrol_points": [
|
|
{"x": 3900, "y": 875},
|
|
{"x": 4200, "y": 875}
|
|
],
|
|
"speed": 1.5,
|
|
"sprite_sheet": "assets/map/enemy/walker_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_13",
|
|
"type": "flyer",
|
|
"x": 4100,
|
|
"y": 800,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "chase",
|
|
"detection_radius": 200,
|
|
"speed": 2.0,
|
|
"sprite_sheet": "assets/map/enemy/flying_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_14",
|
|
"type": "walker",
|
|
"x": 4200,
|
|
"y": 875,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "patrol",
|
|
"patrol_points": [
|
|
{"x": 4200, "y": 875},
|
|
{"x": 4500, "y": 875}
|
|
],
|
|
"speed": 1.5,
|
|
"sprite_sheet": "assets/map/enemy/walker_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_15",
|
|
"type": "turret",
|
|
"x": 4300,
|
|
"y": 875,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "stationary",
|
|
"attack_interval": 2.0,
|
|
"attack_range": 300,
|
|
"sprite_sheet": "assets/map/enemy/turret.gif",
|
|
"size": [75,100]
|
|
},
|
|
{
|
|
"id": "enemy_16",
|
|
"type": "turret",
|
|
"x": 6300,
|
|
"y": 675,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "stationary",
|
|
"attack_interval": 2.0,
|
|
"attack_range": 300,
|
|
"sprite_sheet": "assets/map/enemy/turret.gif",
|
|
"size": [75,100]
|
|
},
|
|
{
|
|
"id": "enemy_17",
|
|
"type": "flyer",
|
|
"x": 7900,
|
|
"y": 1100,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "chase",
|
|
"detection_radius": 200,
|
|
"speed": 2.0,
|
|
"sprite_sheet": "assets/map/enemy/flying_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_18",
|
|
"type": "flyer",
|
|
"x": 7900,
|
|
"y": 700,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "chase",
|
|
"detection_radius": 200,
|
|
"speed": 2.0,
|
|
"sprite_sheet": "assets/map/enemy/flying_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_19",
|
|
"type": "turret",
|
|
"x": 9400,
|
|
"y": 675,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "stationary",
|
|
"attack_interval": 2.0,
|
|
"attack_range": 300,
|
|
"sprite_sheet": "assets/map/enemy/turret.gif",
|
|
"size": [75,100]
|
|
},
|
|
{
|
|
"id": "enemy_20",
|
|
"type": "walker",
|
|
"x": 8900,
|
|
"y": 1175,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "patrol",
|
|
"patrol_points": [
|
|
{"x": 8900, "y": 1175},
|
|
{"x": 9200, "y": 1175}
|
|
],
|
|
"speed": 1.5,
|
|
"sprite_sheet": "assets/map/enemy/walker_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_21",
|
|
"type": "flyer",
|
|
"x": 9100,
|
|
"y": 1100,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "chase",
|
|
"detection_radius": 200,
|
|
"speed": 2.0,
|
|
"sprite_sheet": "assets/map/enemy/flying_enemy.png",
|
|
"size": [50,50]
|
|
},
|
|
{
|
|
"id": "enemy_22",
|
|
"type": "turret",
|
|
"x": 9800,
|
|
"y": 1175,
|
|
"health": 1,
|
|
"damage": 1,
|
|
"behavior": "stationary",
|
|
"attack_interval": 2.0,
|
|
"attack_range": 300,
|
|
"sprite_sheet": "assets/map/enemy/turret.gif",
|
|
"size": [75,100]
|
|
},
|
|
{
|
|
"id": "boss",
|
|
"type": "boss",
|
|
"x": 11300,
|
|
"y": 1200,
|
|
"health": 3,
|
|
"damage": 1,
|
|
"behavior": "boss",
|
|
"attack_interval": 1.0,
|
|
"attack_range": 500,
|
|
"sprite_sheet": "assets/map/enemy/boss.gif",
|
|
"size": [200,200]
|
|
}
|
|
],
|
|
|
|
"collectibles": [
|
|
{
|
|
"id": "coin1",
|
|
"type": "coin",
|
|
"x": 2200,
|
|
"y": -50,
|
|
"sprite": "assets/map/collectibles/Sanic_Coin.png"
|
|
},
|
|
{
|
|
"id": "coin2",
|
|
"type": "coin",
|
|
"x": 5100,
|
|
"y": 50,
|
|
"sprite": "assets/map/collectibles/Sanic_Coin.png"
|
|
},
|
|
{
|
|
"id": "coin3",
|
|
"type": "coin",
|
|
"x": 4700,
|
|
"y": 1750,
|
|
"sprite": "assets/map/collectibles/Sanic_Coin.png"
|
|
},
|
|
{
|
|
"id": "coin4",
|
|
"type": "coin",
|
|
"x": 6500,
|
|
"y": 650,
|
|
"sprite": "assets/map/collectibles/Sanic_Coin.png"
|
|
},
|
|
{
|
|
"id": "coin5",
|
|
"type": "coin",
|
|
"x": 9200,
|
|
"y": 650,
|
|
"sprite": "assets/map/collectibles/Sanic_Coin.png"
|
|
},
|
|
{
|
|
"id": "jump1",
|
|
"type": "jump",
|
|
"x": 400,
|
|
"y": 650,
|
|
"sprite": "assets/map/collectibles/jump.png"
|
|
},
|
|
{
|
|
"id": "jump2",
|
|
"type": "jump",
|
|
"x": 700,
|
|
"y": 500,
|
|
"sprite": "assets/map/collectibles/jump.png"
|
|
},
|
|
{
|
|
"id": "speed1",
|
|
"type": "speed",
|
|
"x": 2300,
|
|
"y": -100,
|
|
"sprite": "assets/map/collectibles/speed.png"
|
|
}
|
|
],
|
|
|
|
"checkpoints": [
|
|
{
|
|
"id": "checkpoint1",
|
|
"x": 6300,
|
|
"y": 875,
|
|
"width": 50,
|
|
"height": 125,
|
|
"sprite": "assets/map/checkpoints/checkpoint.png"
|
|
}
|
|
],
|
|
|
|
"spawn_point": {
|
|
"x": 50,
|
|
"y": 650
|
|
},
|
|
|
|
"exits": [
|
|
{
|
|
"x": 11300,
|
|
"y": 1150,
|
|
"width": 50,
|
|
"height": 80,
|
|
"next_level": "Level 2",
|
|
"sprite": "assets/map/exit/Zeldo.png"
|
|
}
|
|
]
|
|
} |