You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
4.5 KiB
128 lines
4.5 KiB
[gd_scene load_steps=6 format=3 uid="uid://jv30ao4ppc3h"] |
|
|
|
[ext_resource type="Theme" uid="uid://4tevy1my8joc" path="res://hud/theme/ui_theme.tres" id="1"] |
|
[ext_resource type="Script" uid="uid://bmeafg5lumxiy" path="res://hud/escape_menu/escape_menu.gd" id="2_d0mme"] |
|
[ext_resource type="PackedScene" uid="uid://bqvs0e08m6hug" path="res://hud/escape_menu/escape_menu_appearance.tscn" id="3_hj3go"] |
|
[ext_resource type="PackedScene" uid="uid://7jb7w5ef8aw2" path="res://hud/escape_menu/escape_menu_multiplayer.tscn" id="4_1g7ww"] |
|
[ext_resource type="PackedScene" uid="uid://uu2v0w84blem" path="res://hud/escape_menu/escape_menu_world.tscn" id="4_f42q7"] |
|
|
|
[node name="EscapeMenu" type="Control" node_paths=PackedStringArray("return_button")] |
|
process_mode = 3 |
|
layout_mode = 3 |
|
anchors_preset = 15 |
|
anchor_right = 1.0 |
|
anchor_bottom = 1.0 |
|
grow_horizontal = 2 |
|
grow_vertical = 2 |
|
theme = ExtResource("1") |
|
script = ExtResource("2_d0mme") |
|
return_button = NodePath("CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Return") |
|
|
|
[node name="Background" type="ColorRect" parent="."] |
|
layout_mode = 0 |
|
anchor_right = 1.0 |
|
anchor_bottom = 1.0 |
|
color = Color(0, 0, 0, 0.501961) |
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."] |
|
layout_mode = 1 |
|
anchors_preset = 15 |
|
anchor_right = 1.0 |
|
anchor_bottom = 1.0 |
|
grow_horizontal = 2 |
|
grow_vertical = 2 |
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="CenterContainer"] |
|
layout_mode = 2 |
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="CenterContainer/PanelContainer"] |
|
layout_mode = 2 |
|
theme_override_constants/margin_left = 4 |
|
theme_override_constants/margin_top = 4 |
|
theme_override_constants/margin_right = 4 |
|
theme_override_constants/margin_bottom = 4 |
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/PanelContainer/MarginContainer"] |
|
layout_mode = 2 |
|
|
|
[node name="Label" type="Label" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer"] |
|
custom_minimum_size = Vector2(0, 13) |
|
layout_mode = 2 |
|
text = "Escape Menu" |
|
horizontal_alignment = 1 |
|
vertical_alignment = 1 |
|
|
|
[node name="HSeparator" type="HSeparator" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer"] |
|
layout_mode = 2 |
|
|
|
[node name="TabContainer" type="TabContainer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer"] |
|
layout_mode = 2 |
|
size_flags_vertical = 3 |
|
theme_override_constants/side_margin = 0 |
|
current_tab = 1 |
|
use_hidden_tabs_for_min_size = true |
|
|
|
[node name="Appearance" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/TabContainer" instance=ExtResource("3_hj3go")] |
|
visible = false |
|
layout_mode = 2 |
|
|
|
[node name="Multiplayer" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/TabContainer" instance=ExtResource("4_1g7ww")] |
|
layout_mode = 2 |
|
|
|
[node name="World" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/TabContainer" instance=ExtResource("4_f42q7")] |
|
visible = false |
|
layout_mode = 2 |
|
|
|
[node name="HSeparator2" type="HSeparator" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer"] |
|
layout_mode = 2 |
|
|
|
[node name="Quit" type="Button" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer"] |
|
layout_mode = 2 |
|
text = " " |
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Quit"] |
|
layout_mode = 1 |
|
anchors_preset = 8 |
|
anchor_left = 0.5 |
|
anchor_top = 0.5 |
|
anchor_right = 0.5 |
|
anchor_bottom = 0.5 |
|
offset_left = -44.0 |
|
offset_top = -4.5 |
|
offset_right = 44.0 |
|
offset_bottom = 4.5 |
|
grow_horizontal = 2 |
|
grow_vertical = 2 |
|
mouse_filter = 1 |
|
bbcode_enabled = true |
|
text = "Quit Game [color=#999999](Alt+F4)[/color]" |
|
fit_content = true |
|
scroll_active = false |
|
autowrap_mode = 0 |
|
|
|
[node name="Return" type="Button" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer"] |
|
layout_mode = 2 |
|
text = " " |
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Return"] |
|
layout_mode = 1 |
|
anchors_preset = 8 |
|
anchor_left = 0.5 |
|
anchor_top = 0.5 |
|
anchor_right = 0.5 |
|
anchor_bottom = 0.5 |
|
offset_left = -49.5 |
|
offset_top = -4.5 |
|
offset_right = 49.5 |
|
offset_bottom = 4.5 |
|
grow_horizontal = 2 |
|
grow_vertical = 2 |
|
mouse_filter = 1 |
|
bbcode_enabled = true |
|
text = "Return to Game [color=#999999](Esc)[/color]" |
|
fit_content = true |
|
scroll_active = false |
|
autowrap_mode = 0 |
|
|
|
[connection signal="pressed" from="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Quit" to="." method="_on_quit_pressed"] |
|
[connection signal="pressed" from="CenterContainer/PanelContainer/MarginContainer/VBoxContainer/Return" to="." method="_on_return_pressed"]
|
|
|