Browse Source

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

GitOrigin-RevId: 724e876b9a
master
Colin McMillen 4 years ago
parent
commit
1ea4d6c39b
  1. 3
      Shared/SneakGame.cs

3
Shared/SneakGame.cs

@ -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";
}

Loading…
Cancel
Save