Got end of level working. Added floating coffins, shatter them and collect what comes out.

This commit is contained in:
Storm Dragon
2025-02-01 19:50:13 -05:00
parent 6fda41f57b
commit 0a7052094d
8 changed files with 124 additions and 74 deletions

View File

@@ -1,7 +1,7 @@
{
"level_id": 1,
"name": "The Mausoleum",
"description": "After years of existing as a pile of bones, someone was crazy enough to assemble your skeleton. Time to wreak some havoc!",
"description": "After years of existing as a pile of bones, someone was crazy enough to assemble your skeleton. Time to wreak some havoc! Use W to jump, A/D to move, and CTRL to attack with your shovel.",
"player_start": {
"x": 0,
"y": 0
@@ -14,6 +14,12 @@
"collectible": true,
"static": true
},
{
"x": 10,
"y": 3,
"sound": "coffin",
"type": "coffin"
},
{
"x_range": [15, 17],
"y": 3,
@@ -25,20 +31,19 @@
"x": 25,
"y": 0,
"enemy_type": "goblin",
"health": 5,
"damage": 2,
"health": 3,
"damage": 1,
"attack_range": 1,
"movement_range": 5
},
{
"x": 30,
"x": 35,
"y": 3,
"sound": "coin",
"collectible": true,
"static": true
"sound": "coffin",
"type": "coffin"
},
{
"x": 40,
"x": 45,
"y": 0,
"hazard": true,
"sound": "grave",
@@ -46,21 +51,20 @@
"zombie_spawn_chance": 10
},
{
"x_range": [45, 47],
"x_range": [55, 57],
"y": 3,
"sound": "coin",
"collectible": true,
"static": true
},
{
"x": 55,
"x": 65,
"y": 3,
"sound": "coin",
"collectible": true,
"static": true
"sound": "coffin",
"type": "coffin"
},
{
"x": 60,
"x": 75,
"y": 0,
"enemy_type": "goblin",
"health": 5,
@@ -69,7 +73,7 @@
"movement_range": 5
},
{
"x": 70,
"x": 85,
"y": 0,
"hazard": true,
"sound": "grave",
@@ -77,22 +81,7 @@
"zombie_spawn_chance": 15
},
{
"x_range": [80, 82],
"y": 3,
"sound": "coin",
"collectible": true,
"static": true
},
{
"x": 90,
"y": 0,
"hazard": true,
"sound": "grave",
"static": true,
"zombie_spawn_chance": 20
},
{
"x": 100,
"x_range": [95, 97],
"y": 3,
"sound": "coin",
"collectible": true,
@@ -100,27 +89,17 @@
},
{
"x": 110,
"y": 0,
"hazard": true,
"sound": "grave",
"static": true,
"zombie_spawn_chance": 25
"y": 3,
"sound": "coffin",
"type": "coffin"
},
{
"x_range": [120, 123],
"x_range": [120, 122],
"y": 3,
"sound": "coin",
"collectible": true,
"static": true
},
{
"x": 130,
"y": 0,
"hazard": true,
"sound": "grave",
"static": true,
"zombie_spawn_chance": 30
},
{
"x": 145,
"y": 0,
@@ -132,6 +111,6 @@
],
"boundaries": {
"left": 0,
"right": 150
"right": 160
}
}