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>
137 lines
3.8 KiB
Plaintext
137 lines
3.8 KiB
Plaintext
[gd_scene load_steps=2 format=3]
|
||
|
||
[ext_resource type="Script" path="res://scenes/collection/components/card_widget.gd" id="1_cw"]
|
||
|
||
[node name="CardWidget" type="PanelContainer"]
|
||
custom_minimum_size = Vector2(146, 204)
|
||
script = ExtResource("1_cw")
|
||
|
||
[node name="Margin" type="MarginContainer" parent="."]
|
||
layout_mode = 2
|
||
theme_override_constants/margin_left = 5
|
||
theme_override_constants/margin_top = 5
|
||
theme_override_constants/margin_right = 5
|
||
theme_override_constants/margin_bottom = 5
|
||
|
||
[node name="VBox" type="VBoxContainer" parent="Margin"]
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 3
|
||
|
||
[node name="TopRow" type="HBoxContainer" parent="Margin/VBox"]
|
||
layout_mode = 2
|
||
custom_minimum_size = Vector2(0, 20)
|
||
theme_override_constants/separation = 2
|
||
|
||
[node name="SpLabel" type="Label" parent="Margin/VBox/TopRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "◆?"
|
||
theme_override_font_sizes/font_size = 12
|
||
|
||
[node name="TopFill" type="Control" parent="Margin/VBox/TopRow"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="FoilLabel" type="Label" parent="Margin/VBox/TopRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "✦"
|
||
visible = false
|
||
modulate = Color(0.95, 0.85, 0.30, 1.0)
|
||
theme_override_font_sizes/font_size = 12
|
||
|
||
[node name="StLabel" type="Label" parent="Margin/VBox/TopRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = ""
|
||
visible = false
|
||
theme_override_font_sizes/font_size = 12
|
||
|
||
[node name="ArtArea" type="Panel" parent="Margin/VBox"]
|
||
layout_mode = 2
|
||
size_flags_vertical = 3
|
||
custom_minimum_size = Vector2(0, 80)
|
||
|
||
[node name="ArtRect" type="ColorRect" parent="Margin/VBox/ArtArea"]
|
||
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.18, 0.18, 0.24, 1.0)
|
||
|
||
[node name="ArtSymbol" type="TextureRect" parent="Margin/VBox/ArtArea"]
|
||
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
|
||
expand_mode = 1
|
||
stretch_mode = 5
|
||
modulate = Color(1, 1, 1, 0.85)
|
||
|
||
[node name="NameLabel" type="Label" parent="Margin/VBox"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "Card Name"
|
||
text_overrun_behavior = 3
|
||
custom_minimum_size = Vector2(0, 18)
|
||
theme_override_font_sizes/font_size = 13
|
||
|
||
[node name="TypeRarityRow" type="HBoxContainer" parent="Margin/VBox"]
|
||
layout_mode = 2
|
||
custom_minimum_size = Vector2(0, 14)
|
||
theme_override_constants/separation = 2
|
||
|
||
[node name="TypeLabel" type="Label" parent="Margin/VBox/TypeRarityRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = ""
|
||
modulate = Color(0.70, 0.70, 0.75, 1.0)
|
||
theme_override_font_sizes/font_size = 10
|
||
|
||
[node name="TypeFill" type="Control" parent="Margin/VBox/TypeRarityRow"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="RarityLabel" type="Label" parent="Margin/VBox/TypeRarityRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = ""
|
||
theme_override_font_sizes/font_size = 10
|
||
|
||
[node name="StatsRow" type="HBoxContainer" parent="Margin/VBox"]
|
||
layout_mode = 2
|
||
custom_minimum_size = Vector2(0, 18)
|
||
theme_override_constants/separation = 2
|
||
|
||
[node name="DmgLabel" type="Label" parent="Margin/VBox/StatsRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "⚔ –"
|
||
theme_override_font_sizes/font_size = 11
|
||
|
||
[node name="StatsFill" type="Control" parent="Margin/VBox/StatsRow"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="HpLabel" type="Label" parent="Margin/VBox/StatsRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "♥ –"
|
||
theme_override_font_sizes/font_size = 11
|
||
|
||
[node name="StatsFill2" type="Control" parent="Margin/VBox/StatsRow"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="DefLabel" type="Label" parent="Margin/VBox/StatsRow"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "▲ –"
|
||
theme_override_font_sizes/font_size = 11
|