aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/game.tscn
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Nodes/game.tscn40
1 files changed, 25 insertions, 15 deletions
diff --git a/Nodes/game.tscn b/Nodes/game.tscn
index 5187a55..e97ba1b 100644
--- a/Nodes/game.tscn
+++ b/Nodes/game.tscn
@@ -1,9 +1,12 @@
-[gd_scene load_steps=3 format=3 uid="uid://cu0s2nljmac8c"]
+[gd_scene load_steps=4 format=3 uid="uid://cu0s2nljmac8c"]
[ext_resource type="Script" path="res://Scripts/game.gd" id="1_1dait"]
[sub_resource type="AudioStream" id="AudioStream_n3sou"]
+[sub_resource type="LabelSettings" id="LabelSettings_ylef8"]
+font_size = 64
+
[node name="Game" type="Node2D"]
script = ExtResource("1_1dait")
@@ -29,7 +32,11 @@ anchor_bottom = 0.5
text = "Finished
"
-[node name="PausePopup" type="Control" parent="."]
+[node name="LoadedLevel" type="Node2D" parent="."]
+
+[node name="CanvasLayer" type="CanvasLayer" parent="."]
+
+[node name="PausePopup" type="Control" parent="CanvasLayer"]
process_mode = 2
visible = false
layout_mode = 3
@@ -39,38 +46,41 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
-[node name="Panel" type="Panel" parent="PausePopup"]
+[node name="Panel" type="Panel" parent="CanvasLayer/PausePopup"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
-[node name="Label" type="Label" parent="PausePopup/Panel"]
+[node name="Label" type="Label" parent="CanvasLayer/PausePopup/Panel"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 0.3
text = "Game is Paused"
+label_settings = SubResource("LabelSettings_ylef8")
+horizontal_alignment = 1
+vertical_alignment = 1
-[node name="VBoxContainer" type="VBoxContainer" parent="PausePopup/Panel"]
-layout_mode = 0
+[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/PausePopup/Panel"]
+layout_mode = 1
+anchors_preset = -1
+anchor_left = 0.3
anchor_top = 0.3
-anchor_right = 1.0
+anchor_right = 0.7
anchor_bottom = 1.0
alignment = 1
-[node name="ResumeButton" type="Button" parent="PausePopup/Panel/VBoxContainer"]
+[node name="ResumeButton" type="Button" parent="CanvasLayer/PausePopup/Panel/VBoxContainer"]
layout_mode = 2
text = "Resume"
-[node name="MainMenuButton" type="Button" parent="PausePopup/Panel/VBoxContainer"]
+[node name="MainMenuButton" type="Button" parent="CanvasLayer/PausePopup/Panel/VBoxContainer"]
layout_mode = 2
text = "Main Menu"
-[node name="QuitButton" type="Button" parent="PausePopup/Panel/VBoxContainer"]
+[node name="QuitButton" type="Button" parent="CanvasLayer/PausePopup/Panel/VBoxContainer"]
layout_mode = 2
text = "Quit"
-[node name="LoadedLevel" type="Node2D" parent="."]
-
-[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/ResumeButton" to="." method="_on_ResumeButton_pressed"]
-[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/MainMenuButton" to="." method="_on_MainMenuButton_pressed"]
-[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]
+[connection signal="pressed" from="CanvasLayer/PausePopup/Panel/VBoxContainer/ResumeButton" to="." method="_on_ResumeButton_pressed"]
+[connection signal="pressed" from="CanvasLayer/PausePopup/Panel/VBoxContainer/MainMenuButton" to="." method="_on_MainMenuButton_pressed"]
+[connection signal="pressed" from="CanvasLayer/PausePopup/Panel/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]