blob: 0b55f78e8ae6dec3cdca77fd2555f41d6da02c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
[gd_scene load_steps=8 format=3 uid="uid://c8url5fpttbem"]
[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="1_cckds"]
[ext_resource type="Script" path="res://menu/play.gd" id="2_phxx0"]
[ext_resource type="Material" uid="uid://2j8a0c0a2ta5" path="res://menu/theme/blur_material.tres" id="3_fsbt7"]
[ext_resource type="Script" path="res://menu/scroll_container_custom.gd" id="5_cm120"]
[ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/theme/font-sansita-swashed.woff2" id="5_ojpbf"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ukani"]
[sub_resource type="FontVariation" id="FontVariation_htgmg"]
base_font = ExtResource("5_ojpbf")
variation_embolden = 0.5
[node name="PlayMenu" 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_cckds")
script = ExtResource("2_phxx0")
support_anim = false
[node name="side" type="PanelContainer" parent="."]
material = ExtResource("3_fsbt7")
layout_mode = 1
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 294.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"]
auto_translate_mode = 2
layout_mode = 2
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 = "Hurry Curry!"
[node name="spacer" type="Control" parent="side/margin/options"]
custom_minimum_size = Vector2(0, 10)
layout_mode = 2
[node name="second" type="VBoxContainer" parent="side/margin/options"]
layout_mode = 2
size_flags_vertical = 3
[node name="Loading" type="Label" parent="side/margin/options/second"]
visible = false
layout_mode = 2
size_flags_horizontal = 3
text = "Fetching server list..."
horizontal_alignment = 1
[node name="ScrollContainerCustom" type="ScrollContainer" parent="side/margin/options/second"]
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 0
script = ExtResource("5_cm120")
[node name="ServerList" type="VBoxContainer" parent="side/margin/options/second/ScrollContainerCustom"]
layout_mode = 2
size_flags_horizontal = 3
[node name="spacer" type="Control" parent="side/margin/options/second"]
custom_minimum_size = Vector2(0, 10)
layout_mode = 2
[node name="connect" type="HBoxContainer" parent="side/margin/options/second"]
layout_mode = 2
[node name="uri" type="LineEdit" parent="side/margin/options/second/connect"]
auto_translate_mode = 2
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "wss://example.org"
[node name="connect" type="Button" parent="side/margin/options/second/connect"]
layout_mode = 2
text = "c.menu.play.connect"
[node name="server" type="HBoxContainer" parent="side/margin/options/second"]
layout_mode = 2
[node name="control" type="Button" parent="side/margin/options/second/server"]
layout_mode = 2
size_flags_horizontal = 3
text = "c.menu.play.server"
alignment = 0
[node name="connect" type="Button" parent="side/margin/options/second/server"]
layout_mode = 2
text = "c.menu.play.connect"
[node name="spacer2" type="Control" parent="side/margin/options/second"]
custom_minimum_size = Vector2(0, 10)
layout_mode = 2
[node name="back" type="Button" parent="side/margin/options/second"]
layout_mode = 2
text = "c.menu.back"
alignment = 0
[node name="VBoxContainer" type="VBoxContainer" parent="side/margin/options/second"]
layout_mode = 2
[connection signal="text_changed" from="side/margin/options/second/connect/uri" to="." method="_on_uri_text_changed"]
[connection signal="pressed" from="side/margin/options/second/connect/connect" to="." method="_on_connect_pressed"]
[connection signal="pressed" from="side/margin/options/second/server/control" to="." method="_on_server_pressed"]
[connection signal="pressed" from="side/margin/options/second/server/connect" to="." method="_on_server_connect_pressed"]
[connection signal="pressed" from="side/margin/options/second/back" to="." method="_on_back_pressed"]
|