Can one LERP master volume from -99db to 0 db in a second or two? In that case whats the formula?
Or is there a better idea for this?
i am no LERP master volume but atleast this one thing i know ^_^...
lerp(a to b in ticks/s) or lerp(a,b,x) lerp(0,-99,dt) lerp(-99,0,dt) fade out , fade in ... young obi kenobi.
however i prefer the variable way, lerp sometimes snaps towards the end and i don't like that.
also not sure if the volume has changed on decibels, but i think in Construct volume muted is -35db or nothing can be heard at that point, doing -99 is kinda pointless. unless again if that changed and you can actually hear stuff at -90db then -99db is a good value call.
Edited: also above me there is a post ... with the new feature in C3 ... that might solve it for you, if you don't want any custom fade in fade out.