add eart
All checks were successful
CI / build (pull_request) Successful in 2m48s

This commit is contained in:
ultrablob 2025-02-05 21:15:12 -05:00
parent 8cb01d7918
commit 4ea08b1c5f
29 changed files with 697 additions and 17 deletions

View file

@ -24,14 +24,14 @@ func _input(event):
if num_quares >= max_quares:
notifier.notify("All Quares in Use!")
return
for child in $"../".get_node("%Ability").get_children():
if child.value == 0 and not child.animating:
child.value = 100
break
if not $"../CollisionCheck".is_clear(get_global_mouse_position(), 60):
$"../CollisionCheck".flash()
notifier.notify("Too Close!")
return
for child in $"../".get_node("%Ability").get_children():
if child.value == 0 and not child.animating:
child.value = 100
num_quares += 1
var new_quare = quare.instantiate()
new_quare.position = get_global_mouse_position()