[gd_scene load_steps=7 format=3 uid="uid://b7nxt2hc4kqp8"] [ext_resource type="Script" uid="uid://b5q6yekyk0tld" path="res://scenes/lobby.gd" id="1_lp6xi"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_panel"] content_margin_left = 24.0 content_margin_top = 20.0 content_margin_right = 24.0 content_margin_bottom = 20.0 bg_color = Color(0.12, 0.12, 0.14, 0.95) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0.9, 0.45, 0.1, 0.8) corner_radius_top_left = 4 corner_radius_top_right = 4 corner_radius_bottom_right = 4 corner_radius_bottom_left = 4 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_input"] content_margin_left = 12.0 content_margin_top = 8.0 content_margin_right = 12.0 content_margin_bottom = 8.0 bg_color = Color(0.08, 0.08, 0.1, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.3, 0.3, 0.35, 1) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 corner_radius_bottom_left = 3 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_hover"] content_margin_left = 16.0 content_margin_top = 8.0 content_margin_right = 16.0 content_margin_bottom = 8.0 bg_color = Color(0.9, 0.45, 0.1, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(1, 0.6, 0.2, 1) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 corner_radius_bottom_left = 3 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_pressed"] content_margin_left = 16.0 content_margin_top = 8.0 content_margin_right = 16.0 content_margin_bottom = 8.0 bg_color = Color(0.7, 0.35, 0.05, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.9, 0.5, 0.15, 1) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 corner_radius_bottom_left = 3 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_normal"] content_margin_left = 16.0 content_margin_top = 8.0 content_margin_right = 16.0 content_margin_bottom = 8.0 bg_color = Color(0.18, 0.18, 0.2, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.4, 0.4, 0.45, 1) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 corner_radius_bottom_left = 3 [node name="Lobby" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_lp6xi") [node name="Background" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.06, 0.06, 0.08, 1) [node name="BackgroundPattern" type="ColorRect" parent="."] modulate = Color(1, 1, 1, 0.03) layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.9, 0.45, 0.1, 1) [node name="MainMenuPanel" type="PanelContainer" parent="."] 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 = -220.0 offset_right = 220.0 offset_bottom = 220.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_panel") [node name="VBoxContainer" type="VBoxContainer" parent="MainMenuPanel"] layout_mode = 2 theme_override_constants/separation = 16 [node name="TitleContainer" type="VBoxContainer" parent="MainMenuPanel/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 4 [node name="Title" type="Label" parent="MainMenuPanel/VBoxContainer/TitleContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.95, 0.5, 0.15, 1) theme_override_font_sizes/font_size = 42 text = "TEKTON DASH" horizontal_alignment = 1 vertical_alignment = 1 [node name="Subtitle" type="Label" parent="MainMenuPanel/VBoxContainer/TitleContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.5, 0.5, 0.55, 1) theme_override_font_sizes/font_size = 12 text = "ARMAGEDDON VERSION" horizontal_alignment = 1 [node name="Separator" type="HSeparator" parent="MainMenuPanel/VBoxContainer"] modulate = Color(0.9, 0.45, 0.1, 0.5) layout_mode = 2 [node name="InputSection" type="VBoxContainer" parent="MainMenuPanel/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 8 [node name="PlayerNameLabel" type="Label" parent="MainMenuPanel/VBoxContainer/InputSection"] layout_mode = 2 theme_override_colors/font_color = Color(0.7, 0.7, 0.75, 1) theme_override_font_sizes/font_size = 13 text = "YOUR NAME" [node name="PlayerNameInput" type="LineEdit" parent="MainMenuPanel/VBoxContainer/InputSection"] custom_minimum_size = Vector2(0, 36) layout_mode = 2 theme_override_colors/font_placeholder_color = Color(0.4, 0.4, 0.45, 1) theme_override_colors/font_color = Color(0.9, 0.9, 0.95, 1) theme_override_font_sizes/font_size = 14 theme_override_styles/normal = SubResource("StyleBoxFlat_input") text = "Player" placeholder_text = "Enter your name..." [node name="ButtonSection" type="VBoxContainer" parent="MainMenuPanel/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 10 [node name="CreateRoomBtn" type="Button" parent="MainMenuPanel/VBoxContainer/ButtonSection"] custom_minimum_size = Vector2(0, 44) layout_mode = 2 theme_override_colors/font_hover_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.95, 0.95, 1, 1) theme_override_colors/font_pressed_color = Color(1, 1, 1, 1) theme_override_font_sizes/font_size = 15 theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover") theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed") theme_override_styles/normal = SubResource("StyleBoxFlat_button_normal") text = "CREATE ROOM" [node name="BrowseRoomsBtn" type="Button" parent="MainMenuPanel/VBoxContainer/ButtonSection"] custom_minimum_size = Vector2(0, 44) layout_mode = 2 theme_override_colors/font_hover_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.95, 0.95, 1, 1) theme_override_colors/font_pressed_color = Color(1, 1, 1, 1) theme_override_font_sizes/font_size = 15 theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover") theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed") theme_override_styles/normal = SubResource("StyleBoxFlat_button_normal") text = "BROWSE ROOMS" [node name="RoomListPanel" type="PanelContainer" parent="."] 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 = -280.0 offset_top = -240.0 offset_right = 280.0 offset_bottom = 240.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_panel") [node name="VBoxContainer" type="VBoxContainer" parent="RoomListPanel"] layout_mode = 2 theme_override_constants/separation = 12 [node name="Header" type="Label" parent="RoomListPanel/VBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.95, 0.5, 0.15, 1) theme_override_font_sizes/font_size = 28 text = "SERVER BROWSER" horizontal_alignment = 1 [node name="HSeparator" type="HSeparator" parent="RoomListPanel/VBoxContainer"] modulate = Color(0.9, 0.45, 0.1, 0.5) layout_mode = 2 [node name="MatchIdLabel" type="Label" parent="RoomListPanel/VBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.6, 0.6, 0.65, 1) theme_override_font_sizes/font_size = 12 text = "DIRECT CONNECT (MATCH ID)" [node name="MatchIdInput" type="LineEdit" parent="RoomListPanel/VBoxContainer"] custom_minimum_size = Vector2(0, 36) layout_mode = 2 theme_override_colors/font_placeholder_color = Color(0.4, 0.4, 0.45, 1) theme_override_colors/font_color = Color(0.9, 0.9, 0.95, 1) theme_override_font_sizes/font_size = 14 theme_override_styles/normal = SubResource("StyleBoxFlat_input") placeholder_text = "Paste match ID here..." [node name="RoomListLabel" type="Label" parent="RoomListPanel/VBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.6, 0.6, 0.65, 1) theme_override_font_sizes/font_size = 12 text = "AVAILABLE SERVERS" [node name="RoomList" type="ItemList" parent="RoomListPanel/VBoxContainer"] custom_minimum_size = Vector2(0, 180) layout_mode = 2 theme_override_colors/font_selected_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.85, 0.85, 0.9, 1) theme_override_font_sizes/font_size = 14 allow_reselect = true [node name="ButtonContainer" type="HBoxContainer" parent="RoomListPanel/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 12 alignment = 1 [node name="RefreshBtn" type="Button" parent="RoomListPanel/VBoxContainer/ButtonContainer"] custom_minimum_size = Vector2(100, 40) layout_mode = 2 theme_override_colors/font_hover_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.95, 0.95, 1, 1) theme_override_font_sizes/font_size = 13 theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover") theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed") theme_override_styles/normal = SubResource("StyleBoxFlat_button_normal") text = "REFRESH" [node name="JoinBtn" type="Button" parent="RoomListPanel/VBoxContainer/ButtonContainer"] custom_minimum_size = Vector2(120, 40) layout_mode = 2 theme_override_colors/font_hover_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.95, 0.95, 1, 1) theme_override_font_sizes/font_size = 13 theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover") theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed") theme_override_styles/normal = SubResource("StyleBoxFlat_button_normal") text = "JOIN SERVER" [node name="BackBtn" type="Button" parent="RoomListPanel/VBoxContainer/ButtonContainer"] custom_minimum_size = Vector2(100, 40) layout_mode = 2 theme_override_colors/font_hover_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.95, 0.95, 1, 1) theme_override_font_sizes/font_size = 13 theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover") theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed") theme_override_styles/normal = SubResource("StyleBoxFlat_button_normal") text = "BACK" [node name="LobbyPanel" type="PanelContainer" parent="."] 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 = -280.0 offset_top = -240.0 offset_right = 280.0 offset_bottom = 240.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_panel") [node name="VBoxContainer" type="VBoxContainer" parent="LobbyPanel"] layout_mode = 2 theme_override_constants/separation = 12 [node name="RoomNameHeader" type="Label" parent="LobbyPanel/VBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.95, 0.5, 0.15, 1) theme_override_font_sizes/font_size = 26 text = "ROOM: " horizontal_alignment = 1 [node name="MatchIdContainer" type="HBoxContainer" parent="LobbyPanel/VBoxContainer"] layout_mode = 2 alignment = 1 [node name="MatchIdDisplay" type="Label" parent="LobbyPanel/VBoxContainer/MatchIdContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.45, 0.45, 0.5, 1) theme_override_font_sizes/font_size = 10 text = "Match ID: " [node name="CopyIdBtn" type="Button" parent="LobbyPanel/VBoxContainer/MatchIdContainer"] custom_minimum_size = Vector2(70, 24) layout_mode = 2 theme_override_colors/font_hover_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.7, 0.7, 0.75, 1) theme_override_font_sizes/font_size = 10 theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover") theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed") theme_override_styles/normal = SubResource("StyleBoxFlat_button_normal") text = "COPY" [node name="HSeparator" type="HSeparator" parent="LobbyPanel/VBoxContainer"] modulate = Color(0.9, 0.45, 0.1, 0.5) layout_mode = 2 [node name="PlayersLabel" type="Label" parent="LobbyPanel/VBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.6, 0.6, 0.65, 1) theme_override_font_sizes/font_size = 13 text = "PLAYERS" [node name="PlayerList" type="ItemList" parent="LobbyPanel/VBoxContainer"] custom_minimum_size = Vector2(0, 140) layout_mode = 2 theme_override_colors/font_selected_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.85, 0.85, 0.9, 1) theme_override_font_sizes/font_size = 14 allow_reselect = true [node name="StatusLabel" type="Label" parent="LobbyPanel/VBoxContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.95, 0.6, 0.2, 1) theme_override_font_sizes/font_size = 14 text = "Waiting for players..." horizontal_alignment = 1 [node name="ButtonContainer" type="HBoxContainer" parent="LobbyPanel/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 12 alignment = 1 [node name="ReadyBtn" type="Button" parent="LobbyPanel/VBoxContainer/ButtonContainer"] custom_minimum_size = Vector2(100, 44) layout_mode = 2 theme_override_colors/font_hover_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.95, 0.95, 1, 1) theme_override_font_sizes/font_size = 14 theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover") theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed") theme_override_styles/normal = SubResource("StyleBoxFlat_button_normal") toggle_mode = true text = "READY" [node name="StartGameBtn" type="Button" parent="LobbyPanel/VBoxContainer/ButtonContainer"] custom_minimum_size = Vector2(130, 44) layout_mode = 2 theme_override_colors/font_hover_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.95, 0.95, 1, 1) theme_override_font_sizes/font_size = 14 theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover") theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed") theme_override_styles/normal = SubResource("StyleBoxFlat_button_normal") disabled = true text = "START GAME" [node name="LeaveBtn" type="Button" parent="LobbyPanel/VBoxContainer/ButtonContainer"] custom_minimum_size = Vector2(100, 44) layout_mode = 2 theme_override_colors/font_hover_color = Color(0.1, 0.1, 0.12, 1) theme_override_colors/font_color = Color(0.95, 0.95, 1, 1) theme_override_font_sizes/font_size = 14 theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover") theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed") theme_override_styles/normal = SubResource("StyleBoxFlat_button_normal") text = "LEAVE" [node name="StatusBar" type="PanelContainer" parent="."] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 39.0 offset_top = -83.0 offset_right = -39.0 offset_bottom = -26.0 grow_horizontal = 2 grow_vertical = 0 theme_override_styles/panel = SubResource("StyleBoxFlat_panel") [node name="ConnectionStatus" type="Label" parent="StatusBar"] layout_mode = 2 theme_override_colors/font_color = Color(0.5, 0.5, 0.55, 1) theme_override_font_sizes/font_size = 12 text = "NOT CONNECTED" horizontal_alignment = 1 [node name="VersionLabel" type="Label" parent="."] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -126.0 offset_top = 19.0 offset_right = -18.0 offset_bottom = 37.0 grow_horizontal = 0 theme_override_colors/font_color = Color(0.35, 0.35, 0.4, 1) theme_override_font_sizes/font_size = 11 text = "v0.1.0 ALPHA" horizontal_alignment = 2