Create press any key to continue screen

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

No files matched your search

+12
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()
+1
View File
@@ -0,0 +1 @@
uid://buak21ajgvevl