My project requires my voice reading all sentences so when I wanto to fast forward (click a lot to reach a specific point) I heard my voice remixed.
How can I stop sounds when I click to go forward? (Thank you)
Stop sounds after clicking (solved)
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.
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.
-
- Regular
- Posts: 35
- Joined: Mon May 04, 2009 6:08 pm
- Location: Bucaramanga, Colombia
- Contact:
Stop sounds after clicking (solved)
Last edited by Schnauzer on Fri Jan 15, 2010 5:42 pm, edited 1 time in total.
- PyTom
- Ren'Py Creator
- Posts: 16097
- 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: Stop sounds after clicking
Are you using the voice command? It should automatically stop voices when the user clicks.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 35
- Joined: Mon May 04, 2009 6:08 pm
- Location: Bucaramanga, Colombia
- Contact:
Re: Stop sounds after clicking
No, I'm using the "play sound" command.
How can I use the voice command or what is its correct sintax? Do I have to write "play voice" and then the file? (Thanks)
How can I use the voice command or what is its correct sintax? Do I have to write "play voice" and then the file? (Thanks)
-
- Newbie
- Posts: 23
- Joined: Sat Aug 08, 2009 2:06 pm
- Projects: Yeah, 6-7 or more... <_<
- Location: Sweden
- Contact:
Re: Stop sounds after clicking
Voice Support in the manual.
To use it, just use
You can also replay the same voice again by using the sustain command as such
To use it, just use
Code: Select all
voice "line1.ogg"
e "This is my first line, and it's spoken out loud!"
e "I am now being quiet... sort-of!"
"What she means is that she isn't talking, but the text is there!"
voice "lineo9k.ogg"
e "I talk too much!"
Code: Select all
voice sustain
e "And now I'm repeating my previous line!"
-
- Regular
- Posts: 35
- Joined: Mon May 04, 2009 6:08 pm
- Location: Bucaramanga, Colombia
- Contact:
Re: Stop sounds after clicking
So I must write:
voice sustain
And then the name of the file again?
voice sustain
And then the name of the file again?
-
- Newbie
- Posts: 23
- Joined: Sat Aug 08, 2009 2:06 pm
- Projects: Yeah, 6-7 or more... <_<
- Location: Sweden
- Contact:
Re: Stop sounds after clicking
You only need to write a new filename when you want to play another file. If you put sustain instead of a filename, it will repeat the last line.
Another example
Another example
Code: Select all
voice "line23.ogg"
e "I'm the heroine, of course I have a lot of things to say!"
voice sustain
e "Repeating myself to make you understand the truth of my previous statement!"
voice "line34.ogg"
e "NO, I REFUSE TO FOLLOW RULE 34!"
voice sustain
e "Repeating so that you'll understand that fact!!"
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]