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

feat(初始选择): 添加初始增益和武器数量限制

- 新增OutGameStorage类存储最大初始数量配置
- 修改SelectInitialFeed面板逻辑以限制选择数量
- 优化FeedCardBase样式和布局
- 移除不必要的ScrollContainer简化UI结构
This commit is contained in:
2026-05-04 07:03:18 +08:00
parent 0eabde6852
commit e53af2a163
5 changed files with 60 additions and 56 deletions
@@ -27,14 +27,10 @@ size_flags_horizontal = 4
text = "在游戏开始前,你可以选择一项初始增益。"
label_settings = SubResource("LabelSettings_eugsq")
[node name="container" type="ScrollContainer" parent="content/wrapper/wrapper" index="1" unique_id=465067132]
layout_mode = 2
follow_focus = true
vertical_scroll_mode = 0
[node name="initialFeedSelection" type="HBoxContainer" parent="content/wrapper/wrapper/container" index="0" unique_id=1363721283]
[node name="initialFeedSelection" type="HBoxContainer" parent="content/wrapper/wrapper" index="1" unique_id=1363721283]
unique_name_in_owner = true
layout_mode = 2
alignment = 1
[node name="title2" type="Label" parent="content/wrapper/wrapper" index="2" unique_id=398646662]
unique_name_in_owner = true
@@ -43,14 +39,10 @@ size_flags_horizontal = 4
text = "在游戏开始前,你可以选择一个初始武器。"
label_settings = SubResource("LabelSettings_eugsq")
[node name="container2" type="ScrollContainer" parent="content/wrapper/wrapper" index="3" unique_id=474299205]
layout_mode = 2
follow_focus = true
vertical_scroll_mode = 0
[node name="initialWeaponSelection" type="HBoxContainer" parent="content/wrapper/wrapper/container2" index="0" unique_id=1933174501]
[node name="initialWeaponSelection" type="HBoxContainer" parent="content/wrapper/wrapper" index="3" unique_id=1933174501]
unique_name_in_owner = true
layout_mode = 2
alignment = 1
[node name="startBtn" type="Button" parent="content/wrapper" index="1" unique_id=298849731]
unique_name_in_owner = true