summaryrefslogtreecommitdiff
path: root/scenes/pausemenu.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/pausemenu.tscn')
-rw-r--r--scenes/pausemenu.tscn79
1 files changed, 41 insertions, 38 deletions
diff --git a/scenes/pausemenu.tscn b/scenes/pausemenu.tscn
index abf2b28..68be4e6 100644
--- a/scenes/pausemenu.tscn
+++ b/scenes/pausemenu.tscn
@@ -1,12 +1,16 @@
-[gd_scene load_steps=6 format=2]
+[gd_scene load_steps=10 format=2]
[ext_resource path="res://scripts/pausemenu.gd" type="Script" id=1]
[ext_resource path="res://textures/options_hover.png" type="Texture" id=2]
[ext_resource path="res://textures/options.png" type="Texture" id=3]
[ext_resource path="res://textures/retry_hover.png" type="Texture" id=4]
[ext_resource path="res://textures/retry.png" type="Texture" id=5]
+[ext_resource path="res://textures/quit_hover.png" type="Texture" id=6]
+[ext_resource path="res://textures/quit.png" type="Texture" id=7]
+[ext_resource path="res://textures/help.png" type="Texture" id=8]
+[ext_resource path="res://textures/help_hover.png" type="Texture" id=9]
-[node name="Menu" type="Control"]
+[node name="PauseMenu" type="Control"]
margin_right = 214.0
margin_bottom = 120.0
script = ExtResource( 1 )
@@ -16,7 +20,7 @@ anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 0.54902 )
-[node name="Label" type="Label" parent="."]
+[node name="PauseLabel" type="Label" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -24.0
@@ -25,57 +29,56 @@ margin_bottom = 16.0
custom_colors/font_color_shadow = Color( 0.270588, 0.294118, 0.443137, 1 )
text = "PAUSED"
-[node name="Control" type="Control" parent="."]
-margin_right = 428.0
-margin_bottom = 240.0
-rect_scale = Vector2( 0.5, 0.5 )
+[node name="HoverLabel" type="Label" parent="."]
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+margin_left = -38.0
+margin_top = -25.0
+margin_right = 38.0
+margin_bottom = -9.0
+align = 1
+valign = 1
-[node name="HBoxContainer" type="HBoxContainer" parent="Control"]
+[node name="HBoxContainer" type="HBoxContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
-margin_left = -18.0
-margin_top = -38.0
-margin_right = 18.0
-margin_bottom = -22.0
+margin_left = -38.0
+margin_top = -8.0
+margin_right = 38.0
+margin_bottom = 8.0
-[node name="RestartButton" type="TextureButton" parent="Control/HBoxContainer"]
+[node name="RestartButton" type="TextureButton" parent="HBoxContainer"]
margin_right = 16.0
margin_bottom = 16.0
texture_normal = ExtResource( 5 )
texture_hover = ExtResource( 4 )
-[node name="OptionsButton" type="TextureButton" parent="Control/HBoxContainer"]
+[node name="OptionsButton" type="TextureButton" parent="HBoxContainer"]
margin_left = 20.0
margin_right = 36.0
margin_bottom = 16.0
texture_normal = ExtResource( 3 )
texture_hover = ExtResource( 2 )
-[node name="VBoxContainer" type="VBoxContainer" parent="Control"]
-anchor_left = 0.5
-anchor_top = 0.5
-anchor_right = 0.5
-anchor_bottom = 0.5
-margin_left = -50.0
-margin_top = -14.0
-margin_right = 50.0
-margin_bottom = 34.0
-
-[node name="HelpButton" type="Button" parent="Control/VBoxContainer"]
-margin_right = 100.0
-margin_bottom = 22.0
-disabled = true
-text = "Help"
+[node name="HelpButton" type="TextureButton" parent="HBoxContainer"]
+margin_left = 40.0
+margin_right = 56.0
+margin_bottom = 16.0
+texture_normal = ExtResource( 8 )
+texture_hover = ExtResource( 9 )
-[node name="QuitButton" type="Button" parent="Control/VBoxContainer"]
-margin_top = 26.0
-margin_right = 100.0
-margin_bottom = 48.0
-text = "Quit"
+[node name="QuitButton" type="TextureButton" parent="HBoxContainer"]
+margin_left = 60.0
+margin_right = 76.0
+margin_bottom = 16.0
+texture_normal = ExtResource( 7 )
+texture_hover = ExtResource( 6 )
-[connection signal="pressed" from="Control/HBoxContainer/RestartButton" to="." method="_on_RestartButton_pressed"]
-[connection signal="pressed" from="Control/HBoxContainer/OptionsButton" to="." method="_on_OptionsButton_pressed"]
-[connection signal="pressed" from="Control/VBoxContainer/HelpButton" to="." method="_on_HelpButton_pressed"]
-[connection signal="pressed" from="Control/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]
+[connection signal="pressed" from="HBoxContainer/RestartButton" to="." method="_on_RestartButton_pressed"]
+[connection signal="pressed" from="HBoxContainer/OptionsButton" to="." method="_on_OptionsButton_pressed"]
+[connection signal="pressed" from="HBoxContainer/HelpButton" to="." method="_on_HelpButton_pressed"]
+[connection signal="pressed" from="HBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]