Move all C# scripts from flat structure to organized folders: - Core/ for game logic (Game, GameState, GameSettings) - UI/Menus/ and UI/Dialogs/ for user interface - Systems/ for reusable systems (Save, Localization) - Data/ for data models and configuration - Added framework for future: Gameplay/, Story/, Modding/ Update all .tscn scene files to reference new script paths. Fix timing issue in AdvancedSaveDialog focus handling.
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://cdnyu0lqxhn80"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/UI/Menus/LoadGameMenu.cs" id="1_l8m0c"]
|
|
|
|
[node name="LoadGameMenu" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource("1_l8m0c")
|
|
|
|
[node name="Background" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
color = Color(0.15, 0.15, 0.25, 1)
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
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 = -200.0
|
|
offset_right = 200.0
|
|
offset_bottom = 200.0
|
|
|
|
[node name="TitleLabel" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "LOAD GAME"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="SaveList" type="VBoxContainer" parent="VBoxContainer/ScrollContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="BackButton" type="Button" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Back to Main Menu"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/BackButton" to="." method="_on_back_button_pressed"] |