I was trying to modulate the volume of some music during the game by adding the volume clause to the play statement and got this error:
I tried different numbers from 0 to 2 and none work. Anyone knows why that is?
Volume clause on play not valid?
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.
Re: Volume clause on play not valid?
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
- IrinaLazareva
- Veteran
- Posts: 399
- Joined: Wed Jun 08, 2016 1:49 pm
- Projects: Legacy
- Organization: SunShI
- Location: St.Petersburg, Russia
- Contact:
Re: Volume clause on play not valid?
Your code is correct (1.0 is max). I assume you are using an old version of the launcher. This feature was added relatively recently..
https://www.renpy.org/doc/html/changelo ... cellaneous
It is now possible to specify a relative audio channel whenever an audio is file is played, using the new volume clause to play and queue.
Who is online
Users browsing this forum: Google [Bot]