A game created for the Godot Wild Jam #21
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
191B

  1. extends Node2D
  2. export var next_level:String = ""
  3. signal exit_level;
  4. func _on_Area2D_body_entered(body):
  5. if body.is_in_group("Player"):
  6. emit_signal("exit_level", self, body, next_level)