Fade in, fade out music

Non-platform specific questions.

Fade in, fade out music

Postby lverona » Wed May 30, 2012 11:29 am

Hey fellas!

In some games there is this neat effect that when you enter from one area into another, old music fades out and new one fades in. I am not entirely sure if this is in an easy manner achievable in GE. Any advice?
lverona
 
Posts: 221
Joined: Tue Apr 24, 2012 11:54 am
Score: 1 Give a positive score

Re: Fade in, fade out music

Postby skydereign » Wed May 30, 2012 4:05 pm

You can use the musicvol variable. Fading out is the same as lowering the variable to 0, when that happens call PlayMusic2 to change the music. Then just fade back in.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest