1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- [gd_scene load_steps=3 format=2]
- [ext_resource path="res://UI/PauseGameMenu.gd" type="Script" id=1]
- [ext_resource path="res://Fonts/hanken/hanken_48.tres" type="DynamicFont" id=2]
- [node name="PauseGameMenu" type="Control"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- script = ExtResource( 1 )
- [node name="Menu" type="VBoxContainer" parent="."]
- anchor_left = 0.5
- anchor_right = 0.5
- margin_left = -160.0
- margin_top = 200.0
- margin_right = 160.0
- margin_bottom = 200.0
- [node name="Title" type="Label" parent="Menu"]
- margin_right = 320.0
- margin_bottom = 48.0
- custom_fonts/font = ExtResource( 2 )
- custom_colors/font_color = Color( 0.925842, 1, 0.0507812, 1 )
- text = "game paused"
- align = 1
- [node name="ResumeGameButton" type="Button" parent="Menu"]
- margin_top = 52.0
- margin_right = 320.0
- margin_bottom = 97.0
- rect_min_size = Vector2( 0, 45 )
- size_flags_horizontal = 3
- size_flags_vertical = 3
- [node name="resume" type="Label" parent="Menu/ResumeGameButton"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- custom_fonts/font = ExtResource( 2 )
- custom_colors/font_color = Color( 0.892081, 0.914062, 0.210663, 1 )
- custom_colors/font_color_shadow = Color( 0.152344, 0.111877, 0.111877, 1 )
- custom_constants/shadow_offset_x = 0
- custom_constants/shadow_offset_y = 0
- text = "resume"
- align = 1
- valign = 1
- [node name="RestartGameButton" type="Button" parent="Menu"]
- margin_top = 101.0
- margin_right = 320.0
- margin_bottom = 146.0
- rect_min_size = Vector2( 0, 45 )
- size_flags_horizontal = 3
- size_flags_vertical = 3
- [node name="restart" type="Label" parent="Menu/RestartGameButton"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- custom_fonts/font = ExtResource( 2 )
- custom_colors/font_color = Color( 0.892081, 0.914062, 0.210663, 1 )
- custom_colors/font_color_shadow = Color( 0.152344, 0.111877, 0.111877, 1 )
- custom_constants/shadow_offset_x = 0
- custom_constants/shadow_offset_y = 0
- text = "reset level"
- align = 1
- valign = 1
- [node name="ExitGameButton" type="Button" parent="Menu"]
- margin_top = 150.0
- margin_right = 320.0
- margin_bottom = 195.0
- rect_min_size = Vector2( 0, 45 )
- size_flags_horizontal = 3
- size_flags_vertical = 3
- [node name="exit" type="Label" parent="Menu/ExitGameButton"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- custom_fonts/font = ExtResource( 2 )
- custom_colors/font_color = Color( 0.892081, 0.914062, 0.210663, 1 )
- custom_colors/font_color_shadow = Color( 0.152344, 0.111877, 0.111877, 1 )
- custom_constants/shadow_offset_x = 0
- custom_constants/shadow_offset_y = 0
- text = "exit to menu"
- align = 1
- valign = 1
- [connection signal="pressed" from="Menu/ResumeGameButton" to="." method="_on_ResumeGameButton_pressed"]
- [connection signal="pressed" from="Menu/RestartGameButton" to="." method="_on_RestartGameButton_pressed"]
- [connection signal="pressed" from="Menu/ExitGameButton" to="." method="_on_ExitGameButton_pressed"]
|