added cool animation to springs

This commit is contained in:
zoe 2021-10-18 13:25:09 +02:00
parent 7b67b3aef6
commit a88727b2d8
13 changed files with 267 additions and 47 deletions

View file

@ -0,0 +1,11 @@
extends AnimatedSprite
var ready_for_delete = false
func play_backwards():
if ready_for_delete:
queue_free()
else:
play("despawn")
ready_for_delete = true