feature/match3/move-gems (#7)

Reviewed-on: #7
Co-authored-by: Vladimir nett00n Budylnikov <git@nett00n.org>
Co-committed-by: Vladimir nett00n Budylnikov <git@nett00n.org>
This commit is contained in:
2025-09-25 11:48:08 +02:00
committed by nett00n
parent e76297b3f3
commit ea8c85d7ad
53 changed files with 2335 additions and 524 deletions

View File

@@ -3,12 +3,12 @@ extends Control
signal any_key_pressed
func _ready():
print("PressAnyKeyScreen ready")
DebugManager.log_debug("PressAnyKeyScreen ready", "PressAnyKey")
update_text()
func _input(event):
if event.is_action_pressed("any_key") or event is InputEventScreenTouch:
print("Any key pressed: ", event)
if event.is_action_pressed("action_south") or event is InputEventScreenTouch or (event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.pressed):
DebugManager.log_debug("Action pressed: " + str(event), "PressAnyKey")
any_key_pressed.emit()
get_viewport().set_input_as_handled()