/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Guarantees that the storage device will be not be null before continuing //while(Storage == null) //{ // Console.Write("Getting Storage..."); // To avoid GuideAlreadyVisibleException while (LiveServices.GuideIsVisible()) { } StorageDevice.BeginShowSelector(getStorage, "Get initial StorageDevice"); // Console.Write(" ..."+Storage+"... "); // Console.Write("Call Started..."); //} // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); GameTextures.load(Content); GameVideos.load(Content); PostProcessFx.LoadContent(); //MapManager.tempMap.LoadContent(Content); font = Content.Load <SpriteFont>("FontA"); //newfont = Content.Load<SpriteFont>("fontfile"); newfont = Content.Load <SpriteFont>("dotsfontfile"); volterfont = Content.Load <SpriteFont>("font-volter"); newfontgreen = Content.Load <SpriteFont>("fontfile-green"); blueNumbersFont = Content.Load <SpriteFont>("bluenumbersfont"); buttonsFont = Content.Load <SpriteFont>("xboxControllerSpriteFont"); ButtonDraw.initialize(buttonsFont); GC.Collect(); }