/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { //Create the ScreenHelper, which does all of the math for finding screen locations this.ScreenHelper = new ScreenHelper(TitleSafeArea); // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); float xScale = GraphicsDevice.Viewport.Width / ScreenWidth; float yScale = GraphicsDevice.Viewport.Height / ScreenHeight; this.spriteScale = Matrix.CreateScale(xScale, yScale, 1); //Load other content AFTER we create the sprite batch... base.LoadContent(); Setup(); }