Refactored the bossfight_ui so it will work with any description of a boss fight.

This commit is contained in:
Zed A. Shaw 2025-03-02 12:36:08 -05:00
parent 43835da88f
commit a3f6ba3c03
12 changed files with 99 additions and 69 deletions

View file

@ -10,7 +10,7 @@
"foreground": [24, 120, 189],
"background": [230,120, 120]
},
{"_type": "Sprite", "name": "torch_horizontal_floor"},
{"_type": "Sprite", "name": "torch_horizontal_floor", "width": 256, "height": 256},
{"_type": "Sound", "attack": "pickup", "death": "blank"}
]
},
@ -25,7 +25,7 @@
"foreground": [24, 120, 189],
"background": [24, 120, 189]
},
{"_type": "Sprite", "name": "cinqueda"},
{"_type": "Sprite", "name": "cinqueda", "width": 256, "height": 256},
{"_type": "Sound", "attack": "pickup", "death": "blank"}
]
},
@ -39,7 +39,7 @@
"background": [150, 100, 189]
},
{"_type": "Loot", "amount": 10},
{"_type": "Sprite", "name": "barrel_small"},
{"_type": "Sprite", "name": "barrel_small", "width": 256, "height": 256},
{"_type": "Sound", "attack": "pickup", "death": "blank"}
],
"inventory_count": 1
@ -55,7 +55,7 @@
"background": [24, 205, 210]
},
{"_type": "LightSource", "strength": 50, "radius": 2.8},
{"_type": "Sprite", "name": "torch_pillar"},
{"_type": "Sprite", "name": "torch_pillar", "width": 256, "height": 256},
{"_type": "Sound", "attack": "pickup", "death": "blank"}
]
},
@ -70,7 +70,7 @@
"background": [255, 205, 189]
},
{"_type": "Curative", "hp": 20},
{"_type": "Sprite", "name": "healing_potion_small"},
{"_type": "Sprite", "name": "healing_potion_small", "width": 256, "height": 256},
{"_type": "Sound", "attack": "pickup", "death": "blank"}
]
},
@ -85,7 +85,7 @@
"background": [24, 205, 189]
},
{"_type": "Loot", "amount": 10},
{"_type": "Sprite", "name": "grave_stone"},
{"_type": "Sprite", "name": "grave_stone", "width": 256, "height": 256},
{"_type": "Sound", "attack": "pickup", "death": "blank"}
]
}