Voice Replay is Not Possible After Hiding Windows

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
AXYPB
Regular
Posts: 95
Joined: Thu Sep 04, 2014 3:04 am
Github: AXYPB
Contact:

Voice Replay is Not Possible After Hiding Windows

#1 Post by AXYPB » Sat Nov 05, 2016 12:39 pm

In Ren'Py projects with voice, hiding the text box using a hotkey stops voice playback. Additionally, voice replay screen actions are disabled until the next line is loaded. If the text box is hidden, the voice file can only be replayed by advancing the text and rolling back to the previous line. This issue was reported by a beta tester and seems to have been present in Ren'Py for some time.

mard
Regular
Posts: 50
Joined: Thu Nov 03, 2016 3:38 am
Location: Standing right behind you.
Contact:

Re: Voice Replay is Not Possible After Hiding Windows

#2 Post by mard » Sat Nov 05, 2016 3:13 pm

I tend to put that down to how Ren'py calls the voice file. The trigger for the sound file is tied to the text appearing on screen. I don't know if theres any way around it, as with any engine, the trigger for a sound file is predefined in the script. It may be possible to have it trigger by clicking in the backlog, but I'd wait for someone else's input to verify this.
Tend to be a bit quiet, but will help where I can.

Enjoy the drinks folks.

AXYPB
Regular
Posts: 95
Joined: Thu Sep 04, 2014 3:04 am
Github: AXYPB
Contact:

Re: Voice Replay is Not Possible After Hiding Windows

#3 Post by AXYPB » Thu Nov 10, 2016 7:46 pm

This issue was corrected in the nightly branch: https://github.com/renpy/renpy/commit/e ... 88f52ddb1f

Voice playback is not interrupted when the text box is hidden. However, if a menu is called, such as the game menu, the voice is interrupted and replay disabled as before. Would it be possible to extend this fix in these cases?

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Voice Replay is Not Possible After Hiding Windows

#4 Post by PyTom » Fri Nov 11, 2016 2:24 am

I'll look into it. Probably.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: _ticlock_