181 lines
6.1 KiB
Plaintext
181 lines
6.1 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"]
|
|
[ext_resource type="PackedScene" uid="uid://bbmc2gmy7g8ag" path="res://scenes/player/menu_player.tscn" id="3_q60fs"]
|
|
|
|
[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_world" type="LobbyWorld" unique_id=129662054]
|
|
menu_player_scene = ExtResource("3_q60fs")
|
|
|
|
[node name="lobby" type="LobbyPanel" parent="." 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("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="lobby" 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="lobby" 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="lobby/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="lobby/v_box_container/h_box_container" unique_id=626633696]
|
|
layout_mode = 2
|
|
text = "Name:"
|
|
|
|
[node name="text_edit" type="LineEdit" parent="lobby/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="lobby/v_box_container" unique_id=1537542117]
|
|
layout_mode = 2
|
|
text = "Players:"
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="players_list" type="VBoxContainer" parent="lobby/v_box_container" unique_id=1834737379]
|
|
layout_mode = 2
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="v_box_container2" type="VBoxContainer" parent="lobby" 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="lobby/v_box_container2" unique_id=426342653]
|
|
layout_mode = 2
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="options_panel" type="Panel" parent="lobby" 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="lobby/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="lobby/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="lobby/options_panel/h_box_container" unique_id=1002581329]
|
|
layout_mode = 2
|
|
text = "Game Options"
|
|
|
|
[node name="v_box_container" type="HBoxContainer" parent="lobby/options_panel/h_box_container" unique_id=1445409921]
|
|
layout_mode = 2
|
|
|
|
[node name="options_grid" type="GridContainer" parent="lobby/options_panel/h_box_container" unique_id=504671462]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="chat_box" parent="lobby" 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="lobby" 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="lobby/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="lobby/v_box_container3" unique_id=1165099293]
|
|
layout_mode = 2
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="exit_button" type="Button" parent="lobby/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="lobby/v_box_container3/h_box_container" unique_id=2109111628]
|
|
layout_mode = 2
|
|
text = "Options"
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="camera_3d" type="Camera3D" parent="." unique_id=131019329]
|
|
transform = Transform3D(0.69531304, -0.068955034, 0.7153915, 3.1173069e-09, 0.99538684, 0.09594317, -0.718707, -0.06671053, 0.6921054, 3.165125, 2.0609732, 2.7751796)
|
|
current = true
|
|
|
|
[connection signal="pressed" from="lobby/options_panel/options_close" to="lobby" method="close_options"]
|
|
[connection signal="pressed" from="lobby/v_box_container3/h_box_container/exit_button" to="lobby" method="exit"]
|
|
[connection signal="pressed" from="lobby/v_box_container3/h_box_container/options_button" to="lobby" method="open_options"]
|