View Single Post
Old 06-07-2008, 06:59 PM   #34 (permalink)
ShotgunSnipist
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 803
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

Okay, So how do you make the music stop?

gameMode = GameMode.Song; starts it right?



Basically, Here's my code that I changed. It... works....

Code:
            if (gameMode == GameMode.Black)
            {
                if (MediaPlayer.State == MediaState.Playing)
                    ts -= gameTime.ElapsedGameTime;
                if (ts >= new TimeSpan(0, 0, 0))
                {
                    MediaPlayer.Volume -= .99f;
                }
                else
                {
                    MediaPlayer.Volume += .99f;
                }
__________________
Invisible Text. =P

Last edited by ShotgunSnipist; 06-07-2008 at 07:05 PM.



ShotgunSnipist is offline   Reply With Quote