don't vsync; set target FPS to 120-ish
GitOrigin-RevId: 724e876b9ad97f515919cb150ef7be164d096367
This commit is contained in:
parent
87100eaa67
commit
1ea4d6c39b
@ -28,6 +28,9 @@ namespace SemiColinGames {
|
|||||||
|
|
||||||
public SneakGame() {
|
public SneakGame() {
|
||||||
graphics = new GraphicsDeviceManager(this);
|
graphics = new GraphicsDeviceManager(this);
|
||||||
|
graphics.SynchronizeWithVerticalRetrace = false;
|
||||||
|
IsFixedTimeStep = true;
|
||||||
|
TargetElapsedTime = TimeSpan.FromSeconds(1.0 / 120);
|
||||||
IsMouseVisible = true;
|
IsMouseVisible = true;
|
||||||
Content.RootDirectory = "Content";
|
Content.RootDirectory = "Content";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user