added springs

This commit is contained in:
zoe 2021-10-16 19:33:30 +02:00
parent 62762082f7
commit e08c2c3ef2
19 changed files with 201 additions and 16 deletions

View file

@ -0,0 +1,16 @@
extends StaticBody2D
func _ready() -> void:
position = Vector2(0, 184)
func explode():
queue_free()
func make_green():
for child in get_children():
if child.has_method("animate"):
child.animate()
$DeathTimer.start()
func spring():
pass