enemy tweaks

This commit is contained in:
derek
2024-07-18 16:59:14 -05:00
parent acdfae4777
commit 0676e28e89
43 changed files with 1208 additions and 56 deletions

View File

@@ -18,4 +18,4 @@ func _ready():
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
text = "$" + str(int(level_control.money)) + "\nStamina: " + str(int((player.remaining_stamina/player.MAX_STAMINA)*100)) + "%"
text = "health " + str(clamp(level_control.health,0,100))+ "\n$" + str(int(level_control.money)) + "\nStamina: " + str(int((player.remaining_stamina/player.MAX_STAMINA)*100)) + "%"