I made a simple persistent switch in the menu. Then I put it like this:
Code: Select all
if persistent.composers:
play music adventure_1
else:
play music adventure_2
So what I did for a test:
Code: Select all
init:
$ adventure = "audio/adventure" + persistent.m_suf + ".mp3"
label start:
$ persistent.m_suf = "_1"
play music adventure
$ renpy.pause (10)
$ persistent.m_suf = "_2"
play music adventure
My second idea was to use two different channels or mixers, start the both tracks in the same time, but one of them will be always muted, and there will be a button for that. But I'm afraid it compromises the whole idea of volume control Or maybe I'm wrong?
Please, point me in the right direction, maybe at least one of this things is doable? Any piece of working code, if I get so lucky, will be extra appreciated