Screen resolutions

Discussion in 'Game Development (Technical)' started by svero, Jan 8, 2013.

  1. svero

    svero
    Expand Collapse
    Moderator Original Member Indie Author

    Joined:
    Jul 27, 2004
    Messages:
    3,393
    Likes Received:
    4
    What happens if you tell direct x to run a window in an unsupported mode in full-screen on a laptop?

    Like.. suppose you have a game that runs fullscreen at 1920x1080 and doesn't automatically scale down or list adapter modes etc... And you just make that window and tell direct x to full screen it on a laptop that supports a maximum resolution less than that. What's the result?

    I ran a 16x9 app that was too large on a macbook and it seemed to handle it gracefully and just scale everything down. What magic is this? Where is it happening? Vid card driver? a feature of dx? the os?

    What SHOULD I be doing if anything if my res is larger or unsupported?
     
  2. jcottier

    jcottier
    Expand Collapse
    New Member

    Joined:
    Jul 12, 2006
    Messages:
    1,386
    Likes Received:
    0
    I am always running at main desktop resolution. Then scale my game to fit the actual screen. This way, you never have problems. Up to you to stretch or add bars (if in 2d).

    JC
     
  3. Desktop Gaming

    Desktop Gaming
    Expand Collapse
    Moderator Original Member Indie Author

    Joined:
    Feb 24, 2005
    Messages:
    2,293
    Likes Received:
    11
    you will have problems doing that if the user has a really crappy system and can't allocate enough resources to create the screen. I've heard of it happening but admittedly it's not that common.
     
  4. jcottier

    jcottier
    Expand Collapse
    New Member

    Joined:
    Jul 12, 2006
    Messages:
    1,386
    Likes Received:
    0
    Never heard ever ever ever of this problem... Despite all my games doing this. But more importantly,BFG is also doing this for their 1st party games (downloaded millions of time). On the other hand, I heard/had loads of problem trying to create non-default screen res in fullscreen. So, I rather use my technique :)

    JC
     

Share This Page