[SOLVED]Sound Effect When Dialog Advances?
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.
[SOLVED]Sound Effect When Dialog Advances?
What I want to do is have a simple sound effect play each time the dialog is advanced. (The player clicks/presses space and a little 'blip' is heard. Like in Danganronpa. (and im sure many other vns)It seems pretty simple to explain but it seems no one else has asked about it. (I'm aware I could just use play sound after each line of dialog but that seems rather tedious and i'm sure there has to be a better solution.)
Last edited by Braydxne on Wed Sep 20, 2017 8:28 pm, edited 1 time in total.
- Divona
- Miko-Class Veteran
- Posts: 678
- Joined: Sun Jun 05, 2016 8:29 pm
- Completed: The Falconers: Moonlight
- Organization: Bionic Penguin
- itch: bionicpenguin
- Contact:
Re: Sound Effect When Dialog Advances?
Code: Select all
init python:
def dismiss_callback():
renpy.play("sound.ogg")
return True
config.say_allow_dismiss = dismiss_callback
Re: Sound Effect When Dialog Advances?
Thank you so much, you're amazing!
Who is online
Users browsing this forum: Ahrefs [Bot]