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>
149 lines
4.3 KiB
Plaintext
149 lines
4.3 KiB
Plaintext
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scenes/collection/components/card_detail_popup.gd" id="1_cdp"]
|
|
|
|
[node name="CardDetailPopup" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 0
|
|
visible = false
|
|
script = ExtResource("1_cdp")
|
|
|
|
[node name="Overlay" type="ColorRect" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.0, 0.0, 0.0, 0.72)
|
|
mouse_filter = 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
|
|
mouse_filter = 2
|
|
|
|
[node name="Panel" type="PanelContainer" parent="Center"]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(310, 0)
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="Center/Panel"]
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(0, 0)
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="Inner" type="MarginContainer" parent="Center/Panel/Scroll"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/margin_left = 14
|
|
theme_override_constants/margin_top = 14
|
|
theme_override_constants/margin_right = 14
|
|
theme_override_constants/margin_bottom = 14
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="Center/Panel/Scroll/Inner"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="HeaderRow" type="HBoxContainer" parent="Center/Panel/Scroll/Inner/VBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="AffinityIcon" type="TextureRect" parent="Center/Panel/Scroll/Inner/VBox/HeaderRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(28, 28)
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="NameLabel" type="Label" parent="Center/Panel/Scroll/Inner/VBox/HeaderRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Card Name"
|
|
vertical_alignment = 1
|
|
theme_override_font_sizes/font_size = 18
|
|
|
|
[node name="FoilBadge" type="Label" parent="Center/Panel/Scroll/Inner/VBox/HeaderRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "✦ Foil"
|
|
visible = false
|
|
modulate = Color(0.95, 0.85, 0.30, 1.0)
|
|
vertical_alignment = 1
|
|
theme_override_font_sizes/font_size = 12
|
|
|
|
[node name="CloseBtn" type="Button" parent="Center/Panel/Scroll/Inner/VBox/HeaderRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
custom_minimum_size = Vector2(32, 32)
|
|
text = "✕"
|
|
theme_override_font_sizes/font_size = 16
|
|
|
|
[node name="TagRow" type="HBoxContainer" parent="Center/Panel/Scroll/Inner/VBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="TypeLabel" type="Label" parent="Center/Panel/Scroll/Inner/VBox/TagRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = ""
|
|
modulate = Color(0.70, 0.70, 0.80, 1.0)
|
|
theme_override_font_sizes/font_size = 13
|
|
|
|
[node name="TagFill" type="Control" parent="Center/Panel/Scroll/Inner/VBox/TagRow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="AffinityLabel" type="Label" parent="Center/Panel/Scroll/Inner/VBox/TagRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = ""
|
|
theme_override_font_sizes/font_size = 13
|
|
|
|
[node name="TagFill2" type="Control" parent="Center/Panel/Scroll/Inner/VBox/TagRow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="RarityLabel" type="Label" parent="Center/Panel/Scroll/Inner/VBox/TagRow"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = ""
|
|
theme_override_font_sizes/font_size = 13
|
|
|
|
[node name="StatsSep" type="HSeparator" parent="Center/Panel/Scroll/Inner/VBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="StatsGrid" type="GridContainer" parent="Center/Panel/Scroll/Inner/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
columns = 4
|
|
theme_override_constants/h_separation = 8
|
|
theme_override_constants/v_separation = 6
|
|
|
|
[node name="AbilitiesSep" type="HSeparator" parent="Center/Panel/Scroll/Inner/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
visible = false
|
|
|
|
[node name="AbilitiesTitle" type="Label" parent="Center/Panel/Scroll/Inner/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Abilities"
|
|
visible = false
|
|
theme_override_font_sizes/font_size = 14
|
|
|
|
[node name="AbilitiesList" type="VBoxContainer" parent="Center/Panel/Scroll/Inner/VBox"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 6
|