SetMusicVolume for fading music in and out?
Monkey Forums/Monkey Programming/SetMusicVolume for fading music in and out?
| ||
Would using SetMusicVolume be acceptable for fading music in and out? I'm worried that on some devices it may show an on-screen volume control of some kind while I'm changing the volume. Or it affects their entire devices media volume for anything else they may use. I don't want to change the volume to 0.1 and have that modify their alarm volume or something, for example. |
| ||
Yes that is fine. It shouldn't affect anything external to monkey. |
| ||
We use SetMusicVolume in Diddy for exactly this and it works fine. It doesnt show anything on screen it only changes the volume internally for your game. |
| ||
Excellent, thank you. I had some nice music created for my next game, but this is the first time I've had Menu Music AND In-Game Music separate, so I want to fade one out before starting the next one instead of an abrupt change, and if I can use SetMusicVolume for this - perfect. |