Public repository for MUR pre alpha
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.

20 lines
342 B

  1. extends Control
  2. var SettingsMenu = preload("res://scenes/menus/SettingsMenu.tscn")
  3. func _draw():
  4. find_node("resume").grab_focus()
  5. func _on_resume_pressed():
  6. hide()
  7. func _on_settings_pressed():
  8. var settings_menu = SettingsMenu.instance()
  9. get_parent().add_child(settings_menu)
  10. hide()
  11. func _on_end_pressed():
  12. gamestate.quit_game()