[gd_scene load_steps=18 format=3 uid="uid://dl1ohomaanbth"] [ext_resource type="Script" uid="uid://bq76ikog47k8" path="res://scripts/ui/auth_ui.gd" id="1_uce43"] [ext_resource type="Texture2D" uid="uid://cdasq4ydwp73d" path="res://assets/ui/bg1.png" id="2_d1qp1"] [ext_resource type="Texture2D" uid="uid://i8ew8xhb8wlt" path="res://assets/ui/4.png" id="3_6c4wg"] [ext_resource type="Texture2D" uid="uid://cbbd5opwb6ahf" path="res://assets/ui/bottomBorder.png" id="3_ppeww"] [ext_resource type="FontFile" uid="uid://bckbv8viuh6lm" path="res://assets/fonts/Berry Rotunda.ttf" id="4_ppeww"] [ext_resource type="Texture2D" uid="uid://durhuwtbosgvc" path="res://assets/ui/ButtonUp.png" id="6_0m802"] [ext_resource type="Texture2D" uid="uid://dmit17arnnwlj" path="res://assets/ui/51.png" id="6_6c4wg"] [ext_resource type="Texture2D" uid="uid://5dgfhg5hg4km" path="res://assets/ui/ButtonDown.png" id="7_sffoi"] [ext_resource type="Texture2D" uid="uid://ba23l6sebimtc" path="res://assets/ui/ButtonFocus.png" id="9_0m802"] [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_6c4wg"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_m2uy0"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jd3mn"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6c4wg"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ppeww"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0m802"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_sffoi"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_15wjk"] [node name="AuthScene" type="CanvasLayer"] script = ExtResource("1_uce43") [node name="Control" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 1.0 offset_right = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Background" type="ColorRect" parent="Control"] material = SubResource("CanvasItemMaterial_6c4wg") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.07284262, 0.072842635, 0.072842605, 1) [node name="TextureRect" type="TextureRect" parent="Control"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("2_d1qp1") expand_mode = 1 [node name="Frame" type="Control" parent="Control"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="BottomBorder" type="Sprite2D" parent="Control/Frame"] position = Vector2(639, 720) texture = ExtResource("3_ppeww") [node name="BottomBorder2" type="Sprite2D" parent="Control/Frame"] position = Vector2(647, 46) rotation = 3.1415927 texture = ExtResource("3_ppeww") [node name="BottomBorder3" type="Sprite2D" parent="Control/Frame"] position = Vector2(23, 392) rotation = 1.5707964 scale = Vector2(0.5, 0.5) texture = ExtResource("3_ppeww") [node name="BottomBorder4" type="Sprite2D" parent="Control/Frame"] position = Vector2(1255, 384) rotation = 4.712389 scale = Vector2(0.5, 0.5) texture = ExtResource("3_ppeww") [node name="4" type="Sprite2D" parent="Control/Frame"] position = Vector2(103, 100) texture = ExtResource("3_6c4wg") [node name="5" type="Sprite2D" parent="Control/Frame"] position = Vector2(100, 665) rotation = -1.5707964 texture = ExtResource("3_6c4wg") [node name="6" type="Sprite2D" parent="Control/Frame"] position = Vector2(1180, 104) rotation = 1.5707964 texture = ExtResource("3_6c4wg") [node name="7" type="Sprite2D" parent="Control/Frame"] position = Vector2(1175, 664) rotation = 3.1415927 texture = ExtResource("3_6c4wg") [node name="Title" type="Label" parent="Control"] layout_mode = 0 offset_left = 191.0 offset_top = 56.0 offset_right = 729.0 offset_bottom = 157.0 theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_fonts/font = ExtResource("4_ppeww") theme_override_font_sizes/font_size = 100 text = "Dungeon" [node name="Title2" type="Label" parent="Control"] layout_mode = 0 offset_left = 735.0 offset_top = 64.0 offset_right = 1119.0 offset_bottom = 165.0 theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_fonts/font = ExtResource("4_ppeww") theme_override_font_sizes/font_size = 100 text = "Divers" [node name="Login" type="Control" parent="Control"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="UsernameBG" type="Sprite2D" parent="Control/Login"] position = Vector2(640.7998, 256.33234) scale = Vector2(2.2799976, 1.5038302) texture = ExtResource("6_6c4wg") [node name="Username" type="LineEdit" parent="Control/Login/UsernameBG"] offset_left = -46.808556 offset_top = -16.129044 offset_right = 42.191444 offset_bottom = 14.870956 focus_next = NodePath("../../PasswordBG/Password") focus_previous = NodePath("../../RegisterTextureBtn") theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_styles/normal = SubResource("StyleBoxEmpty_m2uy0") placeholder_text = "Username" alignment = 1 expand_to_text_length = true metadata/_edit_use_anchors_ = true [node name="PasswordBG" type="Sprite2D" parent="Control/Login"] position = Vector2(640.7998, 324.33237) scale = Vector2(2.2799976, 1.5038302) texture = ExtResource("6_6c4wg") [node name="Password" type="LineEdit" parent="Control/Login/PasswordBG"] offset_left = -46.27666 offset_top = -16.129025 offset_right = 42.72334 offset_bottom = 14.8709755 focus_next = NodePath("../../LoginTextureBtn") focus_previous = NodePath("../../UsernameBG/Username") theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_styles/normal = SubResource("StyleBoxEmpty_jd3mn") placeholder_text = "Password" alignment = 1 expand_to_text_length = true secret = true [node name="LoginTextureBtn" type="TextureButton" parent="Control/Login"] layout_mode = 1 anchors_preset = -1 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -129.0 offset_top = 8.0 offset_right = 122.0 offset_bottom = 87.0 grow_horizontal = 2 grow_vertical = 2 focus_next = NodePath("../RegisterTextureBtn") focus_previous = NodePath("../PasswordBG/Password") texture_normal = ExtResource("6_0m802") texture_pressed = ExtResource("7_sffoi") texture_focused = ExtResource("9_0m802") ignore_texture_size = true [node name="LoginBtnLabel" type="Label" parent="Control/Login/LoginTextureBtn"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -37.5 offset_top = -33.5 offset_right = 4.5 offset_bottom = -10.5 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(1.8799988, 1.8799988) theme_override_colors/font_color = Color(0, 0, 0, 1) text = "Login" horizontal_alignment = 1 [node name="RegisterTextureBtn" type="TextureButton" parent="Control/Login"] layout_mode = 1 anchors_preset = -1 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -129.0 offset_top = -296.0 offset_right = 122.0 offset_bottom = -217.0 grow_horizontal = 2 grow_vertical = 0 focus_next = NodePath("../UsernameBG/Username") focus_previous = NodePath("../LoginTextureBtn") texture_normal = ExtResource("6_0m802") texture_pressed = ExtResource("7_sffoi") texture_focused = ExtResource("9_0m802") [node name="RegisterBtnLabel" type="Label" parent="Control/Login/RegisterTextureBtn"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -61.5 offset_top = -31.5 offset_right = 2.5 offset_bottom = -8.5 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(2, 2) theme_override_colors/font_color = Color(0, 0, 0, 1) text = "Register" [node name="Register" type="Control" parent="Control"] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="InputBG" type="Sprite2D" parent="Control/Register"] position = Vector2(639, 200.00002) scale = Vector2(2.28, 1.959) texture = ExtResource("6_6c4wg") [node name="RegUsernameInput" type="LineEdit" parent="Control/Register/InputBG"] offset_left = -42.89473 offset_top = -17.416283 offset_right = 46.10527 offset_bottom = 13.583717 focus_next = NodePath("../../InputBG2/CharNameInput") focus_previous = NodePath("../../BackBtn2") theme_override_styles/normal = SubResource("StyleBoxEmpty_6c4wg") placeholder_text = "Username" alignment = 1 expand_to_text_length = true [node name="InputBG2" type="Sprite2D" parent="Control/Register"] position = Vector2(640.80005, 283.1185) scale = Vector2(2.28, 1.959) texture = ExtResource("6_6c4wg") [node name="CharNameInput" type="LineEdit" parent="Control/Register/InputBG2"] offset_left = -63.947395 offset_top = -17.92675 offset_right = 72.052605 offset_bottom = 13.07325 focus_next = NodePath("../../InputBG3/RegEmailInput") focus_previous = NodePath("../../InputBG/RegUsernameInput") theme_override_styles/normal = SubResource("StyleBoxEmpty_ppeww") placeholder_text = "Character Name" alignment = 1 expand_to_text_length = true [node name="InputBG3" type="Sprite2D" parent="Control/Register"] position = Vector2(640.80005, 368.1185) scale = Vector2(2.28, 1.959) texture = ExtResource("6_6c4wg") [node name="RegEmailInput" type="LineEdit" parent="Control/Register/InputBG3"] offset_left = -25.350903 offset_top = -16.395363 offset_right = 43.211597 offset_bottom = 14.604637 focus_next = NodePath("../../InputBG4/RegPasswordInput") focus_previous = NodePath("../../InputBG2/CharNameInput") theme_override_styles/normal = SubResource("StyleBoxEmpty_0m802") placeholder_text = "Email" expand_to_text_length = true [node name="InputBG4" type="Sprite2D" parent="Control/Register"] position = Vector2(640.80005, 455.1185) scale = Vector2(2.28, 1.959) texture = ExtResource("6_6c4wg") [node name="RegPasswordInput" type="LineEdit" parent="Control/Register/InputBG4"] offset_left = -35.877213 offset_top = -15.884884 offset_right = 48.122787 offset_bottom = 15.115116 focus_next = NodePath("../../InputBG5/RegConfirmPasswordInput") focus_previous = NodePath("../../InputBG3/RegEmailInput") theme_override_styles/normal = SubResource("StyleBoxEmpty_sffoi") placeholder_text = "Password" alignment = 1 expand_to_text_length = true secret = true [node name="InputBG5" type="Sprite2D" parent="Control/Register"] position = Vector2(640.80005, 543.1185) scale = Vector2(2.28, 1.959) texture = ExtResource("6_6c4wg") [node name="RegConfirmPasswordInput" type="LineEdit" parent="Control/Register/InputBG5"] offset_left = -70.964935 offset_top = -15.884899 offset_right = 80.035065 offset_bottom = 15.115101 focus_next = NodePath("../../RegisterBtn") focus_previous = NodePath("../../InputBG4/RegPasswordInput") theme_override_styles/normal = SubResource("StyleBoxEmpty_15wjk") placeholder_text = "Confirm Password" alignment = 1 expand_to_text_length = true secret = true [node name="RegisterBtn" type="TextureButton" parent="Control/Register"] layout_mode = 0 offset_left = 527.0 offset_top = 592.0 offset_right = 778.0 offset_bottom = 671.0 focus_next = NodePath("../BackBtn2") focus_previous = NodePath("../InputBG5/RegConfirmPasswordInput") texture_normal = ExtResource("6_0m802") texture_pressed = ExtResource("7_sffoi") texture_focused = ExtResource("9_0m802") [node name="RegisterTBtnLabel" type="Label" parent="Control/Register/RegisterBtn"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -53.5 offset_top = -31.5 offset_right = 10.5 offset_bottom = -8.5 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(1.8799988, 1.8799988) theme_override_colors/font_color = Color(0, 0, 0, 1) text = "Register" horizontal_alignment = 1 [node name="BackBtn2" type="TextureButton" parent="Control/Register"] layout_mode = 0 offset_left = 527.0 offset_top = 664.0 offset_right = 778.0 offset_bottom = 743.0 focus_next = NodePath("../InputBG/RegUsernameInput") focus_previous = NodePath("../RegisterBtn") texture_normal = ExtResource("6_0m802") texture_pressed = ExtResource("7_sffoi") texture_focused = ExtResource("9_0m802") [node name="BackBtnLabel" type="Label" parent="Control/Register/BackBtn2"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -37.5 offset_top = -31.5 offset_right = 4.5 offset_bottom = -8.5 grow_horizontal = 2 grow_vertical = 2 scale = Vector2(1.8799988, 1.8799988) theme_override_colors/font_color = Color(0, 0, 0, 1) text = "Back" horizontal_alignment = 1 [node name="StatusLabel" type="Label" parent="Control"] layout_mode = 0 offset_left = 623.0 offset_top = 736.0 offset_right = 663.0 offset_bottom = 759.0