165 lines
4.8 KiB
Plaintext
165 lines
4.8 KiB
Plaintext
[gd_scene format=3 uid="uid://bwd6bj21x310s"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ccd0wj2usx5os" path="res://scenes/ui/player_listing.tscn" id="1_o1atq"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_1cgct"]
|
|
font_size = 32
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jbm04"]
|
|
bg_color = Color(0.30692267, 0.3069227, 0.30692264, 1)
|
|
|
|
[node name="lobby" type="LobbyPanel" unique_id=915192272 node_paths=PackedStringArray("players_list", "name_field", "ready_button", "map_selection", "options_panel", "options_grid")]
|
|
players_list = NodePath("v_box_container/players_list")
|
|
name_field = NodePath("v_box_container/h_box_container/text_edit")
|
|
player_listing_prefab = ExtResource("1_o1atq")
|
|
ready_button = NodePath("ready_button")
|
|
map_selection = NodePath("v_box_container2/option_button")
|
|
options_panel = NodePath("options_panel")
|
|
options_grid = NodePath("options_panel/h_box_container/options_grid")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="label" type="Label" parent="." unique_id=1445541926]
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_top = 69.0
|
|
offset_bottom = 92.0
|
|
grow_horizontal = 2
|
|
text = "Lobby"
|
|
label_settings = SubResource("LabelSettings_1cgct")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="v_box_container" type="VBoxContainer" parent="." unique_id=336946640]
|
|
layout_mode = 0
|
|
offset_left = 129.0
|
|
offset_top = 146.0
|
|
offset_right = 334.0
|
|
offset_bottom = 200.0
|
|
|
|
[node name="h_box_container" type="HBoxContainer" parent="v_box_container" unique_id=1789302658]
|
|
layout_mode = 2
|
|
offset_transform_enabled = true
|
|
offset_transform_position = Vector2(100, 0)
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="label" type="Label" parent="v_box_container/h_box_container" unique_id=626633696]
|
|
layout_mode = 2
|
|
text = "Name:"
|
|
|
|
[node name="text_edit" type="TextEdit" parent="v_box_container/h_box_container" unique_id=683714912]
|
|
custom_minimum_size = Vector2(150, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="players_label" type="Label" parent="v_box_container" unique_id=1537542117]
|
|
layout_mode = 2
|
|
text = "Players:"
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="players_list" type="VBoxContainer" parent="v_box_container" unique_id=1834737379]
|
|
layout_mode = 2
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="netstats" type="NetStatsLabel" parent="." unique_id=1335814511]
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -144.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
vertical_alignment = 2
|
|
|
|
[node name="ready_button" type="Button" parent="." unique_id=311553419]
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 129.0
|
|
offset_top = -177.0
|
|
offset_right = 278.0
|
|
offset_bottom = -126.0
|
|
grow_vertical = 0
|
|
text = "Not Ready"
|
|
|
|
[node name="v_box_container2" type="VBoxContainer" parent="." unique_id=653902328]
|
|
layout_mode = 1
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -329.0
|
|
offset_top = 146.0
|
|
offset_right = -221.0
|
|
offset_bottom = 204.0
|
|
grow_horizontal = 0
|
|
|
|
[node name="option_button" type="OptionButton" parent="v_box_container2" unique_id=426342653]
|
|
layout_mode = 2
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="options_panel" type="Panel" parent="." unique_id=1194589850]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -291.5
|
|
offset_top = -213.5
|
|
offset_right = 291.5
|
|
offset_bottom = 213.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_jbm04")
|
|
|
|
[node name="options_close" type="Button" parent="options_panel" unique_id=2115857774]
|
|
layout_mode = 1
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -33.5
|
|
offset_bottom = 31.0
|
|
grow_horizontal = 0
|
|
text = "X"
|
|
|
|
[node name="h_box_container" type="VBoxContainer" parent="options_panel" unique_id=1163233032]
|
|
layout_mode = 0
|
|
offset_left = 0.5
|
|
offset_top = 3.5
|
|
offset_right = 115.5
|
|
offset_bottom = 43.5
|
|
|
|
[node name="label" type="Label" parent="options_panel/h_box_container" unique_id=1002581329]
|
|
layout_mode = 2
|
|
text = "Game Options"
|
|
|
|
[node name="v_box_container" type="HBoxContainer" parent="options_panel/h_box_container" unique_id=1445409921]
|
|
layout_mode = 2
|
|
|
|
[node name="options_grid" type="GridContainer" parent="options_panel/h_box_container" unique_id=504671462]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="options_button" type="Button" parent="." unique_id=2109111628]
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -309.0
|
|
offset_top = -166.0
|
|
offset_right = -239.0
|
|
offset_bottom = -135.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
text = "Options"
|
|
|
|
[connection signal="pressed" from="options_panel/options_close" to="." method="close_options"]
|
|
[connection signal="pressed" from="options_button" to="." method="open_options"]
|