Added stuff to the lobby scene

This commit is contained in:
Chris Bell 2024-12-13 10:50:00 -06:00
parent 6650820429
commit fc8bb540db
3 changed files with 11 additions and 4 deletions

View File

@ -1,8 +1,9 @@
[gd_scene load_steps=2 format=3 uid="uid://7t1x82gvrw8a"]
[gd_scene load_steps=3 format=3 uid="uid://7t1x82gvrw8a"]
[ext_resource type="Script" path="res://assets/core/networking/scripts/lobby.gd" id="1_o4fbq"]
[ext_resource type="PackedScene" uid="uid://biryul3n6thlw" path="res://assets/core/networking/scenes/user_box_prefab.tscn" id="2_dpthk"]
[node name="Lobby" type="Control"]
[node name="Lobby" type="Control" node_paths=PackedStringArray("host_button", "join_button", "leave_button", "lobby_id", "user_list_box")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@ -10,6 +11,12 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_o4fbq")
host_button = NodePath("Panel/HBoxContainer/Buttons/Host")
join_button = NodePath("Panel/HBoxContainer/Buttons/HBoxContainer/Join")
leave_button = NodePath("Panel/HBoxContainer/Buttons/Leave")
lobby_id = NodePath("Panel/HBoxContainer/Buttons/HBoxContainer/LineEdit")
user_list_box = NodePath("Panel/HBoxContainer/PlayerList")
user_box_prefab = ExtResource("2_dpthk")
[node name="Panel" type="Panel" parent="."]
layout_mode = 1