[gd_scene load_steps=3 format=3 uid="uid://b00eef4tqt2ri"] [ext_resource type="Script" uid="uid://b1lcy1ikdkknq" path="res://scripts/ui/login_screen.gd" id="1"] [ext_resource type="Theme" uid="uid://da337sh5qxi0s" path="res://assets/themes/ui_theme.tres" id="2"] [node name="LoginScreen" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("2") script = ExtResource("1") [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.12, 0.1, 0.08, 1) [node name="CenterContainer" type="CenterContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="MainPanel" type="PanelContainer" parent="CenterContainer"] custom_minimum_size = Vector2(400, 0) layout_mode = 2 [node name="VBox" type="VBoxContainer" parent="CenterContainer/MainPanel"] layout_mode = 2 theme_override_constants/separation = 16 [node name="LogoLabel" type="Label" parent="CenterContainer/MainPanel/VBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1) theme_override_font_sizes/font_size = 48 text = "TEKTON" horizontal_alignment = 1 [node name="SubtitleLabel" type="Label" parent="CenterContainer/MainPanel/VBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.992, 0.796, 0.047, 1) theme_override_font_sizes/font_size = 14 text = "Armageddon" horizontal_alignment = 1 [node name="Spacer1" type="Control" parent="CenterContainer/MainPanel/VBox"] custom_minimum_size = Vector2(0, 16) layout_mode = 2 [node name="GuestButton" type="Button" parent="CenterContainer/MainPanel/VBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 52) layout_mode = 2 theme_override_font_sizes/font_size = 18 text = "▶ PLAY AS GUEST" [node name="Spacer2" type="Control" parent="CenterContainer/MainPanel/VBox"] custom_minimum_size = Vector2(0, 8) layout_mode = 2 [node name="OrLabel" type="Label" parent="CenterContainer/MainPanel/VBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1) text = "─────── or sign in ───────" horizontal_alignment = 1 [node name="EmailInput" type="LineEdit" parent="CenterContainer/MainPanel/VBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 44) layout_mode = 2 placeholder_text = "Email" [node name="PasswordInput" type="LineEdit" parent="CenterContainer/MainPanel/VBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 44) layout_mode = 2 placeholder_text = "Password" secret = true [node name="RememberMe" type="CheckBox" parent="CenterContainer/MainPanel/VBox"] unique_name_in_owner = true layout_mode = 2 button_pressed = true text = "Remember me" [node name="LoginButton" type="Button" parent="CenterContainer/MainPanel/VBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 text = "Sign In" [node name="RegisterLink" type="LinkButton" parent="CenterContainer/MainPanel/VBox"] unique_name_in_owner = true layout_mode = 2 text = "Don't have an account? Register" [node name="Spacer3" type="Control" parent="CenterContainer/MainPanel/VBox"] custom_minimum_size = Vector2(0, 8) layout_mode = 2 [node name="SocialLabel" type="Label" parent="CenterContainer/MainPanel/VBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1) text = "─────── or continue with ───────" horizontal_alignment = 1 [node name="SocialButtons" type="HBoxContainer" parent="CenterContainer/MainPanel/VBox"] layout_mode = 2 theme_override_constants/separation = 12 alignment = 1 [node name="GoogleButton" type="Button" parent="CenterContainer/MainPanel/VBox/SocialButtons"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 44) layout_mode = 2 text = "Google" [node name="AppleButton" type="Button" parent="CenterContainer/MainPanel/VBox/SocialButtons"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 44) layout_mode = 2 text = "Apple" [node name="FacebookButton" type="Button" parent="CenterContainer/MainPanel/VBox/SocialButtons"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 44) layout_mode = 2 text = "Facebook" [node name="StatusLabel" type="Label" parent="CenterContainer/MainPanel/VBox"] unique_name_in_owner = true layout_mode = 2 theme_override_colors/font_color = Color(1, 0.4, 0.4, 1) horizontal_alignment = 1 autowrap_mode = 2 [node name="LoadingSpinner" type="TextureProgressBar" parent="CenterContainer/MainPanel/VBox"] unique_name_in_owner = true visible = false custom_minimum_size = Vector2(40, 40) layout_mode = 2 size_flags_horizontal = 4 [node name="RegistrationPanel" type="PanelContainer" parent="CenterContainer"] unique_name_in_owner = true visible = false custom_minimum_size = Vector2(400, 0) layout_mode = 2 [node name="VBox" type="VBoxContainer" parent="CenterContainer/RegistrationPanel"] layout_mode = 2 theme_override_constants/separation = 12 [node name="Title" type="Label" parent="CenterContainer/RegistrationPanel/VBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.647, 0.996, 0.224, 1) theme_override_font_sizes/font_size = 24 text = "Create Account" horizontal_alignment = 1 [node name="RegEmailInput" type="LineEdit" parent="CenterContainer/RegistrationPanel/VBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 44) layout_mode = 2 placeholder_text = "Email" [node name="RegUsernameInput" type="LineEdit" parent="CenterContainer/RegistrationPanel/VBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 44) layout_mode = 2 placeholder_text = "Username" [node name="RegPasswordInput" type="LineEdit" parent="CenterContainer/RegistrationPanel/VBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 44) layout_mode = 2 placeholder_text = "Password" secret = true [node name="RegConfirmPasswordInput" type="LineEdit" parent="CenterContainer/RegistrationPanel/VBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 44) layout_mode = 2 placeholder_text = "Confirm Password" secret = true [node name="PasswordStrength" type="ProgressBar" parent="CenterContainer/RegistrationPanel/VBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 12) layout_mode = 2 max_value = 4.0 show_percentage = false [node name="PasswordHint" type="Label" parent="CenterContainer/RegistrationPanel/VBox"] unique_name_in_owner = true layout_mode = 2 theme_override_colors/font_color = Color(0.69, 0.529, 0.357, 1) theme_override_font_sizes/font_size = 11 text = "Min 8 characters, include number and symbol" horizontal_alignment = 1 [node name="RegisterButton" type="Button" parent="CenterContainer/RegistrationPanel/VBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 text = "Create Account" [node name="BackToLoginLink" type="LinkButton" parent="CenterContainer/RegistrationPanel/VBox"] unique_name_in_owner = true layout_mode = 2 text = "Already have an account? Sign In" [node name="RegStatusLabel" type="Label" parent="CenterContainer/RegistrationPanel/VBox"] unique_name_in_owner = true layout_mode = 2 theme_override_colors/font_color = Color(1, 0.4, 0.4, 1) horizontal_alignment = 1 autowrap_mode = 2 [node name="VersionLabel" type="Label" parent="."] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -120.0 offset_top = -40.0 offset_right = -16.0 offset_bottom = -16.0 grow_horizontal = 0 grow_vertical = 0 theme_override_colors/font_color = Color(0.6, 0.6, 0.6, 0.6) theme_override_font_sizes/font_size = 11 text = "v1.0.0" horizontal_alignment = 2