|
@ -1,20 +1,17 @@ |
|
|
[gd_scene load_steps=14 format=3 uid="uid://bb7poutsn4ex2"] |
|
|
|
|
|
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://bb7poutsn4ex2"] |
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dknv7amroftm8" path="res://assets/icon.svg" id="1_714lu"] |
|
|
[ext_resource type="Texture2D" uid="uid://dknv7amroftm8" path="res://assets/icon.svg" id="1_714lu"] |
|
|
[ext_resource type="StyleBox" uid="uid://biousyggn7iua" path="res://save_load/resources/save_file_panel_theme.tres" id="1_cqw77"] |
|
|
[ext_resource type="StyleBox" uid="uid://biousyggn7iua" path="res://save_load/resources/save_file_panel_theme.tres" id="1_cqw77"] |
|
|
[ext_resource type="Texture2D" uid="uid://cmq51cgasug81" path="res://save_load/assets/folder-open-normal.png" id="1_k6haa"] |
|
|
[ext_resource type="Texture2D" uid="uid://cmq51cgasug81" path="res://save_load/assets/folder-open-normal.png" id="1_k6haa"] |
|
|
[ext_resource type="Script" uid="uid://dcfdyua5gwpw4" path="res://save_load/ui/save_file.gd" id="2_5g2eu"] |
|
|
[ext_resource type="Script" uid="uid://dcfdyua5gwpw4" path="res://save_load/ui/save_file.gd" id="2_5g2eu"] |
|
|
[ext_resource type="Texture2D" uid="uid://blyryo60jydgi" path="res://save_load/assets/folder-open-pressed.png" id="2_714lu"] |
|
|
[ext_resource type="Texture2D" uid="uid://blyryo60jydgi" path="res://save_load/assets/folder-open-pressed.png" id="2_714lu"] |
|
|
[ext_resource type="Texture2D" uid="uid://ja8bc1h5x85o" path="res://save_load/assets/save-normal.png" id="2_jgxci"] |
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://crqgyft4gfilt" path="res://save_load/assets/save-pressed.png" id="3_cqw77"] |
|
|
|
|
|
[ext_resource type="StyleBox" uid="uid://bwm315lqbbb87" path="res://save_load/resources/save_file_highlight_panel_theme.tres" id="3_om23c"] |
|
|
[ext_resource type="StyleBox" uid="uid://bwm315lqbbb87" path="res://save_load/resources/save_file_highlight_panel_theme.tres" id="3_om23c"] |
|
|
[ext_resource type="Texture2D" uid="uid://by4w5ll3le7g6" path="res://save_load/assets/folder-open-hover.png" id="3_ubfnn"] |
|
|
[ext_resource type="Texture2D" uid="uid://by4w5ll3le7g6" path="res://save_load/assets/folder-open-hover.png" id="3_ubfnn"] |
|
|
[ext_resource type="Texture2D" uid="uid://o3l0j53mgkan" path="res://save_load/assets/save-hover.png" id="4_5g2eu"] |
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dvp5yeoqw36yt" path="res://save_load/assets/trash-normal.png" id="4_c2bnc"] |
|
|
[ext_resource type="Texture2D" uid="uid://dvp5yeoqw36yt" path="res://save_load/assets/trash-normal.png" id="4_c2bnc"] |
|
|
[ext_resource type="Texture2D" uid="uid://brwa8yljyrlgy" path="res://save_load/assets/trash-pressed.png" id="5_jgxci"] |
|
|
[ext_resource type="Texture2D" uid="uid://brwa8yljyrlgy" path="res://save_load/assets/trash-pressed.png" id="5_jgxci"] |
|
|
[ext_resource type="Texture2D" uid="uid://cmrtuy0i5qc01" path="res://save_load/assets/trash-hover.png" id="6_cqw77"] |
|
|
[ext_resource type="Texture2D" uid="uid://cmrtuy0i5qc01" path="res://save_load/assets/trash-hover.png" id="6_cqw77"] |
|
|
|
|
|
|
|
|
[node name="SaveFilePanel" type="Panel" node_paths=PackedStringArray("save_name_label", "save_date_label", "save_icon", "save_button", "load_button", "delete_button")] |
|
|
|
|
|
|
|
|
[node name="SaveFilePanel" type="Panel" node_paths=PackedStringArray("save_name_label", "save_date_label", "save_icon", "load_button", "delete_confirm_ui", "delete_button", "delete_confirm_button", "delete_cancel_button")] |
|
|
custom_minimum_size = Vector2(420, 60) |
|
|
custom_minimum_size = Vector2(420, 60) |
|
|
offset_right = 420.0 |
|
|
offset_right = 420.0 |
|
|
offset_bottom = 60.0 |
|
|
offset_bottom = 60.0 |
|
@ -25,9 +22,11 @@ save_panel_normal = ExtResource("1_cqw77") |
|
|
save_name_label = NodePath("HBoxContainer/NameDate/SaveName") |
|
|
save_name_label = NodePath("HBoxContainer/NameDate/SaveName") |
|
|
save_date_label = NodePath("HBoxContainer/NameDate/SaveDate") |
|
|
save_date_label = NodePath("HBoxContainer/NameDate/SaveDate") |
|
|
save_icon = NodePath("HBoxContainer/SaveFileIcon") |
|
|
save_icon = NodePath("HBoxContainer/SaveFileIcon") |
|
|
save_button = NodePath("HBoxContainer/Actions/SaveButton") |
|
|
|
|
|
load_button = NodePath("HBoxContainer/Actions/LoadButton") |
|
|
load_button = NodePath("HBoxContainer/Actions/LoadButton") |
|
|
|
|
|
delete_confirm_ui = NodePath("ConfirmDeletePanel") |
|
|
delete_button = NodePath("HBoxContainer/Actions/DeleteButton") |
|
|
delete_button = NodePath("HBoxContainer/Actions/DeleteButton") |
|
|
|
|
|
delete_confirm_button = NodePath("ConfirmDeletePanel/VBoxContainer/HBoxContainer/ConfirmButton") |
|
|
|
|
|
delete_cancel_button = NodePath("ConfirmDeletePanel/VBoxContainer/HBoxContainer/CancelButton") |
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."] |
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."] |
|
|
custom_minimum_size = Vector2(400, 0) |
|
|
custom_minimum_size = Vector2(400, 0) |
|
@ -67,17 +66,6 @@ text = "2025/03/20 13:43:12" |
|
|
layout_mode = 2 |
|
|
layout_mode = 2 |
|
|
size_flags_horizontal = 10 |
|
|
size_flags_horizontal = 10 |
|
|
|
|
|
|
|
|
[node name="SaveButton" type="TextureButton" parent="HBoxContainer/Actions"] |
|
|
|
|
|
clip_contents = true |
|
|
|
|
|
custom_minimum_size = Vector2(32, 32) |
|
|
|
|
|
layout_mode = 2 |
|
|
|
|
|
tooltip_text = "Load Save" |
|
|
|
|
|
texture_normal = ExtResource("2_jgxci") |
|
|
|
|
|
texture_pressed = ExtResource("3_cqw77") |
|
|
|
|
|
texture_hover = ExtResource("4_5g2eu") |
|
|
|
|
|
ignore_texture_size = true |
|
|
|
|
|
stretch_mode = 5 |
|
|
|
|
|
|
|
|
|
|
|
[node name="LoadButton" type="TextureButton" parent="HBoxContainer/Actions"] |
|
|
[node name="LoadButton" type="TextureButton" parent="HBoxContainer/Actions"] |
|
|
clip_contents = true |
|
|
clip_contents = true |
|
|
custom_minimum_size = Vector2(32, 32) |
|
|
custom_minimum_size = Vector2(32, 32) |
|
@ -98,3 +86,42 @@ texture_pressed = ExtResource("5_jgxci") |
|
|
texture_hover = ExtResource("6_cqw77") |
|
|
texture_hover = ExtResource("6_cqw77") |
|
|
ignore_texture_size = true |
|
|
ignore_texture_size = true |
|
|
stretch_mode = 5 |
|
|
stretch_mode = 5 |
|
|
|
|
|
|
|
|
|
|
|
[node name="ConfirmDeletePanel" type="Panel" parent="."] |
|
|
|
|
|
visible = false |
|
|
|
|
|
layout_mode = 1 |
|
|
|
|
|
anchors_preset = 15 |
|
|
|
|
|
anchor_right = 1.0 |
|
|
|
|
|
anchor_bottom = 1.0 |
|
|
|
|
|
grow_horizontal = 2 |
|
|
|
|
|
grow_vertical = 2 |
|
|
|
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="ConfirmDeletePanel"] |
|
|
|
|
|
layout_mode = 1 |
|
|
|
|
|
anchors_preset = 8 |
|
|
|
|
|
anchor_left = 0.5 |
|
|
|
|
|
anchor_top = 0.5 |
|
|
|
|
|
anchor_right = 0.5 |
|
|
|
|
|
anchor_bottom = 0.5 |
|
|
|
|
|
offset_left = -61.5 |
|
|
|
|
|
offset_top = -29.0 |
|
|
|
|
|
offset_right = 61.5 |
|
|
|
|
|
offset_bottom = 29.0 |
|
|
|
|
|
grow_horizontal = 2 |
|
|
|
|
|
grow_vertical = 2 |
|
|
|
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="ConfirmDeletePanel/VBoxContainer"] |
|
|
|
|
|
layout_mode = 2 |
|
|
|
|
|
text = "Delete Save?" |
|
|
|
|
|
horizontal_alignment = 1 |
|
|
|
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="ConfirmDeletePanel/VBoxContainer"] |
|
|
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
|
|
|
|
[node name="ConfirmButton" type="Button" parent="ConfirmDeletePanel/VBoxContainer/HBoxContainer"] |
|
|
|
|
|
layout_mode = 2 |
|
|
|
|
|
text = "Confirm" |
|
|
|
|
|
|
|
|
|
|
|
[node name="CancelButton" type="Button" parent="ConfirmDeletePanel/VBoxContainer/HBoxContainer"] |
|
|
|
|
|
layout_mode = 2 |
|
|
|
|
|
text = "Cancel" |