136 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			136 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "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!",
 | |
|     "player_start": {
 | |
|         "x": 0,
 | |
|         "y": 0
 | |
|     },
 | |
|     "objects": [
 | |
|         {
 | |
|             "x": 2,
 | |
|             "y": 3,
 | |
|             "item": "guts",
 | |
|             "sound": "coffin",
 | |
|             "type": "coffin"
 | |
|         },
 | |
|         {
 | |
|             "x_range": [5, 8],
 | |
|             "y": 3,
 | |
|             "sound": "coin",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 10,
 | |
|             "y": 3,
 | |
|             "sound": "coffin",
 | |
|             "type": "coffin"
 | |
|         },
 | |
|         {
 | |
|             "x_range": [15, 17],
 | |
|             "y": 3,
 | |
|             "sound": "coin",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x_range": [25, 30],
 | |
|             "y": 0,
 | |
|             "enemy_type": "goblin",
 | |
|             "health": 3,
 | |
|             "damage": 1,
 | |
|             "attack_range": 1,
 | |
|             "attack_pattern": {
 | |
|                 "type": "patrol"
 | |
|             }
 | |
|         },
 | |
|         {
 | |
|             "x": 35,
 | |
|             "y": 3,
 | |
|             "sound": "coffin",
 | |
|             "type": "coffin"
 | |
|         },
 | |
|         {
 | |
|             "x": 45,
 | |
|             "y": 0,
 | |
|             "hazard": true,
 | |
|             "sound": "grave",
 | |
|             "static": true,
 | |
|             "zombie_spawn_chance": 10
 | |
|         },
 | |
|         {
 | |
|             "x_range": [55, 57],
 | |
|             "y": 3,
 | |
|             "sound": "coin",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 65,
 | |
|             "y": 3,
 | |
|             "sound": "coffin",
 | |
|             "type": "coffin"
 | |
|         },
 | |
|         {
 | |
|             "x_range": [75, 80],
 | |
|             "y": 0,
 | |
|             "enemy_type": "goblin",
 | |
|             "health": 5,
 | |
|             "damage": 2,
 | |
|             "attack_range": 1,
 | |
|             "attack_pattern": {
 | |
|                 "type": "patrol"
 | |
|             }
 | |
|         },
 | |
|         {
 | |
|             "x": 85,
 | |
|             "y": 0,
 | |
|             "hazard": true,
 | |
|             "sound": "grave",
 | |
|             "static": true,
 | |
|             "zombie_spawn_chance": 15
 | |
|         },
 | |
|         {
 | |
|             "x_range": [95, 100],
 | |
|             "y": 3,
 | |
|             "sound": "coin",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 110,
 | |
|             "y": 3,
 | |
|             "sound": "coffin",
 | |
|             "type": "coffin"
 | |
|         },
 | |
|         {
 | |
|             "x_range": [120, 123],
 | |
|             "y": 3,
 | |
|             "sound": "coin",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 145,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "direction": -1,
 | |
|             "fire_interval": 5000,
 | |
|             "range": 15
 | |
|         },
 | |
|         {
 | |
|             "x_range": [154, 159],
 | |
|             "y": 3,
 | |
|             "sound": "coin",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         }
 | |
|     ],
 | |
|     "boundaries": {
 | |
|         "left": 0,
 | |
|         "right": 165
 | |
|     },
 | |
|     "footstep_sound": "footstep_stone"
 | |
| }
 |