I'm working with a game in C# XNA and I want to draw a texture and a position in the middle of the screen. The thing is that I want the viewport to move around and not the player. So for example: If I push right I want the viewport to move right and keep the player in the middle of the screen.
Since GraphicsDevice.Viewport.X
and Y
are not variables, I have no idea how to do this.