step one to squa

This commit is contained in:
pennyrigate 2024-07-13 01:23:57 -04:00
parent 741d734b11
commit 69df2d6ce4
2 changed files with 4 additions and 0 deletions

View file

@ -51,6 +51,8 @@ func _notification(what: int) -> void:
NOTIFICATION_WM_FOCUS_OUT:
animation_player.playback_active = false
$FamiVoice.stream_paused = true
Audio.ac_music.stream_paused = true
NOTIFICATION_WM_FOCUS_IN:
animation_player.playback_active = true
$FamiVoice.stream_paused = false
Audio.ac_music.stream_paused = false

View file

@ -5,8 +5,10 @@ func _notification(what: int) -> void:
match what:
NOTIFICATION_WM_FOCUS_OUT:
$AnimationPlayer.playback_active = false
Audio.ac_music.stream_paused = true
NOTIFICATION_WM_FOCUS_IN:
$AnimationPlayer.playback_active = true
Audio.ac_music.stream_paused = false
func _ready():
Fade.fade_in(Options.transition_speed_secs)