apples om nom

This commit is contained in:
Tabby 2025-08-15 15:12:02 +10:00
parent 2c512d5764
commit ba4ede05fa
6 changed files with 68 additions and 2 deletions

View file

@ -67,6 +67,7 @@ func _on_eat_die_box_area_entered(area: Area2D) -> void:
if(area.is_in_group("apple")):
area.queue_free()
print("mmm tasty apple")
Router.eat_apple.emit()
if(area.is_in_group("wall")):
print("i die")
get_tree().get_root().process_mode = Node.PROCESS_MODE_DISABLED