/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); hero.LoadContent(Content, 2); carte.LoadTextures(Content); camera = new Rectangle(0, 0, Divers.Largeur_Ecran / 32, Divers.Hauteur_Ecran / 32); love = Content.Load <Texture2D>("ilove"); complete = Content.Load <Texture2D>("complete"); song = Content.Load <Song>("VVVVVVsong"); MediaPlayer.Play(song); // TODO: use this.Content to load your game content here }