LD46/portals/LadderEater.gd

11 lines
223 B
GDScript3
Raw Normal View History

extends Node2D
func _ready():
pass
func _process(delta):
# For now, just delete everything. EVERYTHING.
for object in $EatZone.get_overlapping_bodies():
object.get_parent().remove_child(object)
object.queue_free()