Hell yeah

This commit is contained in:
MarcEricMartel 2022-10-12 20:43:46 -04:00
parent 04752f1ea7
commit fb375e43e9
3 changed files with 6 additions and 3 deletions

View File

@ -26,3 +26,4 @@ func _on_Enemy_dying():
func _on_Win_timeout(): func _on_Win_timeout():
get_tree().change_scene(NEXTSCENE) get_tree().change_scene(NEXTSCENE)

View File

@ -30,8 +30,8 @@ margin_right = 40.0
margin_bottom = 40.0 margin_bottom = 40.0
[node name="ColorRect" type="ColorRect" parent="Control"] [node name="ColorRect" type="ColorRect" parent="Control"]
margin_right = 1916.0 margin_right = 1979.0
margin_bottom = 1084.0 margin_bottom = 1136.0
color = Color( 0.109804, 0.054902, 0.054902, 1 ) color = Color( 0.109804, 0.054902, 0.054902, 1 )
[node name="Title" type="Label" parent="Control"] [node name="Title" type="Label" parent="Control"]

View File

@ -37,7 +37,9 @@ func _ready():
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE) Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
func _on_Quit_to_Desktop_Button_pressed(): func _on_Quit_to_Desktop_Button_pressed():
get_tree().quit() Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
get_tree().paused = false
get_tree().change_scene("res://Scenes/End.tscn")
func _on_New_Game_pressed(): func _on_New_Game_pressed():
get_parent().hide() get_parent().hide()