Merged with daniel-hell-level and modified weapon handling

This commit is contained in:
VoidTwo
2021-12-05 17:19:07 -06:00
87 changed files with 2724 additions and 23 deletions

View File

@@ -1,6 +1,7 @@
extends CanvasLayer
signal add_currency(amount)
var weapon = "sword"
func _on_Add_Currency_pressed() -> void:
@@ -33,6 +34,7 @@ func _on_select_bow_pressed() -> void:
$'Weapon Selection/Sword'.set_visible(true)
$'Weapon Selection'.set_visible(false)
weapon = "bow"
return
@@ -46,6 +48,7 @@ func _on_select_javelin_pressed() -> void:
$'Weapon Selection/Sword'.set_visible(true)
$'Weapon Selection'.set_visible(false)
weapon = "javelin"
return
@@ -59,6 +62,7 @@ func _on_select_staff_pressed() -> void:
$'Weapon Selection/Sword'.set_visible(true)
$'Weapon Selection'.set_visible(false)
weapon = "staff"
return
@@ -72,4 +76,5 @@ func _on_select_sword_pressed() -> void:
$'Weapon Selection/Staff'.set_visible(true)
$'Weapon Selection'.set_visible(false)
weapon = "sword"
return