Gameover menu

This commit is contained in:
Felipe M 2021-05-23 14:00:04 +02:00
parent 175bd597c5
commit b26c4a4be0
Signed by: fmartingr
GPG key ID: 716BC147715E716F
7 changed files with 80 additions and 1 deletions

View file

@ -0,0 +1,13 @@
extends CenterContainer
func _on_QuitButton_pressed():
SoundFx.play_fx("Click", 1, -30)
get_tree().quit()
func _on_LoadButton_pressed():
Music.list_stop()
SaverLoader.is_loading = true
SoundFx.play_fx("Click", 1, -30)
get_tree().change_scene("res://Scenes/World/World.tscn")