Save/Load System done

This commit is contained in:
2025-06-15 20:53:10 +02:00
parent 2e4bf232b8
commit fb74a1cd10
11 changed files with 653 additions and 149 deletions
+71 -6
View File
@@ -1,8 +1,73 @@
[gd_scene load_steps=2 format=3 uid="uid://c0kyheol06kes"]
[gd_scene load_steps=3 format=3 uid="uid://c0kyheol06kes"]
[ext_resource type="Theme" uid="uid://dn1n15xwt8ucv" path="res://Art/DialogTheme.tres" id="1_pvdac"]
[ext_resource type="FontFile" uid="uid://ckg5x0oonnjtn" path="res://Art/XanhMono-Regular.ttf" id="1_6let0"]
[node name="ConfirmationDialog" type="ConfirmationDialog"]
initial_position = 1
size = Vector2i(300, 100)
theme = ExtResource("1_pvdac")
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jjq8m"]
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.629675, 0.629675, 0.629674, 1)
[node name="ConfirmationDialog" type="CanvasLayer"]
layer = 128
[node name="ConfirmationDialog" type="PanelContainer" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -200.0
offset_top = -75.0
offset_right = 300.0
offset_bottom = 85.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_jjq8m")
[node name="Background" type="ColorRect" parent="ConfirmationDialog"]
layout_mode = 2
color = Color(0, 0, 0, 1)
[node name="MarginContainer" type="MarginContainer" parent="ConfirmationDialog"]
layout_mode = 2
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 10
[node name="VBoxContainer" type="VBoxContainer" parent="ConfirmationDialog/MarginContainer"]
layout_mode = 2
[node name="ConfirmationText" type="RichTextLabel" parent="ConfirmationDialog/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 3.0
theme_override_fonts/normal_font = ExtResource("1_6let0")
theme_override_font_sizes/normal_font_size = 25
bbcode_enabled = true
[node name="MarginContainer" type="MarginContainer" parent="ConfirmationDialog/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/margin_left = 70
theme_override_constants/margin_right = 70
[node name="HBoxContainer" type="HBoxContainer" parent="ConfirmationDialog/MarginContainer/VBoxContainer/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 70
[node name="YesButton" type="Button" parent="ConfirmationDialog/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_fonts/font = ExtResource("1_6let0")
theme_override_font_sizes/font_size = 20
text = "YES"
[node name="NoButton" type="Button" parent="ConfirmationDialog/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_fonts/font = ExtResource("1_6let0")
theme_override_font_sizes/font_size = 20
text = "NO"