Remember Me (login screen): - AES-256-CBC encrypted credential storage in user://creds.dat - Key XOR-obfuscated across two halves; random IV stored with ciphertext - Checkbox pre-fills email/password on next launch; unchecking clears saved creds SVG affinity icons (web-compatible): - Replace emoji art symbols (🔥💧⛰💨⚡✦★) with SVG TextureRect in CardWidget - 7 new icons/affinity_*.svg — monochrome white, modulate-tinted at runtime - ArtSymbol node changed from Label to TextureRect (stretch_mode = keep-aspect-centred) Card detail popup (collection screen): - Tap any card in Cards tab to see full stats + abilities overlay - CardDetailPopup added to viewport root (avoids VBoxContainer layout conflict) - Shows: name, affinity icon, foil badge, type/affinity/rarity, all 6 stats, and parsed ability list with names + descriptions - Dismiss by tapping ✕ or the dim background overlay Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
169 lines
5.1 KiB
Plaintext
169 lines
5.1 KiB
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scenes/login/login_screen.gd" id="1_login"]
|
|
|
|
[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
|
|
script = ExtResource("1_login")
|
|
|
|
[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.094, 0.094, 0.137, 1.0)
|
|
|
|
[node name="Center" 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="Panel" type="PanelContainer" parent="Center"]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(360, 0)
|
|
|
|
[node name="Margin" type="MarginContainer" parent="Center/Panel"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 28
|
|
theme_override_constants/margin_top = 28
|
|
theme_override_constants/margin_right = 28
|
|
theme_override_constants/margin_bottom = 28
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="Center/Panel/Margin"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 14
|
|
|
|
[node name="Title" type="Label" parent="Center/Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
text = "ORIGIN"
|
|
horizontal_alignment = 1
|
|
theme_override_font_sizes/font_size = 30
|
|
|
|
[node name="Subtitle" type="Label" parent="Center/Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
text = "Stone of Ruin"
|
|
horizontal_alignment = 1
|
|
modulate = Color(0.6, 0.6, 0.65, 1.0)
|
|
theme_override_font_sizes/font_size = 13
|
|
|
|
[node name="Spacer" type="Control" parent="Center/Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 6)
|
|
|
|
[node name="Tabs" type="TabContainer" parent="Center/Panel/Margin/VBox"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Login" type="VBoxContainer" parent="Center/Panel/Margin/VBox/Tabs"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="EmailLabel" type="Label" parent="Center/Panel/Margin/VBox/Tabs/Login"]
|
|
layout_mode = 2
|
|
text = "Email"
|
|
|
|
[node name="EmailInput" type="LineEdit" parent="Center/Panel/Margin/VBox/Tabs/Login"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 44)
|
|
placeholder_text = "your@email.com"
|
|
virtual_keyboard_type = 5
|
|
theme_override_font_sizes/font_size = 15
|
|
|
|
[node name="PasswordLabel" type="Label" parent="Center/Panel/Margin/VBox/Tabs/Login"]
|
|
layout_mode = 2
|
|
text = "Password"
|
|
|
|
[node name="PasswordInput" type="LineEdit" parent="Center/Panel/Margin/VBox/Tabs/Login"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 44)
|
|
placeholder_text = "••••••••"
|
|
secret = true
|
|
theme_override_font_sizes/font_size = 15
|
|
|
|
[node name="RememberMe" type="CheckBox" parent="Center/Panel/Margin/VBox/Tabs/Login"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Remember me"
|
|
theme_override_font_sizes/font_size = 13
|
|
|
|
[node name="LoginSpacer" type="Control" parent="Center/Panel/Margin/VBox/Tabs/Login"]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 4)
|
|
|
|
[node name="LoginBtn" type="Button" parent="Center/Panel/Margin/VBox/Tabs/Login"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 48)
|
|
text = "Sign In"
|
|
theme_override_font_sizes/font_size = 15
|
|
|
|
[node name="Register" type="VBoxContainer" parent="Center/Panel/Margin/VBox/Tabs"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="RegEmailLabel" type="Label" parent="Center/Panel/Margin/VBox/Tabs/Register"]
|
|
layout_mode = 2
|
|
text = "Email"
|
|
|
|
[node name="RegEmailInput" type="LineEdit" parent="Center/Panel/Margin/VBox/Tabs/Register"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 44)
|
|
placeholder_text = "your@email.com"
|
|
virtual_keyboard_type = 5
|
|
theme_override_font_sizes/font_size = 15
|
|
|
|
[node name="RegPasswordLabel" type="Label" parent="Center/Panel/Margin/VBox/Tabs/Register"]
|
|
layout_mode = 2
|
|
text = "Password"
|
|
|
|
[node name="RegPasswordInput" type="LineEdit" parent="Center/Panel/Margin/VBox/Tabs/Register"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 44)
|
|
placeholder_text = "••••••••"
|
|
secret = true
|
|
theme_override_font_sizes/font_size = 15
|
|
|
|
[node name="RegNameLabel" type="Label" parent="Center/Panel/Margin/VBox/Tabs/Register"]
|
|
layout_mode = 2
|
|
text = "Display Name"
|
|
|
|
[node name="RegNameInput" type="LineEdit" parent="Center/Panel/Margin/VBox/Tabs/Register"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 44)
|
|
placeholder_text = "YourName"
|
|
theme_override_font_sizes/font_size = 15
|
|
|
|
[node name="RegSpacer" type="Control" parent="Center/Panel/Margin/VBox/Tabs/Register"]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 4)
|
|
|
|
[node name="RegisterBtn" type="Button" parent="Center/Panel/Margin/VBox/Tabs/Register"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 48)
|
|
text = "Create Account"
|
|
theme_override_font_sizes/font_size = 15
|
|
|
|
[node name="StatusLabel" type="Label" parent="Center/Panel/Margin/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
horizontal_alignment = 1
|
|
autowrap_mode = 3
|
|
modulate = Color(0.8, 0.8, 0.8, 1.0)
|
|
theme_override_font_sizes/font_size = 13
|