2021-02-21 17:39:36 +01:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2019-12-20 14:28:26 +01:00
|
|
|
|
|
|
|
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1]
|
|
|
|
[ext_resource path="res://ui/options/Options.tscn" type="PackedScene" id=2]
|
|
|
|
[ext_resource path="res://ui/ingame_menu/ExitButton.gd" type="Script" id=3]
|
|
|
|
[ext_resource path="res://ui/keybinds/Keybinds.tscn" type="PackedScene" id=4]
|
2021-02-21 17:39:36 +01:00
|
|
|
[ext_resource path="res://ui/interface/InterfaceOptions.tscn" type="PackedScene" id=5]
|
2019-12-20 14:28:26 +01:00
|
|
|
|
|
|
|
[node name="IngameMenu" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
mouse_filter = 2
|
|
|
|
theme = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Menu" type="PanelContainer" parent="."]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -77.0
|
|
|
|
margin_top = -51.0
|
|
|
|
margin_right = 78.0
|
|
|
|
margin_bottom = 51.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Menu"]
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 151.0
|
2021-02-21 17:39:36 +01:00
|
|
|
margin_bottom = 166.0
|
2019-12-20 14:28:26 +01:00
|
|
|
|
|
|
|
[node name="Resume" type="Button" parent="Menu/VBoxContainer"]
|
|
|
|
margin_right = 147.0
|
2020-07-08 23:25:40 +02:00
|
|
|
margin_bottom = 26.5702
|
2019-12-20 14:28:26 +01:00
|
|
|
text = "Resume"
|
|
|
|
|
|
|
|
[node name="Keybinds" type="Button" parent="Menu/VBoxContainer"]
|
|
|
|
margin_top = 34.0
|
|
|
|
margin_right = 147.0
|
2020-07-08 23:25:40 +02:00
|
|
|
margin_bottom = 60.5702
|
2019-12-20 14:28:26 +01:00
|
|
|
text = "Keybinds"
|
|
|
|
|
2021-02-21 17:39:36 +01:00
|
|
|
[node name="Interface" type="Button" parent="Menu/VBoxContainer"]
|
2019-12-20 14:28:26 +01:00
|
|
|
margin_top = 68.0
|
|
|
|
margin_right = 147.0
|
2020-07-08 23:25:40 +02:00
|
|
|
margin_bottom = 94.5702
|
2021-02-21 17:39:36 +01:00
|
|
|
text = "Interface"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-12-20 14:28:26 +01:00
|
|
|
|
2021-02-21 17:39:36 +01:00
|
|
|
[node name="Options" type="Button" parent="Menu/VBoxContainer"]
|
2019-12-20 14:28:26 +01:00
|
|
|
margin_top = 102.0
|
|
|
|
margin_right = 147.0
|
2020-07-08 23:25:40 +02:00
|
|
|
margin_bottom = 128.57
|
2021-02-21 17:39:36 +01:00
|
|
|
text = "Options"
|
|
|
|
|
|
|
|
[node name="Exit" type="Button" parent="Menu/VBoxContainer"]
|
|
|
|
margin_top = 136.0
|
|
|
|
margin_right = 147.0
|
|
|
|
margin_bottom = 162.57
|
2019-12-20 14:28:26 +01:00
|
|
|
text = "Exit"
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="Options" parent="." instance=ExtResource( 2 )]
|
|
|
|
visible = false
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -307.0
|
|
|
|
margin_top = -220.0
|
|
|
|
margin_right = 307.0
|
|
|
|
margin_bottom = 220.0
|
|
|
|
|
|
|
|
[node name="KeybindWindow" parent="." instance=ExtResource( 4 )]
|
|
|
|
visible = false
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -426.0
|
|
|
|
margin_top = -270.0
|
|
|
|
margin_right = 426.0
|
|
|
|
margin_bottom = 270.0
|
2021-02-21 17:39:36 +01:00
|
|
|
|
|
|
|
[node name="InterfaceOptions" parent="." instance=ExtResource( 5 )]
|
|
|
|
visible = false
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -331.0
|
|
|
|
margin_top = -224.5
|
|
|
|
margin_right = 331.0
|
|
|
|
margin_bottom = 224.5
|
|
|
|
|
2019-12-20 14:28:26 +01:00
|
|
|
[connection signal="pressed" from="Menu/VBoxContainer/Resume" to="." method="hide"]
|
|
|
|
[connection signal="pressed" from="Menu/VBoxContainer/Keybinds" to="KeybindWindow" method="show"]
|
2021-02-21 17:39:36 +01:00
|
|
|
[connection signal="pressed" from="Menu/VBoxContainer/Interface" to="InterfaceOptions" method="show"]
|
2019-12-20 14:28:26 +01:00
|
|
|
[connection signal="pressed" from="Menu/VBoxContainer/Options" to="Options" method="show"]
|