don't vsync; set target FPS to 120-ish

GitOrigin-RevId: 724e876b9ad97f515919cb150ef7be164d096367
This commit is contained in:
Colin McMillen 2020-01-24 19:57:07 -05:00
parent 87100eaa67
commit 1ea4d6c39b

View File

@ -28,6 +28,9 @@ namespace SemiColinGames {
public SneakGame() {
graphics = new GraphicsDeviceManager(this);
graphics.SynchronizeWithVerticalRetrace = false;
IsFixedTimeStep = true;
TargetElapsedTime = TimeSpan.FromSeconds(1.0 / 120);
IsMouseVisible = true;
Content.RootDirectory = "Content";
}