|
| 1 | +[gd_scene load_steps=6 format=2] |
| 2 | + |
| 3 | +[ext_resource path="res://player/crosshair.svg" type="Texture" id=1] |
| 4 | +[ext_resource path="res://menu/theme/theme.tres" type="Theme" id=2] |
| 5 | +[ext_resource path="res://menu/options/options.tscn" type="PackedScene" id=3] |
| 6 | +[ext_resource path="res://menu/ingame/pause_menu.gd" type="Script" id=4] |
| 7 | +[ext_resource path="res://menu/button.png" type="Texture" id=5] |
| 8 | + |
| 9 | +[node name="PauseMenu" type="Control"] |
| 10 | +anchor_right = 1.0 |
| 11 | +anchor_bottom = 1.0 |
| 12 | +theme = ExtResource( 2 ) |
| 13 | +script = ExtResource( 4 ) |
| 14 | +__meta__ = { |
| 15 | +"_edit_use_anchors_": false |
| 16 | +} |
| 17 | + |
| 18 | +[node name="Crosshair" type="CenterContainer" parent="."] |
| 19 | +anchor_right = 1.0 |
| 20 | +anchor_bottom = 1.0 |
| 21 | +__meta__ = { |
| 22 | +"_edit_use_anchors_": false |
| 23 | +} |
| 24 | + |
| 25 | +[node name="TextureRect" type="TextureRect" parent="Crosshair"] |
| 26 | +margin_left = 784.0 |
| 27 | +margin_top = 434.0 |
| 28 | +margin_right = 816.0 |
| 29 | +margin_bottom = 466.0 |
| 30 | +texture = ExtResource( 1 ) |
| 31 | + |
| 32 | +[node name="Pause" type="VBoxContainer" parent="."] |
| 33 | +visible = false |
| 34 | +anchor_right = 1.0 |
| 35 | +anchor_bottom = 1.0 |
| 36 | +__meta__ = { |
| 37 | +"_edit_use_anchors_": false |
| 38 | +} |
| 39 | + |
| 40 | +[node name="ButtonHolder" type="HBoxContainer" parent="Pause"] |
| 41 | +margin_right = 1600.0 |
| 42 | +margin_bottom = 900.0 |
| 43 | +size_flags_vertical = 3 |
| 44 | +alignment = 1 |
| 45 | + |
| 46 | +[node name="MainButtons" type="VBoxContainer" parent="Pause/ButtonHolder"] |
| 47 | +margin_left = 608.0 |
| 48 | +margin_right = 992.0 |
| 49 | +margin_bottom = 900.0 |
| 50 | +custom_constants/separation = 20 |
| 51 | +alignment = 1 |
| 52 | + |
| 53 | +[node name="Resume" type="TextureButton" parent="Pause/ButtonHolder/MainButtons"] |
| 54 | +margin_top = 292.0 |
| 55 | +margin_right = 384.0 |
| 56 | +margin_bottom = 356.0 |
| 57 | +rect_min_size = Vector2( 384, 64 ) |
| 58 | +texture_normal = ExtResource( 5 ) |
| 59 | + |
| 60 | +[node name="Label" type="Label" parent="Pause/ButtonHolder/MainButtons/Resume"] |
| 61 | +anchor_right = 1.0 |
| 62 | +anchor_bottom = 1.0 |
| 63 | +margin_top = -1.0 |
| 64 | +margin_bottom = -18.0 |
| 65 | +text = "Resume Game" |
| 66 | +align = 1 |
| 67 | +valign = 1 |
| 68 | +__meta__ = { |
| 69 | +"_edit_use_anchors_": false |
| 70 | +} |
| 71 | + |
| 72 | +[node name="Options" type="TextureButton" parent="Pause/ButtonHolder/MainButtons"] |
| 73 | +margin_top = 376.0 |
| 74 | +margin_right = 384.0 |
| 75 | +margin_bottom = 440.0 |
| 76 | +rect_min_size = Vector2( 384, 64 ) |
| 77 | +texture_normal = ExtResource( 5 ) |
| 78 | + |
| 79 | +[node name="Label" type="Label" parent="Pause/ButtonHolder/MainButtons/Options"] |
| 80 | +anchor_right = 1.0 |
| 81 | +anchor_bottom = 1.0 |
| 82 | +margin_top = -1.0 |
| 83 | +margin_bottom = -18.0 |
| 84 | +text = "Options" |
| 85 | +align = 1 |
| 86 | +valign = 1 |
| 87 | +__meta__ = { |
| 88 | +"_edit_use_anchors_": false |
| 89 | +} |
| 90 | + |
| 91 | +[node name="MainMenu" type="TextureButton" parent="Pause/ButtonHolder/MainButtons"] |
| 92 | +margin_top = 460.0 |
| 93 | +margin_right = 384.0 |
| 94 | +margin_bottom = 524.0 |
| 95 | +rect_min_size = Vector2( 384, 64 ) |
| 96 | +texture_normal = ExtResource( 5 ) |
| 97 | + |
| 98 | +[node name="Label" type="Label" parent="Pause/ButtonHolder/MainButtons/MainMenu"] |
| 99 | +anchor_right = 1.0 |
| 100 | +anchor_bottom = 1.0 |
| 101 | +margin_top = -1.0 |
| 102 | +margin_bottom = -18.0 |
| 103 | +text = "Main Menu" |
| 104 | +align = 1 |
| 105 | +valign = 1 |
| 106 | +__meta__ = { |
| 107 | +"_edit_use_anchors_": false |
| 108 | +} |
| 109 | + |
| 110 | +[node name="Exit" type="TextureButton" parent="Pause/ButtonHolder/MainButtons"] |
| 111 | +margin_top = 544.0 |
| 112 | +margin_right = 384.0 |
| 113 | +margin_bottom = 608.0 |
| 114 | +rect_min_size = Vector2( 384, 64 ) |
| 115 | +texture_normal = ExtResource( 5 ) |
| 116 | + |
| 117 | +[node name="Label" type="Label" parent="Pause/ButtonHolder/MainButtons/Exit"] |
| 118 | +anchor_right = 1.0 |
| 119 | +anchor_bottom = 1.0 |
| 120 | +margin_top = -1.0 |
| 121 | +margin_bottom = -18.0 |
| 122 | +text = "Exit Game" |
| 123 | +align = 1 |
| 124 | +valign = 1 |
| 125 | +__meta__ = { |
| 126 | +"_edit_use_anchors_": false |
| 127 | +} |
| 128 | + |
| 129 | +[node name="Options" parent="." instance=ExtResource( 3 )] |
| 130 | +[connection signal="pressed" from="Pause/ButtonHolder/MainButtons/Resume" to="." method="_on_Resume_pressed"] |
| 131 | +[connection signal="pressed" from="Pause/ButtonHolder/MainButtons/Options" to="." method="_on_Options_pressed"] |
| 132 | +[connection signal="pressed" from="Pause/ButtonHolder/MainButtons/MainMenu" to="." method="_on_MainMenu_pressed"] |
| 133 | +[connection signal="pressed" from="Pause/ButtonHolder/MainButtons/Exit" to="." method="_on_Exit_pressed"] |
0 commit comments