[SOLVED] Voice bleeps playing infinitely in built projects
Posted: Mon Aug 02, 2021 5:15 pm
I just discovered this issue in my game that, when I play it through the Ren'Py launcher, the voice bleeps work perfectly fine (they stop playing as soon as a line has been fully displayed), but if I build the project and open the .exe, then the same exact voice bleeps continue forever.
This is the code I use:
Is it outdated, or is there some other reason it's not working properly?
Update: This error only happens on the first launch of the game. If I close it and reopen it, that fixes the issue.
However, I would really like it if it didn't happen in the first place...
This is the code I use:
Code: Select all
init:
$ renpy.music.register_channel("blips", mixer="voice", tight=True, buffer_queue=True, loop=True)
init python:
def o_blip(event, **kwargs):
if event == "show":
renpy.music.play("audio/o.ogg", channel="blips", loop=True)
elif event == "slow_done" or event == "end":
renpy.music.stop(channel="blips")
Update: This error only happens on the first launch of the game. If I close it and reopen it, that fixes the issue.
However, I would really like it if it didn't happen in the first place...