Gameover menu
This commit is contained in:
parent
175bd597c5
commit
b26c4a4be0
7 changed files with 80 additions and 1 deletions
13
metroidvania/Scenes/Menus/GameOverMenu.gd
Normal file
13
metroidvania/Scenes/Menus/GameOverMenu.gd
Normal 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")
|
Loading…
Add table
Add a link
Reference in a new issue