123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- [gd_scene load_steps=3 format=2]
- [ext_resource path="res://Scripts/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_left = 0.0
- anchor_top = 0.0
- anchor_right = 1.0
- anchor_bottom = 1.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 0
- mouse_default_cursor_shape = 0
- size_flags_horizontal = 1
- size_flags_vertical = 1
- script = ExtResource( 1 )
- [node name="Menu" type="VBoxContainer" parent="." index="0"]
- anchor_left = 0.5
- anchor_top = 0.0
- anchor_right = 0.5
- anchor_bottom = 0.0
- margin_left = -160.0
- margin_top = 200.0
- margin_right = 160.0
- margin_bottom = 200.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 1
- mouse_default_cursor_shape = 0
- size_flags_horizontal = 1
- size_flags_vertical = 1
- alignment = 0
- _sections_unfolded = [ "Margin" ]
- [node name="Title" type="Label" parent="Menu" index="0"]
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 0.0
- anchor_bottom = 0.0
- margin_right = 320.0
- margin_bottom = 48.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 2
- mouse_default_cursor_shape = 0
- size_flags_horizontal = 1
- size_flags_vertical = 4
- custom_fonts/font = ExtResource( 2 )
- custom_colors/font_color = Color( 0.925842, 1, 0.0507812, 1 )
- text = "game paused"
- align = 1
- percent_visible = 1.0
- lines_skipped = 0
- max_lines_visible = -1
- _sections_unfolded = [ "Margin", "custom_colors", "custom_fonts" ]
- [node name="ResumeGameButton" type="Button" parent="Menu" index="1"]
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 0.0
- anchor_bottom = 0.0
- margin_top = 52.0
- margin_right = 320.0
- margin_bottom = 97.0
- rect_min_size = Vector2( 0, 45 )
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- focus_mode = 2
- mouse_filter = 0
- mouse_default_cursor_shape = 0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- toggle_mode = false
- enabled_focus_mode = 2
- shortcut = null
- group = null
- flat = false
- align = 1
- _sections_unfolded = [ "Rect", "Size Flags" ]
- [node name="resume" type="Label" parent="Menu/ResumeGameButton" index="0"]
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 1.0
- anchor_bottom = 1.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 2
- mouse_default_cursor_shape = 0
- size_flags_horizontal = 1
- size_flags_vertical = 4
- 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
- percent_visible = 1.0
- lines_skipped = 0
- max_lines_visible = -1
- _sections_unfolded = [ "custom_colors", "custom_constants", "custom_fonts" ]
- [node name="RestartGameButton" type="Button" parent="Menu" index="2"]
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 0.0
- anchor_bottom = 0.0
- margin_top = 101.0
- margin_right = 320.0
- margin_bottom = 146.0
- rect_min_size = Vector2( 0, 45 )
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- focus_mode = 2
- mouse_filter = 0
- mouse_default_cursor_shape = 0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- toggle_mode = false
- enabled_focus_mode = 2
- shortcut = null
- group = null
- flat = false
- align = 1
- _sections_unfolded = [ "Grow Direction", "Margin", "Rect", "Size Flags" ]
- [node name="restart" type="Label" parent="Menu/RestartGameButton" index="0"]
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 1.0
- anchor_bottom = 1.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 2
- mouse_default_cursor_shape = 0
- size_flags_horizontal = 1
- size_flags_vertical = 4
- 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 = "restart"
- align = 1
- valign = 1
- percent_visible = 1.0
- lines_skipped = 0
- max_lines_visible = -1
- _sections_unfolded = [ "custom_colors", "custom_constants", "custom_fonts" ]
- [node name="ExitGameButton" type="Button" parent="Menu" index="3"]
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 0.0
- anchor_bottom = 0.0
- margin_top = 150.0
- margin_right = 320.0
- margin_bottom = 195.0
- rect_min_size = Vector2( 0, 45 )
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- focus_mode = 2
- mouse_filter = 0
- mouse_default_cursor_shape = 0
- size_flags_horizontal = 3
- size_flags_vertical = 3
- toggle_mode = false
- enabled_focus_mode = 2
- shortcut = null
- group = null
- flat = false
- align = 1
- _sections_unfolded = [ "Rect", "Size Flags" ]
- [node name="exit" type="Label" parent="Menu/ExitGameButton" index="0"]
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 1.0
- anchor_bottom = 1.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 2
- mouse_default_cursor_shape = 0
- size_flags_horizontal = 1
- size_flags_vertical = 4
- 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
- percent_visible = 1.0
- lines_skipped = 0
- max_lines_visible = -1
- _sections_unfolded = [ "custom_colors", "custom_constants", "custom_fonts" ]
- [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"]
|