this.IsFixedTimeStep = false;
// intialize the graphics
graphics.SynchronizeWithVerticalRetrace = false;
graphics.ApplyChanges();
// intialize the graphics
graphics.SynchronizeWithVerticalRetrace = false;
graphics.ApplyChanges();
加上以上Code在Game.cs的Initialize()中,
就可以由60fps升到4000fps以上 (我使用NVIDIA® GeForce® 9800 GT和4GB Ram)
沒有留言:
張貼留言