SetResolution
Last updated
Was this helpful?
Was this helpful?
if (InputManager.Keyboard.KeyPushed(Keys.D1))
{
FlatRedBallServices.GraphicsOptions.SetResolution(200, 200);
}
if (InputManager.Keyboard.KeyPushed(Keys.D2))
{
FlatRedBallServices.GraphicsOptions.SetResolution(500, 500);
}FlatRedBallServices.GraphicsOptions.SetResolution(GraphicsDevice.DisplayMode.Width,
GraphicsDevice.DisplayMode.Height);