Compare commits

...

2 Commits

Author SHA1 Message Date
d328836ec5 add debug display hiding layout labels 2025-08-08 02:31:28 +10:00
78667ade3d fix keyboard sfx playing 2025-08-08 02:30:47 +10:00
2 changed files with 7 additions and 1 deletions

View File

@ -17,6 +17,11 @@ func _ready() -> void:
LayoutConfig.layout_swapped.connect(_set_layout_label)
func _process(_delta: float) -> void:
_layout_label.visible = _keyboard.is_configuring
_layout_swap_label.visible = _keyboard.is_configuring
func _unhandled_input(event: InputEvent) -> void:
if event is not InputEventKey or not event.is_pressed():
return

View File

@ -64,10 +64,11 @@ func _ready() -> void:
if Engine.is_editor_hint():
_generate_editor_keys()
return
_polyphonic = _sfx_player.get_stream_playback()
prompt_pages_total = ceili(LayoutConfig.layouts.size() / 9.0)
_generate_game_keys()
_reset_animations()
_sfx_player.play()
_polyphonic = _sfx_player.get_stream_playback()
func _process(delta: float) -> void: