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.

22 lines
454B

  1. extends Node2D
  2. signal exit_level
  3. func is_main_menu():
  4. return false
  5. func get_starting_position():
  6. return get_node("Player_Start").position
  7. func get_level_music():
  8. return "Fly.ogg"
  9. func _on_Exit_exit_level(exit, body, next_level):
  10. emit_signal("exit_level", exit, body, next_level)
  11. func _on_ExitVortex_exit_level(exit, body, next_level):
  12. # Different exit vortex than the signal handler above.
  13. emit_signal("exit_level", exit, body, next_level)