I have defined 3 variables.
Code: Select all
music_vol = 1.0
voice_vol = 1.0
fx_vol = 1.0
Code: Select all
splashsong = love.audio.newMusic("sound/SFOpening.ogg")
love.audio.play(splashsong, 0)
Code: Select all
splashsong:setVolume(music_vol)
Code: Select all
music_vol = 1.0
voice_vol = 1.0
fx_vol = 1.0
Code: Select all
splashsong = love.audio.newMusic("sound/SFOpening.ogg")
love.audio.play(splashsong, 0)
Code: Select all
splashsong:setVolume(music_vol)
Users browsing this forum: Semrush [Bot] and 2 guests