118 lines
3.9 KiB
Plaintext
Raw Normal View History

[gd_scene format=3 uid="uid://cfci3j2ur3g31"]
[ext_resource type="Script" uid="uid://lko2kbbcgy0u" path="res://prefabs/lobby/lobby.gd" id="1_2wvic"]
[sub_resource type="LabelSettings" id="LabelSettings_47oqe"]
font_size = 24
[sub_resource type="SystemFont" id="SystemFont_47oqe"]
font_names = PackedStringArray("Monospace")
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pohc3"]
bg_color = Color(0.60038817, 0.60038817, 0.60038817, 0)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0, 0, 0, 1)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[node name="Lobby" type="VBoxContainer" unique_id=581427024]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_2wvic")
[node name="Players" type="HBoxContainer" parent="." unique_id=722026949]
layout_mode = 2
size_flags_vertical = 3
[node name="PlayerList" type="VBoxContainer" parent="Players" unique_id=619905746]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
alignment = 1
[node name="Info" type="VBoxContainer" parent="Players" unique_id=532914324]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 30
alignment = 1
[node name="Session" type="HBoxContainer" parent="Players/Info" unique_id=444337944]
layout_mode = 2
theme_override_constants/separation = 20
alignment = 1
[node name="Label" type="Label" parent="Players/Info/Session" unique_id=842082166]
layout_mode = 2
text = "Session ID:"
label_settings = SubResource("LabelSettings_47oqe")
[node name="SessionId" type="LineEdit" parent="Players/Info/Session" unique_id=1698107040]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
theme_override_colors/font_uneditable_color = Color(0.8750814, 0.8750814, 0.8750814, 1)
theme_override_fonts/font = SubResource("SystemFont_47oqe")
theme_override_font_sizes/font_size = 24
alignment = 1
editable = false
[node name="ReadyButton" type="Button" parent="Players/Info" unique_id=419988826]
unique_name_in_owner = true
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
size_flags_horizontal = 4
text = "Ready"
[node name="UnreadyButton" type="Button" parent="Players/Info" unique_id=757772261]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
size_flags_horizontal = 4
text = "Ready"
[node name="Chat" type="VBoxContainer" parent="." unique_id=1295152456]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 1
[node name="ChatContainer" type="PanelContainer" parent="Chat" unique_id=691964308]
layout_mode = 2
size_flags_vertical = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_pohc3")
[node name="Chat" type="RichTextLabel" parent="Chat/ChatContainer" unique_id=1340192570]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
bbcode_enabled = true
scroll_following = true
[node name="HBoxContainer" type="HBoxContainer" parent="Chat" unique_id=2121694632]
layout_mode = 2
theme_override_constants/separation = 10
[node name="MessageLineEdit" type="LineEdit" parent="Chat/HBoxContainer" unique_id=2073316126]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="MessageSubmit" type="Button" parent="Chat/HBoxContainer" unique_id=850033256]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
text = "Submit"
[connection signal="pressed" from="Players/Info/ReadyButton" to="." method="_on_ready_button_pressed"]
[connection signal="pressed" from="Players/Info/UnreadyButton" to="." method="_on_unready_button_pressed"]
[connection signal="text_submitted" from="Chat/HBoxContainer/MessageLineEdit" to="." method="_handle_message_submitted" unbinds=1]
[connection signal="pressed" from="Chat/HBoxContainer/MessageSubmit" to="." method="_handle_message_submitted"]