Inside the sample project (QuickStartSampleGame) folder you’ll find a
Settings.xml. Using this XML you can easily tweak the engine settings to your liking.
- Performance settings
- In this file you’ll find GraphicsLevel, of which you can choose Low, Med, High, and Highest. The engine comes preconfigured to handle each of these cases so that you can quickly choose one of those
four settings based on the system you’re running on.
- IsFixedTimeStep allows the engine to run with v-sync (usually 60 fps) when set to true, or to run with the frames per second uncapped, when set to false.
can be turned off for increased performance. (Note: This feature didn't work well with XNA 3.1, it may be getting re-enabled soon with XNA 4.0 if it works properly. It is currently disabled).
can be turned off for increased performance. When false there will be no shadow mapping/casting.
is the number of physics steps per second. Generally this should never be set below 30. 60 is a good setting if you have decent CPU performance. The physics engine is threaded, so multi-core machines can more easily handle
- Other settings
- IsFullscreen determines whether or not the engine starts in fullscreen or windowed mode. When you're attached to the engine with Visual Studio it is recommended that you use windowed mode by setting IsFullscreen
to false. Note: You can switch between windowed and fullscreen within the Sample Demo by Pressing Alt+Ctrl+Enter.
- IsVerticalSynchronized allows the engine to run with v-sync (usually 60 fps) when set to true, or to run with the frames per second uncapped, when set to false. Note: In order to fully unlock the fps cap,
you'll need to set IsFixedTimeStep to false as well.
- Resolution sets the resolution your game will run at by default.