imported main menu scene addon
This commit is contained in:
1 parent
86d9f75161
commit
71c2850a34
458 files changed
+14881
No files matched your search
@@ -0,0 +1,158 @@
|
||||
[gd_scene format=3 uid="uid://gynblau0ojia"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cwj8dpqveao6o" path="res://addons/maaacks_game_template/installer/update_plugin.gd" id="1_s6qpc"]
|
||||
[ext_resource type="PackedScene" uid="uid://drhhakm62vjsy" path="res://addons/maaacks_game_template/utilities/api_client.tscn" id="2_s6pdq"]
|
||||
[ext_resource type="PackedScene" uid="uid://dlkmofxhavh10" path="res://addons/maaacks_game_template/utilities/download_and_extract.tscn" id="3_s6pdq"]
|
||||
[ext_resource type="Script" uid="uid://dab5i53lgv34a" path="res://addons/maaacks_game_template/installer/release_notes_label.gd" id="4_1amwf"]
|
||||
|
||||
[node name="UpdatePlugin" type="Node" unique_id=393194098]
|
||||
script = ExtResource("1_s6qpc")
|
||||
plugin_directory = "maaacks_game_template"
|
||||
plugin_github_url = "https://github.com/Maaack/Godot-Game-Template"
|
||||
|
||||
[node name="APIClient" parent="." unique_id=2005212994 instance=ExtResource("2_s6pdq")]
|
||||
api_url = "https://api.github.com/repos/Maaack/Godot-Game-Template/releases"
|
||||
request_method = 0
|
||||
|
||||
[node name="DownloadAndExtract" parent="." unique_id=841464702 instance=ExtResource("3_s6pdq")]
|
||||
extract_path = "res://"
|
||||
path_match_string = "addons/"
|
||||
skip_base_zip_dir = true
|
||||
force = true
|
||||
|
||||
[node name="UpdateConfirmationDialog" type="ConfirmationDialog" parent="." unique_id=948040961]
|
||||
auto_translate_mode = 1
|
||||
title = "Update Plugin?"
|
||||
initial_position = 2
|
||||
size = Vector2i(640, 360)
|
||||
dialog_autowrap = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="UpdateConfirmationDialog" unique_id=2098017072]
|
||||
offset_left = 8.0
|
||||
offset_top = 8.0
|
||||
offset_right = 632.0
|
||||
offset_bottom = 311.0
|
||||
theme_override_constants/margin_bottom = 16
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="UpdateConfirmationDialog/MarginContainer" unique_id=1821167294]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="UpdateLabel" type="Label" parent="UpdateConfirmationDialog/MarginContainer/VBoxContainer" unique_id=132762526]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "This will update the contents of the plugin folder (addons/plugin_directory/).
|
||||
Files outside of the plugin folder will not be affected.
|
||||
|
||||
Update to v0.0.0?"
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="UpdateConfirmationDialog/MarginContainer/VBoxContainer" unique_id=929196357]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="WarningMessageButton" type="LinkButton" parent="UpdateConfirmationDialog/MarginContainer/VBoxContainer" unique_id=1658098735]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Warning About Updating"
|
||||
|
||||
[node name="WarningMessageLabel" type="Label" parent="UpdateConfirmationDialog/MarginContainer/VBoxContainer" unique_id=254491516]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(624, 205)
|
||||
layout_mode = 2
|
||||
text = "Not all updates are backwards compatible!
|
||||
|
||||
Updating can cause issues with previously copied examples. It is recommended to delete any copied example files before starting an update, if it is an option. Otherwise, pay attention to the Release Notes for an idea for how changes may impact your project.
|
||||
|
||||
Lastly, save your work and proceed with caution."
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="ReleaseNotesButton" type="LinkButton" parent="UpdateConfirmationDialog/MarginContainer/VBoxContainer" unique_id=1940658271]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Show Release Notes"
|
||||
|
||||
[node name="ReleaseNotesPanel" type="Panel" parent="UpdateConfirmationDialog/MarginContainer/VBoxContainer" unique_id=726359929]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(0, 420)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="ReleaseNotesLabel" type="RichTextLabel" parent="UpdateConfirmationDialog/MarginContainer/VBoxContainer/ReleaseNotesPanel" unique_id=914304643]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_vertical = 3
|
||||
focus_mode = 2
|
||||
bbcode_enabled = true
|
||||
selection_enabled = true
|
||||
script = ExtResource("4_1amwf")
|
||||
h1_font_size = 64
|
||||
h2_font_size = 48
|
||||
h3_font_size = 32
|
||||
h4_font_size = 24
|
||||
h5_font_size = 16
|
||||
h6_font_size = 12
|
||||
bold_headings = true
|
||||
|
||||
[node name="InstallingDialog" type="AcceptDialog" parent="." unique_id=35516267]
|
||||
auto_translate_mode = 1
|
||||
title = "Installing..."
|
||||
initial_position = 2
|
||||
size = Vector2i(400, 111)
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="InstallingDialog" unique_id=82754080]
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
offset_right = 396.0
|
||||
offset_bottom = 96.0
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 16
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="InstallingDialog/MarginContainer" unique_id=1355932689]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="StageLabel" type="Label" parent="InstallingDialog/MarginContainer/VBoxContainer" unique_id=446376319]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="InstallingDialog/MarginContainer/VBoxContainer" unique_id=1804329300]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
max_value = 1.0
|
||||
step = 0.001
|
||||
|
||||
[node name="ErrorDialog" type="AcceptDialog" parent="." unique_id=99271863]
|
||||
auto_translate_mode = 1
|
||||
title = "Error!"
|
||||
initial_position = 2
|
||||
size = Vector2i(400, 128)
|
||||
|
||||
[node name="SuccessDialog" type="AcceptDialog" parent="." unique_id=471405123]
|
||||
auto_translate_mode = 1
|
||||
title = "Update Complete"
|
||||
initial_position = 2
|
||||
size = Vector2i(400, 128)
|
||||
dialog_text = "%s updated to v%s."
|
||||
|
||||
[connection signal="request_failed" from="APIClient" to="." method="_on_api_client_request_failed"]
|
||||
[connection signal="response_received" from="APIClient" to="." method="_on_api_client_response_received"]
|
||||
[connection signal="run_completed" from="DownloadAndExtract" to="." method="_on_download_and_extract_run_completed"]
|
||||
[connection signal="run_failed" from="DownloadAndExtract" to="." method="_on_download_and_extract_run_failed"]
|
||||
[connection signal="zip_saved" from="DownloadAndExtract" to="." method="_on_download_and_extract_zip_saved"]
|
||||
[connection signal="canceled" from="UpdateConfirmationDialog" to="." method="_on_update_confirmation_dialog_canceled"]
|
||||
[connection signal="confirmed" from="UpdateConfirmationDialog" to="." method="_on_update_confirmation_dialog_confirmed"]
|
||||
[connection signal="pressed" from="UpdateConfirmationDialog/MarginContainer/VBoxContainer/WarningMessageButton" to="." method="_on_warning_message_button_pressed"]
|
||||
[connection signal="pressed" from="UpdateConfirmationDialog/MarginContainer/VBoxContainer/ReleaseNotesButton" to="." method="_on_release_notes_button_pressed"]
|
||||
[connection signal="canceled" from="ErrorDialog" to="." method="_on_error_dialog_canceled"]
|
||||
[connection signal="confirmed" from="ErrorDialog" to="." method="_on_error_dialog_confirmed"]
|
||||
[connection signal="canceled" from="SuccessDialog" to="." method="_on_success_dialog_canceled"]
|
||||
[connection signal="confirmed" from="SuccessDialog" to="." method="_on_success_dialog_confirmed"]
|
||||