[gd_scene load_steps=6 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] [node name="Menu" type="Control"] margin_right = 214.0 margin_bottom = 120.0 script = ExtResource( 1 ) [node name="ColorRect" type="ColorRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 color = Color( 0, 0, 0, 0.54902 ) [node name="Label" type="Label" parent="."] anchor_left = 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" [node name="Control" type="Control" parent="."] margin_right = 428.0 margin_bottom = 240.0 rect_scale = Vector2( 0.5, 0.5 ) [node name="HBoxContainer" type="HBoxContainer" parent="Control"] 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 [node name="RestartButton" type="TextureButton" parent="Control/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"] 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="QuitButton" type="Button" parent="Control/VBoxContainer"] margin_top = 26.0 margin_right = 100.0 margin_bottom = 48.0 text = "Quit" [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"]