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.
I was wondering if anyone could help me integrate sound effects with my main menu imagebuttons. I have sound effects for when the mouse hovers over a menu option and another sound for when you click on the menu option, however I am not sure how to get it to work. Here's the code I have so far:
I really appreciate the help! Quick question, though: In the documentation regarding audio screen actions, the first field of "Play" is the channel that the audio is played on. Is there documentation that elaborates on what the channel is? Would I just use "sound" like you did in your example or is there a more specific variable I need to enter?
Sound is the default sound channel, which is already there. You can define and use new channels if you, say, don't want the sound of the button to interrupt the sound of a screen closing or opening. For example, if you put this in options: