match-3 grid generation

make game scene modular
global debug mode
This commit is contained in:
2025-09-24 10:45:14 +04:00
parent 122b5cb55f
commit afc808f0d6
21 changed files with 506 additions and 94 deletions

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=2 format=3 uid="uid://m8lf3eh3al5j"]
[gd_scene load_steps=3 format=3 uid="uid://m8lf3eh3al5j"]
[ext_resource type="Script" uid="uid://b2c35v0f6rymd" path="res://scenes/ui/MainMenu.gd" id="1_b00nv"]
[ext_resource type="PackedScene" path="res://scenes/ui/DebugToggle.tscn" id="2_debug"]
[node name="MainMenu" type="Control"]
layout_mode = 3
@@ -37,6 +38,9 @@ text = "Settings"
layout_mode = 2
text = "Exit"
[node name="DebugToggle" parent="." instance=ExtResource("2_debug")]
layout_mode = 1
[connection signal="pressed" from="MenuContainer/NewGameButton" to="." method="_on_new_game_button_pressed"]
[connection signal="pressed" from="MenuContainer/SettingsButton" to="." method="_on_settings_button_pressed"]
[connection signal="pressed" from="MenuContainer/ExitButton" to="." method="_on_exit_button_pressed"]