net: add lobby.tscn with join and wait panels

This commit is contained in:
2026-04-13 21:11:01 +02:00
parent fd8fc22997
commit df2e365a0c

View File

@@ -0,0 +1,42 @@
[gd_scene load_steps=2 format=3]
[ext_resource type="Script" path="res://scripts/lobby.gd" id="1"]
[node name="Lobby" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource("1")
[node name="JoinPanel" type="VBoxContainer" parent="."]
offset_left = 300.0
offset_top = 200.0
offset_right = 700.0
offset_bottom = 500.0
[node name="Title" type="Label" parent="JoinPanel"]
text = "Ruf der Pilze"
[node name="NameInput" type="LineEdit" parent="JoinPanel"]
placeholder_text = "Dein Name"
[node name="RoleOption" type="OptionButton" parent="JoinPanel"]
[node name="JoinButton" type="Button" parent="JoinPanel"]
text = "Beitreten"
[node name="WaitPanel" type="VBoxContainer" parent="."]
visible = false
offset_left = 300.0
offset_top = 200.0
offset_right = 700.0
offset_bottom = 500.0
[node name="WaitLabel" type="Label" parent="WaitPanel"]
text = "Warte auf Spieler..."
[node name="PlayerList" type="ItemList" parent="WaitPanel"]
custom_minimum_size = Vector2(0, 150)
[node name="StartButton" type="Button" parent="WaitPanel"]
text = "Spiel starten"
visible = false