add basic match3 logic

use proper logging everywhere
add gamepad and keyboard control on match3 gameplay
This commit is contained in:
2025-09-24 16:58:08 +04:00
parent e76297b3f3
commit bbf512b675
14 changed files with 466 additions and 63 deletions

View File

@@ -7,11 +7,11 @@ const MAIN_MENU_SCENE = preload("res://scenes/ui/MainMenu.tscn")
const SETTINGS_MENU_SCENE = preload("res://scenes/ui/SettingsMenu.tscn")
func _ready():
print("Main scene ready")
DebugManager.log_debug("Main scene ready", "Main")
press_any_key_screen.any_key_pressed.connect(_on_any_key_pressed)
func _on_any_key_pressed():
print("Transitioning to main menu")
DebugManager.log_debug("Transitioning to main menu", "Main")
press_any_key_screen.queue_free()
show_main_menu()
@@ -35,9 +35,9 @@ func clear_current_menu():
current_menu = null
func _on_open_settings():
print("Opening settings menu")
DebugManager.log_debug("Opening settings menu", "Main")
show_settings_menu()
func _on_back_to_main_menu():
print("Back to main menu")
DebugManager.log_debug("Back to main menu", "Main")
show_main_menu()