summaryrefslogtreecommitdiff
path: root/scenes/pausemenu.tscn
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2023-02-02 02:52:52 -0700
committerLogan <logan@cflip.net>2023-02-02 02:52:52 -0700
commit818f5ef03baa353b96aadd5b100c1f6ca6b7fedb (patch)
tree0b48664d94de5a07198ca5c3088adc7a6dfee7e3 /scenes/pausemenu.tscn
parentf77c7cca424bf28c0c412c9612bc976dfaf612a5 (diff)
Improve characteristics of pausemenu
Diffstat (limited to 'scenes/pausemenu.tscn')
-rw-r--r--scenes/pausemenu.tscn24
1 files changed, 17 insertions, 7 deletions
diff --git a/scenes/pausemenu.tscn b/scenes/pausemenu.tscn
index 18a9d60..e23e95c 100644
--- a/scenes/pausemenu.tscn
+++ b/scenes/pausemenu.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=10 format=2]
+[gd_scene load_steps=11 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]
@@ -9,10 +9,12 @@
[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]
+[ext_resource path="res://theme_data/interface_theme.tres" type="Theme" id=10]
[node name="PauseMenu" type="Control"]
margin_right = 214.0
margin_bottom = 120.0
+theme = ExtResource( 10 )
script = ExtResource( 1 )
[node name="ColorRect" type="ColorRect" parent="."]
@@ -23,14 +25,15 @@ __meta__ = {
"_edit_use_anchors_": true
}
-[node name="PauseLabel" type="Label" parent="."]
+[node name="Panel" type="Panel" parent="."]
anchor_left = 0.5
+anchor_top = 0.5
anchor_right = 0.5
-margin_left = -24.0
-margin_right = 24.0
-margin_bottom = 16.0
-custom_colors/font_color_shadow = Color( 0.270588, 0.294118, 0.443137, 1 )
-text = "PAUSED"
+anchor_bottom = 0.5
+margin_left = -43.0
+margin_top = -26.0
+margin_right = 43.0
+margin_bottom = 13.0
[node name="HoverLabel" type="Label" parent="."]
anchor_left = 0.5
@@ -41,6 +44,7 @@ margin_left = -38.0
margin_top = -25.0
margin_right = 38.0
margin_bottom = -9.0
+text = "PAUSED"
align = 1
valign = 1
@@ -81,7 +85,13 @@ margin_bottom = 16.0
texture_normal = ExtResource( 7 )
texture_hover = ExtResource( 6 )
+[connection signal="mouse_entered" from="ColorRect" to="." method="_on_ColorRect_mouse_entered"]
+[connection signal="mouse_entered" from="Panel" to="." method="_on_Panel_mouse_entered"]
+[connection signal="mouse_entered" from="HBoxContainer/RestartButton" to="." method="_on_RestartButton_mouse_entered"]
[connection signal="pressed" from="HBoxContainer/RestartButton" to="." method="_on_RestartButton_pressed"]
+[connection signal="mouse_entered" from="HBoxContainer/OptionsButton" to="." method="_on_OptionsButton_mouse_entered"]
[connection signal="pressed" from="HBoxContainer/OptionsButton" to="." method="_on_OptionsButton_pressed"]
+[connection signal="mouse_entered" from="HBoxContainer/HelpButton" to="." method="_on_HelpButton_mouse_entered"]
[connection signal="pressed" from="HBoxContainer/HelpButton" to="." method="_on_HelpButton_pressed"]
+[connection signal="mouse_entered" from="HBoxContainer/QuitButton" to="." method="_on_QuitButton_mouse_entered"]
[connection signal="pressed" from="HBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]