summaryrefslogtreecommitdiff
path: root/client/menu/main.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu/main.tscn')
-rw-r--r--client/menu/main.tscn117
1 files changed, 117 insertions, 0 deletions
diff --git a/client/menu/main.tscn b/client/menu/main.tscn
new file mode 100644
index 00000000..b36e1ddb
--- /dev/null
+++ b/client/menu/main.tscn
@@ -0,0 +1,117 @@
+[gd_scene load_steps=8 format=3 uid="uid://dbj8508whxgwv"]
+
+[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="1_3qfu3"]
+[ext_resource type="Script" path="res://menu/main.gd" id="2_xjnc3"]
+[ext_resource type="PackedScene" uid="uid://l4vm07dtda4j" path="res://menu/menu_background.tscn" id="3_4evao"]
+[ext_resource type="Material" uid="uid://beea1pc5nt67r" path="res://menu/theme/dark_blur_material.tres" id="4_wf51p"]
+[ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/theme/font-sansita-swashed.woff2" id="5_k7bqq"]
+
+[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ukani"]
+
+[sub_resource type="FontVariation" id="FontVariation_htgmg"]
+base_font = ExtResource("5_k7bqq")
+variation_embolden = 0.5
+
+[node name="MainMenu" type="Control"]
+layout_mode = 3
+anchors_preset = 15
+anchor_right = 1.0
+anchor_bottom = 1.0
+grow_horizontal = 2
+grow_vertical = 2
+theme = ExtResource("1_3qfu3")
+script = ExtResource("2_xjnc3")
+
+[node name="MenuBackground" parent="." instance=ExtResource("3_4evao")]
+
+[node name="side" type="PanelContainer" parent="."]
+material = ExtResource("4_wf51p")
+layout_mode = 1
+anchors_preset = 9
+anchor_bottom = 1.0
+offset_right = 340.0
+grow_vertical = 2
+theme_override_styles/panel = SubResource("StyleBoxFlat_ukani")
+
+[node name="margin" type="MarginContainer" parent="side"]
+layout_mode = 2
+theme_override_constants/margin_left = 20
+theme_override_constants/margin_top = 20
+theme_override_constants/margin_right = 20
+theme_override_constants/margin_bottom = 20
+
+[node name="options" type="VBoxContainer" parent="side/margin"]
+layout_mode = 2
+
+[node name="title" type="Label" parent="side/margin/options"]
+layout_mode = 2
+auto_translate = false
+theme_override_colors/font_outline_color = Color(0.566408, 0.208917, 0.266045, 1)
+theme_override_constants/outline_size = 10
+theme_override_fonts/font = SubResource("FontVariation_htgmg")
+theme_override_font_sizes/font_size = 48
+text = "Undercooked"
+
+[node name="spacer" type="Control" parent="side/margin/options"]
+custom_minimum_size = Vector2(0, 10)
+layout_mode = 2
+
+[node name="quick_connect" type="Button" parent="side/margin/options"]
+layout_mode = 2
+text = "Quick Connect"
+alignment = 0
+
+[node name="connect" type="HBoxContainer" parent="side/margin/options"]
+layout_mode = 2
+
+[node name="uri" type="LineEdit" parent="side/margin/options/connect"]
+layout_mode = 2
+size_flags_horizontal = 3
+auto_translate = false
+placeholder_text = "wss://example.org"
+
+[node name="connect" type="Button" parent="side/margin/options/connect"]
+layout_mode = 2
+text = "Connect"
+
+[node name="change_character" type="Button" parent="side/margin/options"]
+layout_mode = 2
+text = "My Chef"
+alignment = 0
+
+[node name="settings" type="Button" parent="side/margin/options"]
+layout_mode = 2
+text = "Settings"
+alignment = 0
+
+[node name="server" type="HBoxContainer" parent="side/margin/options"]
+layout_mode = 2
+
+[node name="control" type="Button" parent="side/margin/options/server"]
+layout_mode = 2
+size_flags_horizontal = 3
+text = "Server"
+alignment = 0
+
+[node name="connect" type="Button" parent="side/margin/options/server"]
+layout_mode = 2
+text = "Connect"
+
+[node name="credits" type="Button" parent="side/margin/options"]
+layout_mode = 2
+text = "Credits"
+alignment = 0
+
+[node name="quit" type="Button" parent="side/margin/options"]
+layout_mode = 2
+text = "Quit"
+alignment = 0
+
+[connection signal="pressed" from="side/margin/options/quick_connect" to="." method="_on_quick_connect_pressed"]
+[connection signal="pressed" from="side/margin/options/connect/connect" to="." method="_on_connect_pressed"]
+[connection signal="pressed" from="side/margin/options/change_character" to="." method="_on_change_character_pressed"]
+[connection signal="pressed" from="side/margin/options/settings" to="." method="_on_settings_pressed"]
+[connection signal="pressed" from="side/margin/options/server/control" to="." method="_on_server_pressed"]
+[connection signal="pressed" from="side/margin/options/server/connect" to="." method="_on_server_connect_pressed"]
+[connection signal="pressed" from="side/margin/options/credits" to="." method="_on_credits_pressed"]
+[connection signal="pressed" from="side/margin/options/quit" to="." method="_on_quit_pressed"]