Skip to content

Commit

Permalink
Merge pull request #126 from Maaack/update-template
Browse files Browse the repository at this point in the history
Update template files and plugin
  • Loading branch information
Maaack authored Jul 16, 2024
2 parents 189c3ac + b9e48cd commit 82cf1ff
Show file tree
Hide file tree
Showing 31 changed files with 162 additions and 163 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ text = "Reset Game :"
[node name="ResetButton" type="Button" parent="."]
custom_minimum_size = Vector2(72, 32)
layout_mode = 2
text = "reset"
text = "Reset"

[node name="ConfirmResetDialog" type="ConfirmationDialog" parent="."]
dialog_text = "Do you want to reset your game data?"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion addons/maaacks_game_template/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ description="Template with a main menu, options menus, pause menu, credits, scen
Created in collaboration with members of the Godot Wild Jam community."
author="Marek Belski"
version="0.8.1"
version="0.8.2"
script="maaacks_game_template.gd"
10 changes: 5 additions & 5 deletions scenes/Credits/Credits.tscn
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[gd_scene load_steps=3 format=3 uid="uid://clabvuaem7bsx"]
[gd_scene load_steps=3 format=3 uid="uid://diut1db2bsqla"]

[ext_resource type="PackedScene" uid="uid://t2dui8ppm3a4" path="res://addons/maaacks_game_template/base/scenes/Credits/Credits.tscn" id="1_enrln"]
[ext_resource type="Script" path="res://scenes/Credits/Credits.gd" id="2_v7yp7"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/Credits/Credits.tscn" id="1_s3dg4"]
[ext_resource type="Script" path="res://scenes/Credits/Credits.gd" id="2_lkit1"]

[node name="Credits" instance=ExtResource("1_enrln")]
script = ExtResource("2_v7yp7")
[node name="Credits" instance=ExtResource("1_s3dg4")]
script = ExtResource("2_lkit1")
attribution_file_path = "res://ATTRIBUTION.md"

[node name="CreditsLabel" parent="ScrollContainer/VBoxContainer" index="1"]
Expand Down
18 changes: 9 additions & 9 deletions scenes/EndCredits/EndCredits.tscn
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[gd_scene load_steps=5 format=3 uid="uid://dgdf7sv3ppi33"]
[gd_scene load_steps=5 format=3 uid="uid://cwo6mvti5o0kc"]

[ext_resource type="PackedScene" path="res://scenes/Credits/Credits.tscn" id="1_h2fy7"]
[ext_resource type="Script" path="res://scenes/EndCredits/EndCredits.gd" id="2_aiyqd"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/MusicPlayers/BackgroundMusicPlayer.tscn" id="3_liyoa"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/base/scripts/CaptureFocus.gd" id="4_mf17t"]
[ext_resource type="PackedScene" path="res://scenes/Credits/Credits.tscn" id="1_4gt7b"]
[ext_resource type="Script" path="res://scenes/EndCredits/EndCredits.gd" id="2_ugktr"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/MusicPlayers/BackgroundMusicPlayer.tscn" id="3_mnrs5"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/base/scripts/CaptureFocus.gd" id="4_af4xi"]

[node name="EndCredits" instance=ExtResource("1_h2fy7")]
script = ExtResource("2_aiyqd")
[node name="EndCredits" instance=ExtResource("1_4gt7b")]
script = ExtResource("2_ugktr")
main_menu_scene = "res://scenes/Menus/MainMenu/MainMenuWithAnimations.tscn"

[node name="BackgroundMusicPlayer" parent="." index="0" instance=ExtResource("3_liyoa")]
[node name="BackgroundMusicPlayer" parent="." index="0" instance=ExtResource("3_mnrs5")]

[node name="BackgroundColor" type="ColorRect" parent="." index="1"]
layout_mode = 1
Expand Down Expand Up @@ -69,7 +69,7 @@ size_flags_vertical = 3
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 24
script = ExtResource("4_mf17t")
script = ExtResource("4_af4xi")

[node name="ExitButton" type="Button" parent="CenterContainer/EndMessagePanel/VBoxContainer/CenterContainer/HBoxContainer" index="0"]
unique_name_in_owner = true
Expand Down
42 changes: 21 additions & 21 deletions scenes/GameScene/GameUI.tscn
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[gd_scene load_steps=11 format=3 uid="uid://dbxq20lxewlf1"]
[gd_scene load_steps=11 format=3 uid="uid://dcq27p4gnw5w2"]

[ext_resource type="Script" path="res://scenes/GameScene/GameUI.gd" id="1_xquw8"]
[ext_resource type="PackedScene" path="res://scenes/WinScreen/WinScreen.tscn" id="2_gkmdf"]
[ext_resource type="PackedScene" path="res://scenes/LoseScreen/LoseScreen.tscn" id="3_edtoc"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/extras/scripts/PauseMenuController.gd" id="4_yqusg"]
[ext_resource type="PackedScene" path="res://scenes/Menus/PauseMenu/PauseMenu.tscn" id="5_86gef"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/extras/scripts/LevelLoader.gd" id="6_y03ga"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/MusicPlayers/BackgroundMusicPlayer.tscn" id="7_aibl4"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/LoadingScreen/LoadingScreen.tscn" id="8_elxsf"]
[ext_resource type="Script" path="res://scenes/GameScene/ConfigurableSubViewport.gd" id="9_ba104"]
[ext_resource type="Script" path="res://scenes/GameScene/InputDisplayLabel.gd" id="10_yni8k"]
[ext_resource type="Script" path="res://scenes/GameScene/GameUI.gd" id="1_gq3tb"]
[ext_resource type="PackedScene" path="res://scenes/WinScreen/WinScreen.tscn" id="2_uqqdk"]
[ext_resource type="PackedScene" path="res://scenes/LoseScreen/LoseScreen.tscn" id="3_dhm27"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/extras/scripts/PauseMenuController.gd" id="4_ihlt6"]
[ext_resource type="PackedScene" path="res://scenes/Menus/PauseMenu/PauseMenu.tscn" id="5_swupf"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/extras/scripts/LevelLoader.gd" id="6_03a2h"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/MusicPlayers/BackgroundMusicPlayer.tscn" id="7_krcn1"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/LoadingScreen/LoadingScreen.tscn" id="8_3vwpb"]
[ext_resource type="Script" path="res://scenes/GameScene/ConfigurableSubViewport.gd" id="9_5gfx6"]
[ext_resource type="Script" path="res://scenes/GameScene/InputDisplayLabel.gd" id="10_vmpy7"]

[node name="GameUI" type="Control"]
layout_mode = 3
Expand All @@ -18,23 +18,23 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_xquw8")
win_scene = ExtResource("2_gkmdf")
lose_scene = ExtResource("3_edtoc")
script = ExtResource("1_gq3tb")
win_scene = ExtResource("2_uqqdk")
lose_scene = ExtResource("3_dhm27")

[node name="PauseMenuController" type="Node" parent="."]
script = ExtResource("4_yqusg")
pause_menu_packed = ExtResource("5_86gef")
script = ExtResource("4_ihlt6")
pause_menu_packed = ExtResource("5_swupf")

[node name="LevelLoader" type="Node" parent="." node_paths=PackedStringArray("level_container")]
script = ExtResource("6_y03ga")
script = ExtResource("6_03a2h")
level_container = NodePath("../ViewportContainer/ConfigurableSubViewport")
files = Array[String](["res://scenes/GameScene/Levels/Level1.tscn", "res://scenes/GameScene/Levels/Level2.tscn", "res://scenes/GameScene/Levels/Level3.tscn"])
directory = "res://scenes/GameScene/Levels"

[node name="BackgroundMusicPlayer" parent="." instance=ExtResource("7_aibl4")]
[node name="BackgroundMusicPlayer" parent="." instance=ExtResource("7_krcn1")]

[node name="LoadingScreen" parent="." instance=ExtResource("8_elxsf")]
[node name="LoadingScreen" parent="." instance=ExtResource("8_3vwpb")]
visible = false

[node name="ViewportContainer" type="SubViewportContainer" parent="."]
Expand All @@ -52,7 +52,7 @@ audio_listener_enable_2d = true
audio_listener_enable_3d = true
size = Vector2i(1280, 720)
render_target_update_mode = 4
script = ExtResource("9_ba104")
script = ExtResource("9_5gfx6")

[node name="InputDisplayLabel" type="Label" parent="."]
layout_mode = 1
Expand All @@ -67,7 +67,7 @@ grow_vertical = 2
theme_override_font_sizes/font_size = 64
horizontal_alignment = 1
autowrap_mode = 2
script = ExtResource("10_yni8k")
script = ExtResource("10_vmpy7")

[connection signal="level_load_started" from="LevelLoader" to="." method="_on_level_loader_level_load_started"]
[connection signal="level_loaded" from="LevelLoader" to="." method="_on_level_loader_level_loaded"]
Expand Down
6 changes: 3 additions & 3 deletions scenes/GameScene/Levels/Level1.tscn
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[gd_scene load_steps=2 format=3 uid="uid://1pdv76fc2dve"]
[gd_scene load_steps=2 format=3 uid="uid://ddpk0huy16ddb"]

[ext_resource type="Script" path="res://scenes/GameScene/Levels/Level.gd" id="1_k6pla"]
[ext_resource type="Script" path="res://scenes/GameScene/Levels/Level.gd" id="1_cwv6b"]

[node name="Level1" type="HBoxContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_k6pla")
script = ExtResource("1_cwv6b")

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
Expand Down
6 changes: 3 additions & 3 deletions scenes/GameScene/Levels/Level2.tscn
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[gd_scene load_steps=2 format=3 uid="uid://4ionx33eq4yo"]
[gd_scene load_steps=2 format=3 uid="uid://bbrfemidrlegm"]

[ext_resource type="Script" path="res://scenes/GameScene/Levels/Level.gd" id="1_fijnx"]
[ext_resource type="Script" path="res://scenes/GameScene/Levels/Level.gd" id="1_eyxq3"]

[node name="Level2" type="HBoxContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_fijnx")
script = ExtResource("1_eyxq3")

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
Expand Down
6 changes: 3 additions & 3 deletions scenes/GameScene/Levels/Level3.tscn
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[gd_scene load_steps=2 format=3 uid="uid://dt3yadqkcqgeu"]
[gd_scene load_steps=2 format=3 uid="uid://cgdr8un8ewtwd"]

[ext_resource type="Script" path="res://scenes/GameScene/Levels/Level.gd" id="1_5y5e3"]
[ext_resource type="Script" path="res://scenes/GameScene/Levels/Level.gd" id="1_y1ihh"]

[node name="Level3" type="HBoxContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_5y5e3")
script = ExtResource("1_y1ihh")

[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
Expand Down
10 changes: 5 additions & 5 deletions scenes/LoadingScreen/LoadingScreen.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=3 uid="uid://cu0qnbs756dtp"]
[gd_scene load_steps=3 format=3 uid="uid://dr4t3e5fmbhnx"]

[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/LoadingScreen/LoadingScreen.tscn" id="1_mivop"]
[ext_resource type="Script" path="res://scenes/LoadingScreen/LoadingScreen.gd" id="2_s2qv1"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/LoadingScreen/LoadingScreen.tscn" id="1_22dgp"]
[ext_resource type="Script" path="res://scenes/LoadingScreen/LoadingScreen.gd" id="2_oh16l"]

[node name="LoadingScreen" instance=ExtResource("1_mivop")]
script = ExtResource("2_s2qv1")
[node name="LoadingScreen" instance=ExtResource("1_22dgp")]
script = ExtResource("2_oh16l")
10 changes: 5 additions & 5 deletions scenes/LoadingScreen/LoadingScreenWithShaderCaching.tscn
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[gd_scene load_steps=3 format=3 uid="uid://dpqa4qqe4afo"]
[gd_scene load_steps=3 format=3 uid="uid://dgs40p2lc0dyn"]

[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/LoadingScreen/LoadingScreen.tscn" id="1_nw7w5"]
[ext_resource type="Script" path="res://scenes/LoadingScreen/LoadingScreenWithShaderCaching.gd" id="2_mkyar"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/LoadingScreen/LoadingScreen.tscn" id="1_r3idx"]
[ext_resource type="Script" path="res://scenes/LoadingScreen/LoadingScreenWithShaderCaching.gd" id="2_icvcm"]

[node name="LoadingScreen" instance=ExtResource("1_nw7w5")]
script = ExtResource("2_mkyar")
[node name="LoadingScreen" instance=ExtResource("1_r3idx")]
script = ExtResource("2_icvcm")
_spatial_shader_material_dir = ""
_cache_shaders_scene = "res://scenes/GameScene/GameUI.tscn"
_matching_extensions = Array[String]([".tres", ".material", ".res"])
Expand Down
2 changes: 1 addition & 1 deletion scenes/LoadingScreen/QuadMeshPlaceholder.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=2 format=3 uid="uid://byt64m6dcf8bf"]
[gd_scene load_steps=2 format=3 uid="uid://dc6vbo3fd2mri"]

[sub_resource type="QuadMesh" id="QuadMesh_el52t"]
size = Vector2(0.001, 0.001)
Expand Down
10 changes: 5 additions & 5 deletions scenes/LoseScreen/LoseScreen.tscn
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[gd_scene load_steps=3 format=3 uid="uid://oxhkh2bwf440"]
[gd_scene load_steps=3 format=3 uid="uid://boylhkph2uubh"]

[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/extras/scenes/LoseScreen/LoseScreen.tscn" id="1_j5us2"]
[ext_resource type="Script" path="res://scenes/LoseScreen/LoseScreen.gd" id="2_3s2qe"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/extras/scenes/LoseScreen/LoseScreen.tscn" id="1_re3do"]
[ext_resource type="Script" path="res://scenes/LoseScreen/LoseScreen.gd" id="2_j00s5"]

[node name="LoseScreen" instance=ExtResource("1_j5us2")]
script = ExtResource("2_3s2qe")
[node name="LoseScreen" instance=ExtResource("1_re3do")]
script = ExtResource("2_j00s5")
main_menu_scene = "res://scenes/Menus/MainMenu/MainMenuWithAnimations.tscn"
14 changes: 7 additions & 7 deletions scenes/Menus/MainMenu/MainMenu.tscn
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[gd_scene load_steps=4 format=3 uid="uid://uacjonr6fobv"]
[gd_scene load_steps=4 format=3 uid="uid://2pm27icc6qj5"]

[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/Menus/MainMenu/MainMenu.tscn" id="1_qga4p"]
[ext_resource type="PackedScene" path="res://scenes/Menus/OptionsMenu/MasterOptionsMenuWithTabs.tscn" id="2_ir3dh"]
[ext_resource type="PackedScene" path="res://scenes/Credits/Credits.tscn" id="3_fhpuo"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/Menus/MainMenu/MainMenu.tscn" id="1_4pllm"]
[ext_resource type="PackedScene" path="res://scenes/Menus/OptionsMenu/MasterOptionsMenuWithTabs.tscn" id="2_vyo1v"]
[ext_resource type="PackedScene" path="res://scenes/Credits/Credits.tscn" id="3_xc6r2"]

[node name="MainMenu" instance=ExtResource("1_qga4p")]
[node name="MainMenu" instance=ExtResource("1_4pllm")]
game_scene_path = "res://scenes/GameScene/GameUI.tscn"
options_packed_scene = ExtResource("2_ir3dh")
credits_packed_scene = ExtResource("3_fhpuo")
options_packed_scene = ExtResource("2_vyo1v")
credits_packed_scene = ExtResource("3_xc6r2")
10 changes: 5 additions & 5 deletions scenes/Menus/MainMenu/MainMenuWithAnimations.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gd_scene load_steps=16 format=3 uid="uid://cqsd4y02iipnw"]
[gd_scene load_steps=16 format=3 uid="uid://dpel22uvxis52"]

[ext_resource type="PackedScene" path="res://scenes/Menus/MainMenu/MainMenu.tscn" id="1_uemi4"]
[ext_resource type="Script" path="res://scenes/Menus/MainMenu/MainMenuWithAnimations.gd" id="2_t5wef"]
[ext_resource type="PackedScene" path="res://scenes/Menus/MainMenu/MainMenu.tscn" id="1_dufvr"]
[ext_resource type="Script" path="res://scenes/Menus/MainMenu/MainMenuWithAnimations.gd" id="2_2xj2y"]

[sub_resource type="Animation" id="1"]
resource_name = "Intro"
Expand Down Expand Up @@ -347,8 +347,8 @@ states/Start/position = Vector2(82, 123)
transitions = ["Intro", "OpenMainMenu", SubResource("11"), "OpenMainMenu", "OpenSubMenu", SubResource("14"), "Start", "Intro", SubResource("AnimationNodeStateMachineTransition_j0orr"), "OpenSubMenu", "OpenMainMenu", SubResource("AnimationNodeStateMachineTransition_63dxc")]
graph_offset = Vector2(-180.277, 49)

[node name="MainMenu" instance=ExtResource("1_uemi4")]
script = ExtResource("2_t5wef")
[node name="MainMenu" instance=ExtResource("1_dufvr")]
script = ExtResource("2_2xj2y")

[node name="MenuAnimationPlayer" type="AnimationPlayer" parent="." index="1"]
libraries = {
Expand Down
6 changes: 3 additions & 3 deletions scenes/Menus/OptionsMenu/Audio/AudioInputOptionControl.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=3 uid="uid://dxj1gsxtlp6v0"]
[gd_scene load_steps=3 format=3 uid="uid://bm2m6cmj8k8g"]

[ext_resource type="PackedScene" uid="uid://b6bl3n5mp3m1e" path="res://addons/maaacks_game_template/base/scenes/Menus/OptionsMenu/OptionControl/ListOptionControl.tscn" id="1_0vgeo"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/examples/scenes/Menus/OptionsMenu/Audio/AudioInputOptionControl.gd" id="2_6qeue"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/Menus/OptionsMenu/OptionControl/ListOptionControl.tscn" id="1_0vgeo"]
[ext_resource type="Script" path="res://scenes/Menus/OptionsMenu/Audio/AudioInputOptionControl.gd" id="2_6qeue"]

[node name="AudioInputOptionControl" instance=ExtResource("1_0vgeo")]
script = ExtResource("2_6qeue")
Expand Down
13 changes: 6 additions & 7 deletions scenes/Menus/OptionsMenu/Audio/AudioOptionsMenu.tscn
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[gd_scene load_steps=3 format=3 uid="uid://c8cehdleoso6q"]
[gd_scene load_steps=3 format=3 uid="uid://dfxufkn2gqsab"]

[ext_resource type="PackedScene" uid="uid://c8vnncjwqcpab" path="res://addons/maaacks_game_template/base/scenes/Menus/OptionsMenu/Audio/AudioOptionsMenu.tscn" id="1_ro573"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/examples/scenes/Menus/OptionsMenu/Audio/AudioOptionsMenu.gd" id="2_g4nfi"]
[ext_resource type="PackedScene" uid="uid://dxj1gsxtlp6v0" path="res://addons/maaacks_game_template/examples/scenes/Menus/OptionsMenu/Audio/AudioInputOptionControl.tscn" id="3_tfrh8"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/Menus/OptionsMenu/Audio/AudioOptionsMenu.tscn" id="1_wo537"]
[ext_resource type="Script" path="res://scenes/Menus/OptionsMenu/Audio/AudioOptionsMenu.gd" id="2_ywogv"]

[node name="Audio" instance=ExtResource("1_ro573")]
script = ExtResource("2_g4nfi")
[node name="Audio" instance=ExtResource("1_wo537")]
script = ExtResource("2_ywogv")

[node name="AudioInputOptionControl" parent="VBoxContainer" index="2" instance=ExtResource("3_tfrh8")]
[node name="AudioInputOptionControl" parent="VBoxContainer" index="2"]
layout_mode = 2
14 changes: 7 additions & 7 deletions scenes/Menus/OptionsMenu/Game/GameOptionsMenu.tscn
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
[gd_scene load_steps=4 format=3 uid="uid://hcqhf6rxq1e5"]
[gd_scene load_steps=4 format=3 uid="uid://d0ilxlcb1n60k"]

[ext_resource type="Script" path="res://scenes/Menus/OptionsMenu/Game/GameOptionsMenu.gd" id="1_jk1rc"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/base/scripts/CaptureFocus.gd" id="2_egdm6"]
[ext_resource type="PackedScene" path="res://scenes/Menus/OptionsMenu/Game/ResetGameControl/ResetGameControl.tscn" id="3_txit3"]
[ext_resource type="Script" path="res://scenes/Menus/OptionsMenu/Game/GameOptionsMenu.gd" id="1_lhyis"]
[ext_resource type="Script" path="res://addons/maaacks_game_template/base/scripts/CaptureFocus.gd" id="2_jajyf"]
[ext_resource type="PackedScene" path="res://scenes/Menus/OptionsMenu/Game/ResetGameControl/ResetGameControl.tscn" id="3_my3k7"]

[node name="Game" type="MarginContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
theme_override_constants/margin_top = 24
theme_override_constants/margin_bottom = 24
script = ExtResource("1_jk1rc")
script = ExtResource("1_lhyis")

[node name="VBoxContainer" type="VBoxContainer" parent="."]
custom_minimum_size = Vector2(400, 0)
layout_mode = 2
size_flags_horizontal = 4
alignment = 1
script = ExtResource("2_egdm6")
script = ExtResource("2_jajyf")
search_depth = 2

[node name="ResetGameControl" parent="VBoxContainer" instance=ExtResource("3_txit3")]
[node name="ResetGameControl" parent="VBoxContainer" instance=ExtResource("3_my3k7")]
layout_mode = 2

[connection signal="reset_confirmed" from="VBoxContainer/ResetGameControl" to="." method="_on_ResetGameControl_reset_confirmed"]
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[gd_scene load_steps=2 format=3 uid="uid://c7n4r7stbyeec"]
[gd_scene load_steps=2 format=3 uid="uid://tc6x8th6od8t"]

[ext_resource type="Script" path="res://scenes/Menus/OptionsMenu/Game/ResetGameControl/ResetGameControl.gd" id="1_x4vk8"]
[ext_resource type="Script" path="res://scenes/Menus/OptionsMenu/Game/ResetGameControl/ResetGameControl.gd" id="1_ddss5"]

[node name="ResetGameControl" type="HBoxContainer"]
custom_minimum_size = Vector2(0, 32)
offset_top = 210.0
offset_right = 305.0
offset_bottom = 242.0
script = ExtResource("1_x4vk8")
script = ExtResource("1_ddss5")

[node name="ResetLabel" type="Label" parent="."]
layout_mode = 2
Expand Down
10 changes: 5 additions & 5 deletions scenes/Menus/OptionsMenu/Input/InputOptionsMenu.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=3 uid="uid://l5i31075k8eo"]
[gd_scene load_steps=3 format=3 uid="uid://dn6xaimgwkpaf"]

[ext_resource type="PackedScene" uid="uid://dp3rgqaehb3xu" path="res://addons/maaacks_game_template/base/scenes/Menus/OptionsMenu/Input/InputOptionsMenu.tscn" id="1_j06t6"]
[ext_resource type="Script" path="res://scenes/Menus/OptionsMenu/Input/InputOptionsMenu.gd" id="2_m6wqw"]
[ext_resource type="PackedScene" path="res://addons/maaacks_game_template/base/scenes/Menus/OptionsMenu/Input/InputOptionsMenu.tscn" id="1_gffpu"]
[ext_resource type="Script" path="res://scenes/Menus/OptionsMenu/Input/InputOptionsMenu.gd" id="2_6ca4b"]

[node name="Controls" instance=ExtResource("1_j06t6")]
script = ExtResource("2_m6wqw")
[node name="Controls" instance=ExtResource("1_gffpu")]
script = ExtResource("2_6ca4b")
Loading

0 comments on commit 82cf1ff

Please sign in to comment.