Refactored the bossfight_ui so it will work with any description of a boss fight.
This commit is contained in:
parent
43835da88f
commit
a3f6ba3c03
12 changed files with 99 additions and 69 deletions
14
assets/bosses.json
Normal file
14
assets/bosses.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"RAT_KING": {
|
||||
"background": "boss_fight_background",
|
||||
"weapon_sound": "Sword_Hit_2",
|
||||
"components": [
|
||||
{"_type": "Combat", "hp": 50, "max_hp": 50, "damage": 50, "dead": false},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "EnemyConfig", "hearing_distance": 3},
|
||||
{"_type": "Animation", "easing": 2, "ease_rate": 0.2, "scale": 0.2, "simple": false, "frames": 2, "speed": 0.02},
|
||||
{"_type": "Sprite", "name": "rat_king_boss", "width": 720, "height": 720},
|
||||
{"_type": "Sound", "attack": "Marmot_Scream_1", "death": "Creature_Death_1"}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue