forked from team-sg/hero-mark-2
bubbles take a second before they can pop
This commit is contained in:
parent
cdaa5f84bd
commit
5ab0883cdb
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue