Swarm/Multiplayer/Multiplayer.tscn
2025-02-26 23:27:07 +01:00

41 lines
1.4 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://bh31hq1uwqdts"]
[ext_resource type="Script" uid="uid://dqxcwiyx83dkk" path="res://Multiplayer/Multiplayer.gd" id="1_0n82x"]
[ext_resource type="Script" uid="uid://nfjyotyuuf8f" path="res://Multiplayer/LobbyInfo.gd" id="2_wf1xe"]
[node name="Multiplayer" type="Node"]
script = ExtResource("1_0n82x")
[node name="Game" type="Node" parent="."]
[node name="LobbyInfo" type="CanvasLayer" parent="."]
script = ExtResource("2_wf1xe")
[node name="PanelContainer" type="PanelContainer" parent="LobbyInfo"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="LobbyInfo/PanelContainer"]
layout_mode = 2
size_flags_horizontal = 4
alignment = 1
[node name="LobbyCode" type="Label" parent="LobbyInfo/PanelContainer/VBoxContainer"]
layout_mode = 2
horizontal_alignment = 1
[node name="StartGameButton" type="Button" parent="LobbyInfo/PanelContainer/VBoxContainer"]
visible = false
layout_mode = 2
disabled = true
text = "Start Game"
[node name="Button" type="Button" parent="LobbyInfo/PanelContainer/VBoxContainer"]
layout_mode = 2
text = "Back to menu"
[connection signal="pressed" from="LobbyInfo/PanelContainer/VBoxContainer/StartGameButton" to="." method="_on_start_game_button_pressed"]
[connection signal="pressed" from="LobbyInfo/PanelContainer/VBoxContainer/Button" to="LobbyInfo" method="_on_button_pressed"]