holding down spacebar on menu fast forwards text

This commit is contained in:
zymsbgt 2024-08-20 20:48:37 +08:00
parent 05deff5860
commit 0466f6298c

View file

@ -34,9 +34,11 @@ func _unhandled_input(event: InputEvent) -> void:
_show_full_text() _show_full_text()
else: else:
typing_speed = fast_typing_speed typing_speed = fast_typing_speed
else:
typing_speed = 0.05
func _process(_delta: float) -> void: func _process(_delta: float) -> void:
typing_speed = 0.05 # Zurück zur normalen Geschwindigkeit pass # typing_speed = 0.05 # Zurück zur normalen Geschwindigkeit
func _start_typing() -> void: func _start_typing() -> void:
current_text = "" current_text = ""