Added player save function to "persistent" tag, added UI elements

This commit is contained in:
Derek
2024-12-08 16:08:43 -06:00
parent 3938e53eed
commit f61807a572
24 changed files with 5945 additions and 192 deletions

View File

@@ -18,4 +18,5 @@ func _ready():
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
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)) + "%"
pass
#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)) + "%"