legacy-of-the-ancient-questor/scripts/title/title_screen.gd

8 lines
141 B
GDScript

extends Control
func _on_new_game_button_pressed():
GameManager.startNewGame()
Loader.loadScene(self, "res://scenes/game_screen.tscn")