Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Sound Issues! Please Help!

$
0
0

I have created a game which begins playing a continuious loop, at this moment in time there is also status bar which is filling up to the point where the player can make there move. Cough cough, Final Fantasy..

Anyway, when the next sound plays the looping music stops.

Here what am dealing with.

    static class Sounds
    {
        static public void ThemeMusic()
        {
            System.Media.SoundPlayer ThemeMusic = new System.Media.SoundPlayer(Properties.Resources._457865_Super_8_bit_Battle_);
            ThemeMusic.PlayLooping();
        }

        static public void Bling()
        {
            System.Media.SoundPlayer Bling = new System.Media.SoundPlayer(Properties.Resources.Bling);
            Bling.Play();
        }
    }


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>