Compare commits
2 Commits
95eb1ebd58
...
d328836ec5
| Author | SHA1 | Date | |
|---|---|---|---|
| d328836ec5 | |||
| 78667ade3d |
@ -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
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user