328 lines
9.3 KiB
Plaintext
328 lines
9.3 KiB
Plaintext
[gd_scene load_steps=11 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://scenes/auth/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://bwjjynjewaxt8" path="res://assets/ui/47.png" id="4_d1qp1"]
|
|
[ext_resource type="FontFile" uid="uid://bckbv8viuh6lm" path="res://assets/fonts/Berry Rotunda.ttf" id="4_ppeww"]
|
|
[ext_resource type="Texture2D" uid="uid://bh1m4jokiqc0f" path="res://assets/ui/48.png" id="5_jd3mn"]
|
|
[ext_resource type="Texture2D" uid="uid://dmit17arnnwlj" path="res://assets/ui/51.png" id="6_6c4wg"]
|
|
|
|
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_6c4wg"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_m2uy0"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jd3mn"]
|
|
|
|
[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="4" type="Sprite2D" parent="Control/Frame"]
|
|
position = Vector2(103, 104)
|
|
texture = ExtResource("3_6c4wg")
|
|
|
|
[node name="5" type="Sprite2D" parent="Control/Frame"]
|
|
position = Vector2(103, 664.00006)
|
|
rotation = -1.5707964
|
|
texture = ExtResource("3_6c4wg")
|
|
|
|
[node name="6" type="Sprite2D" parent="Control/Frame"]
|
|
position = Vector2(1175, 104)
|
|
rotation = 1.5707964
|
|
texture = ExtResource("3_6c4wg")
|
|
|
|
[node name="7" type="Sprite2D" parent="Control/Frame"]
|
|
position = Vector2(1183, 664)
|
|
rotation = 3.1415927
|
|
texture = ExtResource("3_6c4wg")
|
|
|
|
[node name="Title" type="Label" parent="Control"]
|
|
layout_mode = 0
|
|
offset_left = 199.0
|
|
offset_top = 32.0
|
|
offset_right = 737.0
|
|
offset_bottom = 133.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 = 743.0
|
|
offset_top = 88.0
|
|
offset_right = 1127.0
|
|
offset_bottom = 189.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, 224.33235)
|
|
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
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
theme_override_styles/normal = SubResource("StyleBoxEmpty_m2uy0")
|
|
placeholder_text = "Username"
|
|
expand_to_text_length = true
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="PasswordBG" type="Sprite2D" parent="Control/Login"]
|
|
position = Vector2(640.7998, 292.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
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
theme_override_styles/normal = SubResource("StyleBoxEmpty_jd3mn")
|
|
placeholder_text = "Password"
|
|
expand_to_text_length = true
|
|
secret = true
|
|
|
|
[node name="LoginTextureBtn" type="TextureButton" parent="Control/Login"]
|
|
layout_mode = 0
|
|
offset_left = 506.7998
|
|
offset_top = 358.33234
|
|
offset_right = 757.7998
|
|
offset_bottom = 437.33234
|
|
texture_normal = ExtResource("5_jd3mn")
|
|
texture_pressed = ExtResource("4_d1qp1")
|
|
|
|
[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 = -39.5
|
|
offset_top = -22.5
|
|
offset_right = 2.5
|
|
offset_bottom = 0.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 = 0
|
|
offset_left = 506.7998
|
|
offset_top = 449.33234
|
|
offset_right = 757.7998
|
|
offset_bottom = 528.33234
|
|
texture_normal = ExtResource("5_jd3mn")
|
|
texture_pressed = ExtResource("4_d1qp1")
|
|
|
|
[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 = -59.5
|
|
offset_top = -23.5
|
|
offset_right = 4.5
|
|
offset_bottom = -0.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(640.8, 194.1185)
|
|
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 = -13.332565
|
|
offset_right = 46.10527
|
|
offset_bottom = 17.667435
|
|
placeholder_text = "Username"
|
|
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 = -67.45617
|
|
offset_top = -13.843033
|
|
offset_right = 68.54383
|
|
offset_bottom = 17.156967
|
|
placeholder_text = "Character Name"
|
|
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 = -32.368446
|
|
offset_top = -16.395363
|
|
offset_right = 36.194054
|
|
offset_bottom = 14.604637
|
|
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 = -39.385986
|
|
offset_top = -15.884884
|
|
offset_right = 44.614014
|
|
offset_bottom = 15.115116
|
|
placeholder_text = "Password"
|
|
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 = -74.473694
|
|
offset_top = -15.884899
|
|
offset_right = 76.526306
|
|
offset_bottom = 15.115101
|
|
placeholder_text = "Confirm Password"
|
|
expand_to_text_length = true
|
|
secret = true
|
|
|
|
[node name="RegisterBtn" type="TextureButton" parent="Control/Register"]
|
|
layout_mode = 0
|
|
offset_left = 527.0
|
|
offset_top = 584.0
|
|
offset_right = 778.0
|
|
offset_bottom = 663.0
|
|
texture_normal = ExtResource("5_jd3mn")
|
|
texture_pressed = ExtResource("4_d1qp1")
|
|
|
|
[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 = -39.5
|
|
offset_top = -22.5
|
|
offset_right = 2.5
|
|
offset_bottom = 0.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 = 656.0
|
|
offset_right = 778.0
|
|
offset_bottom = 735.0
|
|
texture_normal = ExtResource("5_jd3mn")
|
|
texture_pressed = ExtResource("4_d1qp1")
|
|
|
|
[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 = -39.5
|
|
offset_top = -22.5
|
|
offset_right = 2.5
|
|
offset_bottom = 0.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
|