- 新增 SavePanel/SaveSlot 存档选择界面,支持已有存档与新建存档 - 新增 GameState 单例与 MainGame 入口,按参数区分新游戏/读档 - 主菜单接入中文字体,返回/进入存档面板流程打通 - 开启 2D/3D MSAA、TAA 与屏幕空间 AA,消除放大文字锯齿 - 设置 1920x1080 视口与中文本地化过滤
58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
[gd_scene format=3 uid="uid://dk7ggyngkyt18"]
|
|
|
|
[ext_resource type="Script" uid="uid://b0uq6cg05y428" path="res://src/UI/Panels/SaveSlot.gd" id="1_ss0t"]
|
|
|
|
[node name="SaveSlot" type="PanelContainer" unique_id=214547620]
|
|
anchors_preset = 14
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_top = -4.0
|
|
offset_bottom = 4.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
script = ExtResource("1_ss0t")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=2068970062]
|
|
layout_mode = 2
|
|
|
|
[node name="SlotIndexLabel" type="Label" parent="HBoxContainer" unique_id=945932834]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(40, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
vertical_alignment = 1
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer" unique_id=94051654]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_stretch_ratio = 15.0
|
|
|
|
[node name="SaveNameLabel" type="Label" parent="HBoxContainer/VBoxContainer" unique_id=131729571]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="MetaLine1" type="Label" parent="HBoxContainer/VBoxContainer" unique_id=1955990569]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="MetaLine2" type="Label" parent="HBoxContainer/VBoxContainer" unique_id=1454183959]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="DeleteButton" type="Button" parent="HBoxContainer" unique_id=1697002131]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "删除"
|
|
|
|
[node name="ArrowIcon" type="Button" parent="HBoxContainer" unique_id=540783971]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "▶"
|
|
|
|
[connection signal="button_up" from="HBoxContainer/DeleteButton" to="." method="_on_delete_button_button_up"]
|