[gd_scene load_steps=3 format=2] [ext_resource path="res://scripts/screens/lobby_browser.gd" type="Script" id=1] [ext_resource path="res://assets/theme.tres" type="Theme" id=2] [node name="Control" type="MarginContainer"] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 20.0 margin_top = 20.0 margin_right = -20.0 margin_bottom = -20.0 theme = ExtResource( 2 ) script = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false } [node name="v" type="VBoxContainer" parent="."] margin_right = 984.0 margin_bottom = 560.0 __meta__ = { "_edit_use_anchors_": false } [node name="head" type="HBoxContainer" parent="v"] margin_right = 984.0 margin_bottom = 50.0 grow_horizontal = 2 grow_vertical = 2 alignment = 1 __meta__ = { "_edit_group_": true, "_edit_lock_": true } [node name="back" type="Button" parent="v/head"] margin_right = 490.0 margin_bottom = 50.0 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 150, 50 ) hint_tooltip = "Main Menu" size_flags_horizontal = 3 size_flags_vertical = 3 text = "Back" __meta__ = { "_edit_use_anchors_": false } [node name="create_lobby" type="Button" parent="v/head"] margin_left = 494.0 margin_right = 984.0 margin_bottom = 50.0 rect_min_size = Vector2( 150, 50 ) hint_tooltip = "Create your own public lobby that any player may join" size_flags_horizontal = 3 size_flags_vertical = 3 text = "Create Lobby" __meta__ = { "_edit_use_anchors_": false } [node name="subhead" type="HBoxContainer" parent="v"] visible = false margin_top = 54.0 margin_right = 984.0 margin_bottom = 85.0 [node name="label" type="Label" parent="v/subhead"] margin_right = 830.0 margin_bottom = 31.0 size_flags_horizontal = 3 size_flags_vertical = 3 text = "Active Lobbies: 0" valign = 1 [node name="display_name" type="LineEdit" parent="v/subhead"] margin_left = 834.0 margin_right = 984.0 margin_bottom = 31.0 rect_min_size = Vector2( 150, 0 ) placeholder_text = "Your Name Here" [node name="body" type="ScrollContainer" parent="v"] margin_top = 54.0 margin_right = 984.0 margin_bottom = 560.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="p" type="PanelContainer" parent="v/body"] margin_right = 984.0 margin_bottom = 506.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="lobbies" type="GridContainer" parent="v/body/p"] margin_left = 7.0 margin_top = 7.0 margin_right = 977.0 margin_bottom = 499.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="zero_state" type="CenterContainer" parent="v/body/p/lobbies"] margin_right = 970.0 margin_bottom = 492.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="Label" type="Label" parent="v/body/p/lobbies/zero_state"] margin_left = 229.0 margin_top = 239.0 margin_right = 740.0 margin_bottom = 253.0 size_flags_horizontal = 3 size_flags_vertical = 3 text = "Looks like there are no active lobbies at the moment! Why don't you make one?" align = 1 valign = 1 [connection signal="pressed" from="v/head/back" to="." method="_on_back_pressed"] [connection signal="pressed" from="v/head/create_lobby" to="." method="_on_create_lobby_pressed"] [connection signal="text_changed" from="v/subhead/display_name" to="." method="_on_display_name_text_changed"]