UI Changes

This commit is contained in:
dingo
2026-01-12 07:55:42 -05:00
parent 2dac2c9e72
commit f53f39d7b0
13 changed files with 417 additions and 103 deletions
Binary file not shown.
+36
View File
@@ -0,0 +1,36 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://bckbv8viuh6lm"
path="res://.godot/imported/Berry Rotunda.ttf-76bb41807f242fbe4598566cfa71353e.fontdata"
[deps]
source_file="res://assets/fonts/Berry Rotunda.ttf"
dest_files=["res://.godot/imported/Berry Rotunda.ttf-76bb41807f242fbe4598566cfa71353e.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
disable_embedded_bitmaps=true
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
modulate_color_glyphs=false
hinting=1
subpixel_positioning=4
keep_rounding_remainders=true
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bnfmlsfqcboqy"
path="res://.godot/imported/2.png-23d81c3e1bb82fa85167acda3b731647.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/2.png"
dest_files=["res://.godot/imported/2.png-23d81c3e1bb82fa85167acda3b731647.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://i8ew8xhb8wlt"
path="res://.godot/imported/4.png-53f05efa2bd6c0c2c1f37713d26664c3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/4.png"
dest_files=["res://.godot/imported/4.png-53f05efa2bd6c0c2c1f37713d26664c3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://pqkxmr8ktlek"
path="res://.godot/imported/45.png-b52558e0d3b969656c403b059c8ebd3c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/45.png"
dest_files=["res://.godot/imported/45.png-b52558e0d3b969656c403b059c8ebd3c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://lj2lwqifn3rt"
path="res://.godot/imported/6.png-d8576ffcae7aace131e4fdb015d582e6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/ui/6.png"
dest_files=["res://.godot/imported/6.png-d8576ffcae7aace131e4fdb015d582e6.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+1 -1
View File
@@ -31,7 +31,7 @@ html/custom_html_shell=""
html/head_include=""
html/canvas_resize_policy=2
html/focus_canvas_on_start=true
html/experimental_virtual_keyboard=false
html/experimental_virtual_keyboard=true
progressive_web_app/enabled=false
progressive_web_app/ensure_cross_origin_isolation_headers=true
progressive_web_app/offline_page=""
+209 -91
View File
@@ -1,12 +1,19 @@
[gd_scene load_steps=6 format=3 uid="uid://dl1ohomaanbth"]
[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://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"]
[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")
@@ -15,6 +22,8 @@ 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
@@ -38,22 +47,53 @@ 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 = 392.0
offset_top = 264.0
offset_right = 550.0
offset_bottom = 314.0
theme_override_font_sizes/font_size = 36
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 = 746.0
offset_top = 274.0
offset_right = 904.0
offset_bottom = 324.0
theme_override_font_sizes/font_size = 36
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"]
@@ -64,37 +104,48 @@ 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
[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="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
[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="TextureButton" type="TextureButton" parent="Control/Login"]
[node name="LoginTextureBtn" 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")
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="Login" type="Label" parent="Control/Login/TextureButton"]
[node name="LoginBtnLabel" type="Label" parent="Control/Login/LoginTextureBtn"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@@ -112,21 +163,30 @@ 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
[node name="RegisterTextureBtn" type="TextureButton" parent="Control/Login"]
layout_mode = 0
offset_left = 617.0
offset_top = 480.0
offset_right = 667.0
offset_bottom = 511.0
text = "Login"
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="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
[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"]
@@ -138,72 +198,130 @@ 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
[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="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
[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="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
[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="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
[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="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
[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="RegisterButton" type="Button" parent="Control/Register"]
[node name="RegisterBtn" type="TextureButton" parent="Control/Register"]
layout_mode = 0
offset_left = 547.0
offset_top = 490.0
offset_right = 619.0
offset_bottom = 521.0
text = "Register"
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="BackBtn" type="Button" parent="Control/Register"]
[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 = 644.0
offset_top = 491.0
offset_right = 689.0
offset_bottom = 522.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 = 604.0
offset_top = 554.0
offset_right = 644.0
offset_bottom = 577.0
offset_left = 623.0
offset_top = 736.0
offset_right = 663.0
offset_bottom = 759.0
+11 -11
View File
@@ -1,19 +1,19 @@
extends CanvasLayer
@onready var login_control = $Control/Login
@onready var username_input = $Control/Login/Username #$Control/CenterContainer/VBoxContainer/TabContainer/Login/UsernameInput
@onready var password_input = $Control/Login/Password #$Control/CenterContainer/VBoxContainer/TabContainer/Login/PasswordInput
@onready var login_button = $Control/Login/TextureButton#$Control/Login/LoginBtn #$Control/CenterContainer/VBoxContainer/TabContainer/Login/LoginButton
@onready var register_btn = $Control/Login/RegisterBtn
@onready var username_input = $Control/Login/UsernameBG/Username #$Control/CenterContainer/VBoxContainer/TabContainer/Login/UsernameInput
@onready var password_input = $Control/Login/PasswordBG/Password #$Control/CenterContainer/VBoxContainer/TabContainer/Login/PasswordInput
@onready var login_button = $Control/Login/LoginTextureBtn#$Control/Login/LoginBtn #$Control/CenterContainer/VBoxContainer/TabContainer/Login/LoginButton
@onready var register_btn = $Control/Login/RegisterTextureBtn
@onready var register_control = $Control/Register
@onready var reg_username = $Control/Register/RegUsernameInput #$Control/CenterContainer/VBoxContainer/TabContainer/Register/RegUsernameInput
@onready var reg_email = $Control/Register/RegEmailInput #$Control/CenterContainer/VBoxContainer/TabContainer/Register/RegEmailInput
@onready var reg_password = $Control/Register/RegPasswordInput #$Control/CenterContainer/VBoxContainer/TabContainer/Register/RegPasswordInput
@onready var reg_passwordConfirm = $Control/Register/RegConfirmPasswordInput #$Control/CenterContainer/VBoxContainer/TabContainer/Register/RegConfirmPasswordInput
@onready var char_name = $Control/Register/CharNameInput #$Control/CenterContainer/VBoxContainer/TabContainer/Register/CharNameInput
@onready var register_button = $Control/Register/RegisterButton #$Control/CenterContainer/VBoxContainer/TabContainer/Register/RegisterButton
@onready var back_btn = $Control/Register/BackBtn
@onready var reg_username = $Control/Register/InputBG/RegUsernameInput #$Control/CenterContainer/VBoxContainer/TabContainer/Register/RegUsernameInput
@onready var reg_email = $Control/Register/InputBG3/RegEmailInput #$Control/CenterContainer/VBoxContainer/TabContainer/Register/RegEmailInput
@onready var reg_password = $Control/Register/InputBG4/RegPasswordInput #$Control/CenterContainer/VBoxContainer/TabContainer/Register/RegPasswordInput
@onready var reg_passwordConfirm = $Control/Register/InputBG5/RegConfirmPasswordInput #$Control/CenterContainer/VBoxContainer/TabContainer/Register/RegConfirmPasswordInput
@onready var char_name = $Control/Register/InputBG2/CharNameInput #$Control/CenterContainer/VBoxContainer/TabContainer/Register/CharNameInput
@onready var register_button = $Control/Register/RegisterBtn #$Control/CenterContainer/VBoxContainer/TabContainer/Register/RegisterButton
@onready var back_btn = $Control/Register/BackBtn2
@onready var status_label = $Control/StatusLabel#$Control/CenterContainer/VBoxContainer/StatusLabel