Im really getting aggrivated at this computer... Whenever i go to build my game file, it says SpaceBakground file cannot be located. Ive placed the .dll in the content file, changed the Asset name and gotten the syntax correct. Ive even copied the code straight from the source code. Why isnt it working? here's the code I have(check the source code file for full code since I ended up copying and pasting):
protected override void LoadGraphicsContent(bool loadAllContent){
if (loadAllContent){
// Create sprite batch
spriteBatch = new SpriteBatch(graphics.GraphicsDevice);
// Load all our content
backgroundTexture = content.Load<Texture2D>
("SpaceBackground");
menuTexture = content.Load<Texture2D>("PongMenu");
gameTexture = content.Load<Texture2D>("PongGame");
audioEngine = new AudioEngine("PongSound.xgs");
waveBank = new WaveBank(audioEngine, "Wave Bank.xwb");
if (waveBank != null)
soundBank = new SoundBank(audioEngine, "Sound
Bank.xsb");
} // if
base.LoadGraphicsContent(loadAllContent);
} // LoadGraphicsContent(loadAllContent)
IronChef -
http://www.freewebs.com/cool_recipes