I want to pause the music at one point and it works perfectly fine when activated via a button a la this
Code: Select all
label start:
"test for credits"
play music cred
"normal audio"
screen pause:
textbutton "Pause" action PauseAudio('music', value='toggle')
show screen pause
"paused music?"
Code: Select all
label start:
"test for credits"
play music cred
"normal audio"
$ PauseAudio('music', value='toggle')
I don't even get an error message or anything, the game just ignores the pause order and keeps playing the music. Am I missing something really dumb or is PauseAudio actually not possible to just...do?
A way to kinda force it to work is this
Code: Select all
screen pause:
on 'show' action PauseAudio('music', value='toggle')
show screen pause
hide screen pause
"paused music?"
show screen pause
hide screen pause