Create press any key to continue screen

This commit is contained in:
Your Name
2025-07-19 21:03:56 +04:00
parent c5840660c3
commit c012eabca3
4 changed files with 71 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
extends Control
signal any_key_pressed
func _ready():
print("PressAnyKeyScreen ready")
func _input(event):
if event.is_action_pressed("any_key") or event is InputEventScreenTouch:
print("Any key pressed: ", event)
any_key_pressed.emit()
get_viewport().set_input_as_handled()

View File

@@ -0,0 +1 @@
uid://buak21ajgvevl