pir-serious-game-ethics/scenes/MainMenu.gd
2021-04-12 10:26:50 +02:00

18 lines
279 B
GDScript

extends Control
func load_main_game():
get_tree().change_scene("res://scenes/Main.tscn")
func _on_NewGameButton_pressed():
# Dialogic.reset_saves()
load_main_game()
func _on_ContinueButton_pressed():
load_main_game()
func _on_ExitButton_pressed():
get_tree().quit(0)