|
|
@ -1,132 +0,0 @@ |
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://dauchkhmnyk7n"] |
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://b6831eygibii7" path="res://scenes/ui/pause_menu/saves_manager/save_load_ui.gd" id="1_lo08d"] |
|
|
|
[ext_resource type="PackedScene" uid="uid://cyxieflejsggu" path="res://scenes/ui/pause_menu/saves_manager/save_files_list.tscn" id="1_tqtxm"] |
|
|
|
[ext_resource type="PackedScene" uid="uid://bb7poutsn4ex2" path="res://scenes/ui/pause_menu/saves_manager/save_file.tscn" id="2_6uxbh"] |
|
|
|
[ext_resource type="Texture2D" uid="uid://ja8bc1h5x85o" path="res://assets/ui/save-normal.png" id="3_lo08d"] |
|
|
|
[ext_resource type="Texture2D" uid="uid://crqgyft4gfilt" path="res://assets/ui/save-pressed.png" id="4_md7la"] |
|
|
|
[ext_resource type="Texture2D" uid="uid://o3l0j53mgkan" path="res://assets/ui/save-hover.png" id="5_hmxxn"] |
|
|
|
|
|
|
|
[node name="SaveLoadUI" type="Control" node_paths=PackedStringArray("show_save_ui_button", "new_save_ui", "save_name_input", "create_save_button", "create_save_cancel_button")] |
|
|
|
process_mode = 3 |
|
|
|
layout_mode = 3 |
|
|
|
anchors_preset = 15 |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
size_flags_horizontal = 6 |
|
|
|
size_flags_vertical = 4 |
|
|
|
script = ExtResource("1_lo08d") |
|
|
|
show_save_ui_button = NodePath("Panel/MarginContainer/VBoxContainer/BottomRow/SaveButton") |
|
|
|
new_save_ui = NodePath("Panel/NewSaveUI") |
|
|
|
save_name_input = NodePath("Panel/NewSaveUI/MarginContainer/VBoxContainer/SaveNameInput") |
|
|
|
create_save_button = NodePath("Panel/NewSaveUI/MarginContainer/VBoxContainer/SaveButton") |
|
|
|
create_save_cancel_button = NodePath("Panel/NewSaveUI/MarginContainer/VBoxContainer/CancelButton") |
|
|
|
|
|
|
|
[node name="Panel" type="Panel" parent="."] |
|
|
|
layout_mode = 1 |
|
|
|
anchors_preset = 15 |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Panel"] |
|
|
|
layout_mode = 1 |
|
|
|
anchors_preset = 15 |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
theme_override_constants/margin_left = 20 |
|
|
|
theme_override_constants/margin_top = 20 |
|
|
|
theme_override_constants/margin_right = 20 |
|
|
|
theme_override_constants/margin_bottom = 20 |
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"] |
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer"] |
|
|
|
layout_mode = 2 |
|
|
|
theme_override_font_sizes/font_size = 40 |
|
|
|
text = "Save/Load Game" |
|
|
|
horizontal_alignment = 1 |
|
|
|
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/MarginContainer/VBoxContainer"] |
|
|
|
custom_minimum_size = Vector2(0, 500) |
|
|
|
layout_mode = 2 |
|
|
|
horizontal_scroll_mode = 0 |
|
|
|
|
|
|
|
[node name="SaveFilesList" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer" instance=ExtResource("1_tqtxm")] |
|
|
|
layout_mode = 2 |
|
|
|
size_flags_horizontal = 6 |
|
|
|
|
|
|
|
[node name="SaveFilePanel" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer/SaveFilesList" instance=ExtResource("2_6uxbh")] |
|
|
|
layout_mode = 2 |
|
|
|
|
|
|
|
[node name="BottomRow" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"] |
|
|
|
layout_mode = 2 |
|
|
|
alignment = 1 |
|
|
|
|
|
|
|
[node name="SaveButton" type="TextureButton" parent="Panel/MarginContainer/VBoxContainer/BottomRow"] |
|
|
|
clip_contents = true |
|
|
|
custom_minimum_size = Vector2(32, 32) |
|
|
|
layout_mode = 2 |
|
|
|
tooltip_text = "New Save" |
|
|
|
texture_normal = ExtResource("3_lo08d") |
|
|
|
texture_pressed = ExtResource("4_md7la") |
|
|
|
texture_hover = ExtResource("5_hmxxn") |
|
|
|
ignore_texture_size = true |
|
|
|
stretch_mode = 5 |
|
|
|
|
|
|
|
[node name="NewSaveUI" type="Panel" parent="Panel"] |
|
|
|
visible = false |
|
|
|
custom_minimum_size = Vector2(450, 100) |
|
|
|
layout_mode = 1 |
|
|
|
anchors_preset = 15 |
|
|
|
anchor_right = 1.0 |
|
|
|
anchor_bottom = 1.0 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 2 |
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Panel/NewSaveUI"] |
|
|
|
layout_mode = 1 |
|
|
|
anchors_preset = 8 |
|
|
|
anchor_left = 0.5 |
|
|
|
anchor_top = 0.5 |
|
|
|
anchor_right = 0.5 |
|
|
|
anchor_bottom = 0.5 |
|
|
|
offset_left = -205.0 |
|
|
|
offset_top = -29.5 |
|
|
|
offset_right = 205.0 |
|
|
|
offset_bottom = 29.5 |
|
|
|
grow_horizontal = 2 |
|
|
|
grow_vertical = 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="VBoxContainer" type="VBoxContainer" parent="Panel/NewSaveUI/MarginContainer"] |
|
|
|
layout_mode = 2 |
|
|
|
size_flags_horizontal = 4 |
|
|
|
size_flags_vertical = 4 |
|
|
|
|
|
|
|
[node name="SaveNameLabel" type="Label" parent="Panel/NewSaveUI/MarginContainer/VBoxContainer"] |
|
|
|
layout_mode = 2 |
|
|
|
theme_override_font_sizes/font_size = 20 |
|
|
|
text = "Create New Save" |
|
|
|
|
|
|
|
[node name="SaveNameInput" type="LineEdit" parent="Panel/NewSaveUI/MarginContainer/VBoxContainer"] |
|
|
|
custom_minimum_size = Vector2(400, 0) |
|
|
|
layout_mode = 2 |
|
|
|
placeholder_text = "New Save File Name" |
|
|
|
|
|
|
|
[node name="SaveButton" type="Button" parent="Panel/NewSaveUI/MarginContainer/VBoxContainer"] |
|
|
|
layout_mode = 2 |
|
|
|
text = "Create Save" |
|
|
|
|
|
|
|
[node name="CancelButton" type="Button" parent="Panel/NewSaveUI/MarginContainer/VBoxContainer"] |
|
|
|
layout_mode = 2 |
|
|
|
text = "Cancel" |