From 5ab0883cdb7b44e54bb0a7bb7d22dc912d32506d Mon Sep 17 00:00:00 2001 From: pennyrigate Date: Fri, 30 Jun 2023 05:59:36 -0400 Subject: [PATCH] bubbles take a second before they can pop --- objects/environment/bubble/bubble.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/objects/environment/bubble/bubble.gd b/objects/environment/bubble/bubble.gd index 7263c73..cc7547e 100644 --- a/objects/environment/bubble/bubble.gd +++ b/objects/environment/bubble/bubble.gd @@ -18,6 +18,7 @@ func _physics_process(delta): func pop(): sprite.frame_coords.y = 1 + $CollisionShape2D.queue_free() speed = 0.0 get_tree().create_timer(0.5, false).connect("timeout", self, "queue_free")