Code: Select all
def talking_stick(char, event_name, interact=True, **kwargs):
if not interact:
return
if event_name == "show_done":
renpy.sound.play("audio/"+char.name+"bip.wav", loop="True")
if event_name == "slow_done":
renpy.sound.stop()
Two, the looping of the beep is too regular, and I want to make it sound more Morse-code-like, with beep dots and beep dashes. Is there a way to put in variable pauses after the sound before it loops, or have beeps overlap?