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.
The chapter starts outside the house, and it's raining. I'll play the "rain.ogg" as a sound, or create another music channel (because there's already a song playing too).
Anyway, when they get in the house, the rain sound volume has to be turned down a little.
After, when they go outside again, the rain volume goes back o normal.
It would be like:
*label outsidehouse1= normal volume.
*label house1= lower volume.
*label outsidehouse2= normal volume again.
How do I adjust it on Renpy?
Thank youAlex wrote: ↑Wed Oct 16, 2019 7:00 pmTry it likehttps://www.renpy.org/doc/html/audio.ht ... set_volume
Code: Select all
$ renpy.music.set_volume(0.5, delay=0, channel='my_rain_channel')
- Lemma-Class Veteran
- Posts: 2714
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
For extra realism, I'd consider using multiple audio samples.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Actually finish a project
Thank you! You're right. Maybe I should try another audio for a building inside Thanks.
Users browsing this forum: Bing [Bot], Google [Bot]