No Description
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.

MainMenu.gd 452B

1234567891011121314151617181920212223242526272829
  1. extends Control
  2. func _ready():
  3. Dialogic.set_autosave(true)
  4. func load_main_game():
  5. get_tree().change_scene("res://scenes/Main.tscn")
  6. func load_credits():
  7. get_tree().change_scene("res://scenes/Credits.tscn")
  8. func _on_NewGameButton_pressed():
  9. Dialogic.reset_saves()
  10. load_main_game()
  11. func _on_ContinueButton_pressed():
  12. load_main_game()
  13. func _on_ExitButton_pressed():
  14. get_tree().quit(0)
  15. func _on_CreditsButton_pressed():
  16. load_credits()