new input system, add pausing
All checks were successful
CI / build (push) Successful in 2m52s

This commit is contained in:
Ultrablob 2025-02-07 13:37:10 -05:00
parent 4a31db6411
commit 88c05bbd8c
21 changed files with 194 additions and 75 deletions

View file

@ -20,7 +20,7 @@ func _ready():
absolute_movement = not config.get_value("config", "relative_controls")
func _input(event):
if event.is_action_pressed("quare"):
if event.is_action_pressed("primary_fire"):
if num_quares >= max_quares:
notifier.notify("All Quares in Use!")
return
@ -37,7 +37,7 @@ func _input(event):
new_quare.position = get_global_mouse_position()
$/root/Node2D.add_child(new_quare)
new_quare.name = "Quare"
if event.is_action_pressed("exagon"):
if event.is_action_pressed("secondary_fire"):
if exagons > 1:
exagons = 1
if exagons <= 0: