Added a win screen

This commit is contained in:
Paul Norberger
2020-04-21 01:02:26 +02:00
parent 126c4245dd
commit 840641ab85
2 changed files with 139 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
extends Node2D
export(String, FILE, "*.tscn,*.scn") var restart_scene = ""
export(String, FILE, "*.tscn,*.scn") var title_screen = ""
func _on_Restart_pressed():
get_tree().change_scene(restart_scene)
func _on_TitleScreen_pressed():
get_tree().change_scene(title_screen)