[gd_scene load_steps=4 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] [ext_resource path="res://objects/lobby.tscn" type="PackedScene" id=3] [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 = 325.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 = 329.0 margin_right = 654.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="join" type="Button" parent="v/head"] margin_left = 658.0 margin_right = 984.0 margin_bottom = 50.0 rect_min_size = Vector2( 150, 50 ) hint_tooltip = "Join the highlighted lobby ID below" size_flags_horizontal = 3 size_flags_vertical = 3 text = "Join" __meta__ = { "_edit_use_anchors_": false } [node name="subhead" type="HBoxContainer" parent="v"] 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 = 89.0 margin_right = 984.0 margin_bottom = 560.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="lobbies" type="ItemList" parent="v/body"] margin_right = 984.0 margin_bottom = 471.0 hint_tooltip = "You can double-click a lobby listing to join it." size_flags_horizontal = 3 size_flags_vertical = 3 same_column_width = true __meta__ = { "_edit_use_anchors_": false } [node name="Control" parent="v/body/lobbies" instance=ExtResource( 3 )] [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="pressed" from="v/head/join" to="." method="_on_join_pressed"] [connection signal="text_changed" from="v/subhead/display_name" to="." method="_on_display_name_text_changed"] [connection signal="item_activated" from="v/body/lobbies" to="." method="_on_lobbies_item_activated"] [connection signal="item_selected" from="v/body/lobbies" to="." method="_on_lobbies_item_selected"] [connection signal="nothing_selected" from="v/body/lobbies" to="." method="_on_lobbies_nothing_selected"]