Files
dungeon-divers/scenes/auth/AuthScene.tscn
T
2026-01-11 09:25:29 -05:00

210 lines
5.2 KiB
Plaintext

[gd_scene load_steps=6 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://crmswytn4ulgk" path="res://assets/ui/38.png" id="3_m2uy0"]
[ext_resource type="Texture2D" uid="uid://sd28ri0okg8i" path="res://assets/ui/37.png" id="4_jd3mn"]
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_6c4wg"]
[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
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="Title" type="Label" parent="Control"]
layout_mode = 0
offset_left = 392.0
offset_top = 264.0
offset_right = 550.0
offset_bottom = 314.0
theme_override_font_sizes/font_size = 36
text = "Dungeon"
[node name="Title2" type="Label" parent="Control"]
layout_mode = 0
offset_left = 746.0
offset_top = 274.0
offset_right = 904.0
offset_bottom = 324.0
theme_override_font_sizes/font_size = 36
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="Username" type="LineEdit" parent="Control/Login"]
layout_mode = 0
offset_left = 659.0
offset_top = 359.0
offset_right = 748.0
offset_bottom = 390.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
placeholder_text = "Username"
expand_to_text_length = true
[node name="Password" type="LineEdit" parent="Control/Login"]
layout_mode = 0
offset_left = 663.0
offset_top = 414.0
offset_right = 752.0
offset_bottom = 445.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
placeholder_text = "Password"
expand_to_text_length = true
secret = true
[node name="TextureButton" type="TextureButton" parent="Control/Login"]
layout_mode = 0
offset_left = 541.0
offset_top = 465.0
offset_right = 730.0
offset_bottom = 534.0
texture_normal = ExtResource("3_m2uy0")
texture_pressed = ExtResource("4_jd3mn")
[node name="Login" type="Label" parent="Control/Login/TextureButton"]
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="LoginBtn" type="Button" parent="Control/Login"]
visible = false
layout_mode = 0
offset_left = 617.0
offset_top = 480.0
offset_right = 667.0
offset_bottom = 511.0
text = "Login"
[node name="RegisterBtn" type="Button" parent="Control/Login"]
layout_mode = 0
offset_left = 661.0
offset_top = 559.0
offset_right = 733.0
offset_bottom = 590.0
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="RegUsernameInput" type="LineEdit" parent="Control/Register"]
layout_mode = 0
offset_left = 578.0
offset_top = 269.0
offset_right = 646.5625
offset_bottom = 300.0
placeholder_text = "Username"
expand_to_text_length = true
[node name="CharNameInput" type="LineEdit" parent="Control/Register"]
layout_mode = 0
offset_left = 558.0
offset_top = 310.0
offset_right = 694.0
offset_bottom = 341.0
placeholder_text = "Character Name"
expand_to_text_length = true
[node name="RegEmailInput" type="LineEdit" parent="Control/Register"]
layout_mode = 0
offset_left = 593.0
offset_top = 355.0
offset_right = 661.5625
offset_bottom = 386.0
placeholder_text = "Email"
expand_to_text_length = true
[node name="RegPasswordInput" type="LineEdit" parent="Control/Register"]
layout_mode = 0
offset_left = 585.0
offset_top = 394.0
offset_right = 653.5625
offset_bottom = 425.0
placeholder_text = "Password"
expand_to_text_length = true
secret = true
[node name="RegConfirmPasswordInput" type="LineEdit" parent="Control/Register"]
layout_mode = 0
offset_left = 549.0
offset_top = 436.0
offset_right = 700.0
offset_bottom = 467.0
placeholder_text = "Confirm Password"
expand_to_text_length = true
secret = true
[node name="RegisterButton" type="Button" parent="Control/Register"]
layout_mode = 0
offset_left = 547.0
offset_top = 490.0
offset_right = 619.0
offset_bottom = 521.0
text = "Register"
[node name="BackBtn" type="Button" parent="Control/Register"]
layout_mode = 0
offset_left = 644.0
offset_top = 491.0
offset_right = 689.0
offset_bottom = 522.0
text = "Back"
[node name="StatusLabel" type="Label" parent="Control"]
layout_mode = 0
offset_left = 604.0
offset_top = 554.0
offset_right = 644.0
offset_bottom = 577.0