skullball/godot/scenes/lobby.tscn
2026-07-24 04:27:09 +03:00

173 lines
5.4 KiB
Plaintext

[gd_scene format=3 uid="uid://bwd6bj21x310s"]
[ext_resource type="PackedScene" uid="uid://ccd0wj2usx5os" path="res://scenes/ui/lobby_player_listing.tscn" id="1_o1atq"]
[ext_resource type="PackedScene" uid="uid://ffh5txda3j1" path="res://scenes/ui/chat_box.tscn" id="2_5gu6x"]
[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("")
player_listing_prefab = ExtResource("1_o1atq")
ready_button = NodePath("v_box_container3/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 = 8.0
offset_bottom = 53.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 = 85.0
offset_top = 111.0
offset_right = 290.0
offset_bottom = 165.0
[node name="h_box_container" type="HBoxContainer" parent="v_box_container" unique_id=1789302658]
layout_mode = 2
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="LineEdit" parent="v_box_container/h_box_container" unique_id=284528736]
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
max_length = 20
[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="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 = -835.0
offset_top = 111.0
offset_right = -727.0
offset_bottom = 169.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="chat_box" parent="." unique_id=1125601400 instance=ExtResource("2_5gu6x")]
custom_minimum_size = Vector2(400, 300)
custom_maximum_size = Vector2(400, 300)
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -535.0
offset_top = -352.0
offset_right = -35.0
offset_bottom = -52.0
grow_horizontal = 0
grow_vertical = 0
[node name="v_box_container3" type="VBoxContainer" parent="." unique_id=1320505732]
layout_mode = 0
offset_left = 87.0
offset_top = 538.0
offset_right = 198.0
offset_bottom = 604.0
[node name="ready_button" type="Button" parent="v_box_container3" unique_id=311553419]
custom_minimum_size = Vector2(100, 0)
custom_maximum_size = Vector2(100, -1)
layout_mode = 2
text = "Not Ready"
metadata/_edit_lock_ = true
[node name="h_box_container" type="HBoxContainer" parent="v_box_container3" unique_id=1165099293]
layout_mode = 2
metadata/_edit_lock_ = true
[node name="exit_button" type="Button" parent="v_box_container3/h_box_container" unique_id=267703633]
layout_mode = 2
text = "Exit"
metadata/_edit_lock_ = true
[node name="options_button" type="Button" parent="v_box_container3/h_box_container" unique_id=2109111628]
layout_mode = 2
text = "Options"
metadata/_edit_lock_ = true
[connection signal="pressed" from="options_panel/options_close" to="." method="close_options"]
[connection signal="pressed" from="v_box_container3/h_box_container/exit_button" to="." method="exit"]
[connection signal="pressed" from="v_box_container3/h_box_container/options_button" to="." method="open_options"]