pir-serious-game-ethics/scenes/MainMenu.gd

19 lines
278 B
GDScript3
Raw Normal View History

2021-04-10 18:29:03 +02:00
extends Control
func load_main_game():
get_tree().change_scene("res://scenes/Main.tscn")
func _on_NewGameButton_pressed():
2021-04-12 10:59:06 +02:00
Dialogic.reset_saves()
2021-04-10 18:29:03 +02:00
load_main_game()
func _on_ContinueButton_pressed():
load_main_game()
func _on_ExitButton_pressed():
get_tree().quit(0)