6
\$\begingroup\$

I'm looking for some sort of list with most common game resolutions my game should support.

Regards!

\$\endgroup\$

closed as too broad by Josh Dec 15 '15 at 5:58

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ Also, re-tagged as PC since this isn't relevant on consoles or all the other platforms where resolution is effectively fixed. \$\endgroup\$ – MrCranky Aug 16 '10 at 9:00
  • \$\begingroup\$ @MrCranky What about Mac, or mobile devices? Or even browser sizes for Flash/plug-in games. \$\endgroup\$ – Adam Harte Aug 16 '10 at 20:06
  • \$\begingroup\$ Well, there's no tag for MacOS (probably should be really). I'll leave it to the original poster to clarify which platform they meant then. I can't think that this would be a useful question if it was meant cross platform. Certainly the fact that they accepted an answer pointing at the Steam Hardware survey would suggest that PC was what they meant... \$\endgroup\$ – MrCranky Aug 17 '10 at 10:01
11
\$\begingroup\$

A good place to start is the Steam Hardware Survey which includes a list of the most popular display resolution among Steam users. Wikipedia has a list of common resolutions in computer graphics. You can also look at some commercial games and see what resolutions they allow the user to select from.

If you're going to support any resolution and just want a list to show to the user, you can query the list of supported resolutions on the player's PC. How you do that depends on the API, for example in SDL you'd use SDL_ListModes.

\$\endgroup\$
7
\$\begingroup\$

I'm pretty sure on Direct X platforms at least, you're expected to query the platform for a list of available modes (using EnumAdapterModes on the device). That way the platform will already exclude any unavailable resolutions (because the GFX card or OS doesn't support it).

You can further sub-filter those modes to exclude any you don't support (for example if you don't support widescreen resolutions), but you certainly shouldn't be defining your own arbitrary list of resolutions and expecting them to map to the set which is actually available.

\$\endgroup\$
3
\$\begingroup\$

Unless you plan to target one machine with one predefined set of resolutions, i'd recommend making your game so that it works on any resolution.

If your game has a high range of resolutions it should support (meaning: from very low to very high) in that case it makes sense to leave out things on lower resolution and also to use different graphics sets (e.g. High def textures make no sense on a small handheldscreen).

\$\endgroup\$
  • \$\begingroup\$ The game supports any resolution, but I would like provide a list of resolutions that the player could choose between. \$\endgroup\$ – Balon Aug 14 '10 at 13:48

Not the answer you're looking for? Browse other questions tagged or ask your own question.