1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-06 11:47:13 +08:00

feat(角色卡片): 添加新角色卡片资源并优化显示逻辑

添加猞猁、牧羊犬和氰化氢的角色卡片资源
优化卡片选中状态的动画显示逻辑
调整卡片样式和主题配置
移除冗余的panel节点引用
This commit is contained in:
2026-05-04 20:32:07 +08:00
parent 492373a48e
commit 4d1f68cac1
14 changed files with 194 additions and 37 deletions
+14 -15
View File
@@ -7,7 +7,9 @@ content_margin_left = 20.0
content_margin_top = 20.0
content_margin_right = 20.0
content_margin_bottom = 20.0
bg_color = Color(0, 0, 0, 0.70000005)
bg_color = Color(0, 0, 0, 0.8)
border_width_top = 10
border_width_bottom = 10
border_color = Color(1, 1, 1, 1)
border_blend = true
corner_radius_top_left = 15
@@ -180,22 +182,19 @@ _data = {
&"show": SubResource("Animation_fnmic")
}
[node name="CharacterCardBase" type="CenterContainer" unique_id=282163900]
[node name="panel" type="PanelContainer" unique_id=1046363300]
modulate = Color(1, 1, 1, 0.5)
offset_right = 226.0
offset_bottom = 212.0
scale = Vector2(0.7, 0.7)
theme_override_styles/panel = SubResource("StyleBoxFlat_5td0u")
script = ExtResource("1_dt83t")
[node name="panel" type="PanelContainer" parent="." unique_id=1046363300]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0.5)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_5td0u")
[node name="wrapper" type="VBoxContainer" parent="panel" unique_id=2023039659]
[node name="wrapper" type="VBoxContainer" parent="." unique_id=2023039659]
layout_mode = 2
theme_override_constants/separation = 10
[node name="avatarTexture" type="TextureRect" parent="panel/wrapper" unique_id=1334645594]
[node name="avatarTexture" type="TextureRect" parent="wrapper" unique_id=1334645594]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 100)
layout_mode = 2
@@ -204,27 +203,27 @@ size_flags_vertical = 4
expand_mode = 1
stretch_mode = 5
[node name="infoContainer" type="VBoxContainer" parent="panel/wrapper" unique_id=143242635]
[node name="infoContainer" type="VBoxContainer" parent="wrapper" unique_id=143242635]
layout_mode = 2
[node name="nameLabel" type="Label" parent="panel/wrapper/infoContainer" unique_id=516147781]
[node name="nameLabel" type="Label" parent="wrapper/infoContainer" unique_id=516147781]
unique_name_in_owner = true
layout_mode = 2
text = "Unknown Character"
label_settings = SubResource("LabelSettings_dt83t")
horizontal_alignment = 1
[node name="descriptionLabel" type="Label" parent="panel/wrapper/infoContainer" unique_id=808054282]
[node name="descriptionLabel" type="Label" parent="wrapper/infoContainer" unique_id=808054282]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 10)
layout_mode = 2
label_settings = SubResource("LabelSettings_myhk0")
autowrap_mode = 3
[node name="fields" type="VBoxContainer" parent="panel/wrapper" unique_id=437152370]
[node name="fields" type="VBoxContainer" parent="wrapper" unique_id=437152370]
unique_name_in_owner = true
layout_mode = 2
[node name="animator" type="AnimationPlayer" parent="panel" unique_id=1012843997]
[node name="animator" type="AnimationPlayer" parent="." unique_id=1012843997]
unique_name_in_owner = true
libraries/ = SubResource("AnimationLibrary_xuke2")