New features and plenty of code still in testing. This includes a level select, basic inventory, and a basic HUD.

This commit is contained in:
VoidTwo
2021-11-15 22:29:42 -06:00
parent bbb245f7b7
commit 2c98c112bd
47 changed files with 753 additions and 68 deletions

18
GUI/HUD.gd Normal file
View File

@@ -0,0 +1,18 @@
extends CanvasLayer
signal add_currency(amount)
func _on_Add_Currency_pressed() -> void:
emit_signal('add_currency', 1)
return
func update_currency(amount: int) -> void:
$Currency.set_text(String(amount))
return
func update_health(value: int) -> void:
$'Health Bar'.value = value
return