skullball/godot/scenes/lobby.tscn

234 lines
8.5 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="Theme" uid="uid://drydbnrcdv4pk" path="res://default_theme.tres" id="3_dfnwm"]
[ext_resource type="Texture2D" uid="uid://djyx3jrutbube" path="res://raw_assets/icons/PNG/White/1x/forward.png" id="3_oipnb"]
[ext_resource type="PackedScene" uid="uid://bbmc2gmy7g8ag" path="res://scenes/player/menu_player.tscn" id="3_q60fs"]
[ext_resource type="PackedScene" uid="uid://n3u0jr4wiib1" path="res://scenes/ui/settings.tscn" id="4_iulku"]
[ext_resource type="Texture2D" uid="uid://bs5jp73lrqmoe" path="res://raw_assets/icons/PNG/White/1x/checkmark.png" id="4_yad6j"]
[ext_resource type="Texture2D" uid="uid://cm4dcnb3i0ybq" path="res://raw_assets/icons/PNG/White/1x/cross.png" id="5_ncsg4"]
[ext_resource type="Texture2D" uid="uid://di82vf1k8xr1d" path="res://raw_assets/icons/PNG/White/1x/wrench.png" id="5_omrgh"]
[ext_resource type="PackedScene" uid="uid://dpqqe7hjktit8" path="res://maps/two_towers/two_towers_static.scn" id="6_apkv3"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7j863"]
bg_color = Color(0.06469653, 0.064696535, 0.06469648, 0.34901962)
[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")
start_game_icon = ExtResource("3_oipnb")
ready_icon = ExtResource("4_yad6j")
not_ready_icon = ExtResource("5_ncsg4")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("3_dfnwm")
theme_override_styles/panel = SubResource("StyleBoxFlat_7j863")
[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="check_box" type="CheckBox" parent="lobby/v_box_container/h_box_container" unique_id=21168819]
layout_mode = 2
text = "Use alternate team colors"
[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]
propagate_maximum_size = false
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -398.0
offset_top = 148.0
offset_right = -98.0
offset_bottom = 248.0
grow_horizontal = 0
[node name="option_button" type="OptionButton" parent="lobby/v_box_container2" unique_id=426342653]
layout_mode = 2
theme_override_constants/icon_max_width = 100
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(150, 50)
custom_maximum_size = Vector2(150, -1)
layout_mode = 2
text = "Not Ready"
icon = ExtResource("5_ncsg4")
expand_icon = true
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]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
text = "Options"
icon = ExtResource("5_omrgh")
expand_icon = true
metadata/_edit_lock_ = true
[node name="settings_button" type="Button" parent="lobby/v_box_container3/h_box_container" unique_id=2096226308]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
text = "Settings"
icon = ExtResource("5_omrgh")
expand_icon = true
metadata/_edit_lock_ = true
[node name="settings" parent="lobby" unique_id=999912383 instance=ExtResource("4_iulku")]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 327.0
offset_top = 46.0
offset_right = -325.0
offset_bottom = -102.0
[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
[node name="background" type="Node3D" parent="." unique_id=1511017299]
[node name="two_towers_static" parent="background" unique_id=86902040 instance=ExtResource("6_apkv3")]
transform = Transform3D(-0.1736482, 0, -0.9848077, 0, 1, 0, 0.9848077, 0, -0.1736482, -15.664, -7, -7.637)
[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"]
[connection signal="pressed" from="lobby/v_box_container3/h_box_container/settings_button" to="lobby/settings" method="open"]