iivchenko / tower-defense-sandbox

Yet another project to learn game development and functional paradigm.
MIT License
1 stars 0 forks source link

Screen resolutions #33

Closed iivchenko closed 4 years ago

iivchenko commented 4 years ago
iivchenko commented 4 years ago

Don't want to do settings at all. It is to long, senseless and not interesting And here the way to get available screen resolution https://stackoverflow.com/questions/10039339/get-the-supported-screen-resolutions-in-xna

iivchenko commented 4 years ago
foreach (DisplayMode mode in GraphicsAdapter.DefaultAdapter.SupportedDisplayModes) {
    //mode.whatever (and use any of avaliable information)
}