From fb375e43e932013650128447c49c4cd315c94003 Mon Sep 17 00:00:00 2001 From: MarcEricMartel Date: Wed, 12 Oct 2022 20:43:46 -0400 Subject: [PATCH] Hell yeah --- Levels/Level09.gd | 1 + Scenes/End.tscn | 4 ++-- Start.gd | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Levels/Level09.gd b/Levels/Level09.gd index 112b83e..642a477 100644 --- a/Levels/Level09.gd +++ b/Levels/Level09.gd @@ -25,4 +25,5 @@ func _on_Enemy_dying(): func _on_Win_timeout(): get_tree().change_scene(NEXTSCENE) + diff --git a/Scenes/End.tscn b/Scenes/End.tscn index 324448e..1bee4f5 100644 --- a/Scenes/End.tscn +++ b/Scenes/End.tscn @@ -30,8 +30,8 @@ margin_right = 40.0 margin_bottom = 40.0 [node name="ColorRect" type="ColorRect" parent="Control"] -margin_right = 1916.0 -margin_bottom = 1084.0 +margin_right = 1979.0 +margin_bottom = 1136.0 color = Color( 0.109804, 0.054902, 0.054902, 1 ) [node name="Title" type="Label" parent="Control"] diff --git a/Start.gd b/Start.gd index 01475c8..dfca7d3 100644 --- a/Start.gd +++ b/Start.gd @@ -37,7 +37,9 @@ func _ready(): Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE) 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(): get_parent().hide()