protected override void Initialize() { // TODO: Add your initialization logic here base.Initialize(); white = Color.White; //*******create and build XACT engine files in the project Content\Audio folder (you'll need to make this folder) //rename the .xgs file to sounds.xgs //make sure the audio and sound bank files have the default names //using the XACT engine means you don't need to add sounds to content pipeline engine = new AudioEngine("..\\..\\..\\Content\\Audio\\win\\sounds.xgs"); soundBank = new SoundBank(engine, "..\\..\\..\\Content\\Audio\\win\\Sound Bank.xsb"); waveBank = new WaveBank(engine, "..\\..\\..\\Content\\Audio\\win\\Wave Bank.xwb"); net = new networker(); test = new text(this, "pongText", theText); }
protected override void Initialize() { // TODO: Add your initialization logic here base.Initialize(); white = Color.White; //*******create and build XACT engine files in the project Content\Audio folder (you'll need to make this folder) //rename the .xgs file to sounds.xgs //make sure the audio and sound bank files have the default names //using the XACT engine means you don't need to add sounds to content pipeline engine = new AudioEngine("..\\..\\..\\Content\\Audio\\win\\sounds.xgs"); soundBank = new SoundBank(engine, "..\\..\\..\\Content\\Audio\\win\\Sound Bank.xsb"); waveBank = new WaveBank(engine, "..\\..\\..\\Content\\Audio\\win\\Wave Bank.xwb"); net= new networker(); test = new text(this, "pongText", theText); }