bidirectional damage

This commit is contained in:
Page Asgardius 2024-06-17 14:08:25 -07:00
parent 0f970b3d7a
commit 7eb094280f
12 changed files with 74 additions and 20 deletions

View file

@ -132,6 +132,7 @@ func _pausemenu():
get_tree().root.remove_child(pmenu)
get_tree().root.add_child.call_deferred(bhud)
ispaused = false
pmenu = load("res://levels/ui/pause.tscn").instantiate()
Global.live = 1
func _exit():
Global.exitgame = false

View file

@ -10,8 +10,8 @@ func _ready():
cnf = $CanvasLayer/HBoxContainer/VBoxContainer/Cname
chealthf = $CanvasLayer/HBoxContainer/VBoxContainer/HBoxContainer/Label2
clevel = $CanvasLayer/HBoxContainer/VBoxContainer/HBoxContainer2/Label2
_fetchdata()
$CanvasLayer/HBoxContainer2/VBoxContainer2/Exit.grab_focus()
_fetchdata()
#pass # Replace with function body.

View file

@ -45,5 +45,4 @@ func _input(event):
if isboss:
Global.bossready = true
Global.live = 1
Global.cdialog = []
press = false