BRICK CODE
Kandif
swift
2 years ago
219 B
100
Indexable
extends StaticBody2D
func remove_brick() :
$Sprite2D.queue_free()
$CollisionShape2D.queue_free()
$CPUParticles2D.emitting = true
$Timer.start()
remove_from_group("brick")
func _on_timer_timeout() :
queue_free()
Editor is loading...