[gd_scene format=3 uid="uid://xpalyawdgnyl"] [ext_resource type="Script" uid="uid://b5q6yekyk0tld" path="res://scenes/lobby.gd" id="1_lp6xi"] [ext_resource type="Theme" uid="uid://da337sh5qxi0s" path="res://assets/themes/ui_theme.tres" id="2_theme"] [node name="Lobby" type="Control" unique_id=1681755368] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("2_theme") script = ExtResource("1_lp6xi") [node name="Background" type="ColorRect" parent="." unique_id=610186638] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.12, 0.1, 0.08, 1) [node name="MainMenuPanel" type="PanelContainer" parent="." unique_id=749972967] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -220.0 offset_top = -240.0 offset_right = 220.0 offset_bottom = 240.0 grow_horizontal = 2 grow_vertical = 2 [node name="VBoxContainer" type="VBoxContainer" parent="MainMenuPanel" unique_id=172832102] layout_mode = 2 theme_override_constants/separation = 18 [node name="TitleContainer" type="VBoxContainer" parent="MainMenuPanel/VBoxContainer" unique_id=1254704944] layout_mode = 2 theme_override_constants/separation = 4 [node name="Title" type="Label" parent="MainMenuPanel/VBoxContainer/TitleContainer" unique_id=1313646849] layout_mode = 2 theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1) theme_override_font_sizes/font_size = 44 text = "TEKTON DASH" horizontal_alignment = 1 vertical_alignment = 1 [node name="Subtitle" type="Label" parent="MainMenuPanel/VBoxContainer/TitleContainer" unique_id=981494139] layout_mode = 2 theme_override_colors/font_color = Color(0.992, 0.796, 0.047, 1) theme_override_font_sizes/font_size = 12 text = "ARMAGEDDON VERSION" horizontal_alignment = 1 [node name="Separator" type="HSeparator" parent="MainMenuPanel/VBoxContainer" unique_id=1861761683] layout_mode = 2 [node name="InputSection" type="VBoxContainer" parent="MainMenuPanel/VBoxContainer" unique_id=113453689] layout_mode = 2 theme_override_constants/separation = 10 [node name="PlayerNameLabel" type="Label" parent="MainMenuPanel/VBoxContainer/InputSection" unique_id=2007198770] layout_mode = 2 theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1) theme_override_font_sizes/font_size = 13 text = "YOUR NAME" [node name="PlayerNameInput" type="LineEdit" parent="MainMenuPanel/VBoxContainer/InputSection" unique_id=543986981] custom_minimum_size = Vector2(0, 44) layout_mode = 2 text = "Player" placeholder_text = "Enter your name..." [node name="ButtonSection" type="VBoxContainer" parent="MainMenuPanel/VBoxContainer" unique_id=357245135] layout_mode = 2 theme_override_constants/separation = 12 [node name="CreateRoomBtn" type="Button" parent="MainMenuPanel/VBoxContainer/ButtonSection" unique_id=1297504653] custom_minimum_size = Vector2(0, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 text = "CREATE ROOM" [node name="BrowseRoomsBtn" type="Button" parent="MainMenuPanel/VBoxContainer/ButtonSection" unique_id=1825906901] custom_minimum_size = Vector2(0, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 text = "BROWSE ROOMS" [node name="RoomListPanel" type="PanelContainer" parent="." unique_id=1969054574] visible = false layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -300.0 offset_top = -260.0 offset_right = 300.0 offset_bottom = 260.0 grow_horizontal = 2 grow_vertical = 2 [node name="VBoxContainer" type="VBoxContainer" parent="RoomListPanel" unique_id=726092140] layout_mode = 2 theme_override_constants/separation = 14 [node name="Header" type="Label" parent="RoomListPanel/VBoxContainer" unique_id=1272860526] layout_mode = 2 theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1) theme_override_font_sizes/font_size = 28 text = "SERVER BROWSER" horizontal_alignment = 1 [node name="HSeparator" type="HSeparator" parent="RoomListPanel/VBoxContainer" unique_id=38843595] layout_mode = 2 [node name="MatchIdLabel" type="Label" parent="RoomListPanel/VBoxContainer" unique_id=316758674] layout_mode = 2 theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1) theme_override_font_sizes/font_size = 12 text = "DIRECT CONNECT (MATCH ID)" [node name="MatchIdInput" type="LineEdit" parent="RoomListPanel/VBoxContainer" unique_id=159753310] custom_minimum_size = Vector2(0, 44) layout_mode = 2 placeholder_text = "Paste match ID here..." [node name="RoomListLabel" type="Label" parent="RoomListPanel/VBoxContainer" unique_id=867057060] layout_mode = 2 theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1) theme_override_font_sizes/font_size = 12 text = "AVAILABLE SERVERS" [node name="RoomList" type="ItemList" parent="RoomListPanel/VBoxContainer" unique_id=203590990] custom_minimum_size = Vector2(0, 200) layout_mode = 2 allow_reselect = true [node name="ButtonContainer" type="HBoxContainer" parent="RoomListPanel/VBoxContainer" unique_id=178401080] layout_mode = 2 theme_override_constants/separation = 14 alignment = 1 [node name="RefreshBtn" type="Button" parent="RoomListPanel/VBoxContainer/ButtonContainer" unique_id=1068680772] custom_minimum_size = Vector2(110, 44) layout_mode = 2 text = "REFRESH" [node name="JoinBtn" type="Button" parent="RoomListPanel/VBoxContainer/ButtonContainer" unique_id=822083530] custom_minimum_size = Vector2(130, 44) layout_mode = 2 text = "JOIN SERVER" [node name="BackBtn" type="Button" parent="RoomListPanel/VBoxContainer/ButtonContainer" unique_id=1873303918] custom_minimum_size = Vector2(110, 44) layout_mode = 2 text = "BACK" [node name="LobbyPanel" type="PanelContainer" parent="." unique_id=1955208668] visible = false layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -300.0 offset_top = -260.0 offset_right = 300.0 offset_bottom = 260.0 grow_horizontal = 2 grow_vertical = 2 [node name="VBoxContainer" type="VBoxContainer" parent="LobbyPanel" unique_id=1443407103] layout_mode = 2 theme_override_constants/separation = 14 [node name="RoomNameHeader" type="Label" parent="LobbyPanel/VBoxContainer" unique_id=2019479226] layout_mode = 2 theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1) theme_override_font_sizes/font_size = 26 text = "ROOM: " horizontal_alignment = 1 [node name="MatchIdContainer" type="HBoxContainer" parent="LobbyPanel/VBoxContainer" unique_id=280307543] layout_mode = 2 alignment = 1 [node name="MatchIdDisplay" type="Label" parent="LobbyPanel/VBoxContainer/MatchIdContainer" unique_id=1883524532] layout_mode = 2 theme_override_colors/font_color = Color(0.5, 0.5, 0.55, 1) theme_override_font_sizes/font_size = 10 text = "Match ID: " [node name="CopyIdBtn" type="Button" parent="LobbyPanel/VBoxContainer/MatchIdContainer" unique_id=1770583860] custom_minimum_size = Vector2(80, 32) layout_mode = 2 theme_override_font_sizes/font_size = 10 text = "COPY" [node name="HSeparator" type="HSeparator" parent="LobbyPanel/VBoxContainer" unique_id=346787128] layout_mode = 2 [node name="PlayersLabel" type="Label" parent="LobbyPanel/VBoxContainer" unique_id=1266635921] layout_mode = 2 theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1) theme_override_font_sizes/font_size = 13 text = "PLAYERS" [node name="PlayerList" type="ItemList" parent="LobbyPanel/VBoxContainer" unique_id=1481128408] custom_minimum_size = Vector2(0, 160) layout_mode = 2 allow_reselect = true [node name="StatusLabel" type="Label" parent="LobbyPanel/VBoxContainer" unique_id=1750308910] layout_mode = 2 theme_override_colors/font_color = Color(0.992, 0.796, 0.047, 1) theme_override_font_sizes/font_size = 14 text = "Waiting for players..." horizontal_alignment = 1 [node name="ButtonContainer" type="HBoxContainer" parent="LobbyPanel/VBoxContainer" unique_id=941148439] layout_mode = 2 theme_override_constants/separation = 14 alignment = 1 [node name="ReadyBtn" type="Button" parent="LobbyPanel/VBoxContainer/ButtonContainer" unique_id=386730307] custom_minimum_size = Vector2(110, 48) layout_mode = 2 toggle_mode = true text = "READY" [node name="StartGameBtn" type="Button" parent="LobbyPanel/VBoxContainer/ButtonContainer" unique_id=1510805318] custom_minimum_size = Vector2(140, 48) layout_mode = 2 disabled = true text = "START GAME" [node name="LeaveBtn" type="Button" parent="LobbyPanel/VBoxContainer/ButtonContainer" unique_id=1773320572] custom_minimum_size = Vector2(110, 48) layout_mode = 2 text = "LEAVE" [node name="StatusBar" type="PanelContainer" parent="." unique_id=547557114] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 24.0 offset_top = -72.0 offset_right = -24.0 offset_bottom = -24.0 grow_horizontal = 2 grow_vertical = 0 [node name="ConnectionStatus" type="Label" parent="StatusBar" unique_id=1282790307] layout_mode = 2 theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1) theme_override_font_sizes/font_size = 12 text = "NOT CONNECTED" horizontal_alignment = 1 [node name="VersionLabel" type="Label" parent="." unique_id=1619858099] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -130.0 offset_top = 20.0 offset_right = -20.0 offset_bottom = 40.0 grow_horizontal = 0 theme_override_colors/font_color = Color(0.6, 0.6, 0.6, 0.6) theme_override_font_sizes/font_size = 11 text = "v0.1.0 ALPHA" horizontal_alignment = 2