apples om nom
This commit is contained in:
parent
2c512d5764
commit
ba4ede05fa
6 changed files with 68 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue