bubbles take a second before they can pop

This commit is contained in:
pennyrigate 2023-06-30 05:59:36 -04:00
parent cdaa5f84bd
commit 5ab0883cdb

View file

@ -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")