Sound Volume By Variable

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.
Post Reply
Message
Author
wellsgrant
Newbie
Posts: 23
Joined: Mon Feb 11, 2019 10:05 pm
IRC Nick: sidewalkchalk
Deviantart: wellsgrant
Soundcloud: sidewalkchalka
Location: Who even knows at this point...
Contact:

Sound Volume By Variable

#1 Post by wellsgrant »

I am wondering if there is a way that I can control how loud my music is by a boolean variable. Kinda on this idea.

Code: Select all

while (1==1):
	if music_playing = True:
		#set music volume to %100
	else:
		#set music volume to %0
Any ideas would help.
Ooo look... a penny!

Post Reply

Who is online

Users browsing this forum: Andredron