A few tweaks to make the HP bar work constnantly, probably not the most efficient but it's good enough for now.

This commit is contained in:
Zed A. Shaw 2025-02-24 12:05:54 -05:00
parent dfd59065f7
commit 1886c99920
5 changed files with 6 additions and 7 deletions

View file

@ -8,7 +8,7 @@
},
{"_type": "Combat", "hp": 200, "max_hp": 200, "damage": 50, "dead": false},
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
{"_type": "LightSource", "strength": 40, "radius": 1.5},
{"_type": "LightSource", "strength": 45, "radius": 2.0},
{"_type": "EnemyConfig", "hearing_distance": 5},
{"_type": "Animation", "scale": 0.1, "simple": true, "frames": 10, "speed": 1.0}
]

View file

@ -54,7 +54,7 @@
"foreground": [24, 205, 210],
"background": [24, 205, 210]
},
{"_type": "LightSource", "strength": 60, "radius": 1.8},
{"_type": "LightSource", "strength": 50, "radius": 2.8},
{"_type": "Sprite", "name": "torch_pillar"},
{"_type": "Sound", "attack": "pickup", "death": "blank"}
]
@ -69,7 +69,7 @@
"foreground": [255, 205, 189],
"background": [255, 205, 189]
},
{"_type": "Curative", "hp": 200},
{"_type": "Curative", "hp": 20},
{"_type": "Sprite", "name": "healing_potion_small"},
{"_type": "Sound", "attack": "pickup", "death": "blank"}
]