Resolution question

This forum is currently in read-only mode.
0 favourites
From the Asset Store
Adjusting the game screen for different resolutions (Letterbox scale)
  • Hi,

    If i want to make 480 resolution for widescreen monitors/tv, what should be horizonal resoultion: 704, 720, 854 or other?

    Thanks

  • Just use the screen ratio to work it out.

    For example;

    Widescreen (6:9 ratio) = 480x720

    Widescreen (6:10 ratio) = 480x800

    Krush.

  • thanks. But wchich one would be most common?

  • http://en.wikipedia.org/wiki/Computer_display_standard

    Edit: also check out Primary Resolution in the Steam Hardware Survey to see which are most common (amongst steam gamers, anyway, so results are skewed to gamers).

  • Thanks Ash. I already did the reaserch on wiki but there is few 480 resolutions and i have no idea which one would be the right one.

    According to Steam statistics, most popular is square resolution.

  • Also the specs for your monitor may give the preferred resolutions. When I got mine from NewEgg.com they showed the preferred resolutions in the specializations.

  • Yeah, your monitor should give you a clue as to which your monitor is, but I'm not sure whether you're after that or the monitor size of users of your program.

    If you decide to hard-code your screen size to widescreen 6:9 ratio, there'll be users using 6:10 ratio or 4:3 ratio that will have to use it stretched, and vice versa.

    You're never going to be able to please everyone unless you give the users the option to display it in all 3 (6:9, 6:10 and 4:3).

    I was speaking to someone recently who was using a 5:4 ratio, and I didn't believe them at first, but it was true.

    If the game is mainly for yourself, I'd just go with whatever ratio you need and let others put up with it.

    If you are more interested in other people being able to use it, work out a way to have the user select a ratio.

    Krush.

  • If you decide to hard-code your screen size to widescreen 6:9 ratio, there'll be users using 6:10 ratio or 4:3 ratio that will have to use it stretched, and vice versa.

    Not necessarily true. If you make a 4:3 game and play it on a widescreen monitor then it centers without stretching. It just shows black on the sides.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yes, but if he codes it to widescreen, how's that going to look in 4:3?

    While we're at it, how do we find the screen resolution that the user is currently running?

    The reason I ask is that because of this thread, I'm messing about with screen sizes and I'll need to get the users resolution to do what I have in mind.

    Scrub that!

    I've found the sysinfo object.

    I've also found a thread on screen resolutions which you and lost my keys (among others) have contributed, which I don't think I've read with any interest before.

    For the OP, the thread is http://www.scirra.com/forum/viewtopic.php?f=3&t=5136

    Krush.

  • On further investigation I've come to the following conclusion.

    A 4:3 ratio game running on a 16:9 widescreen monitor or TV is stretched a little bit, but not as much as you'd think.

    I can't say how it looks on a 6:10 monitor because the one I have is not connected to a computer at the moment, but I will hook my laptop up to it at some point to see how it looks.

    I imagine it's not going to look that bad.

    As for making a game in widescreen, I think the way I'll go eventually is to do what Niffla did with Knytt Stories, and create the game in 4:3 and put my own borders in there.

    Also, and I'm yet to do any performance tests on this, I think that rather than changing resolutions of the users computer, it may be best to hide the title bar of your game so that it floats without borders, get the current screen resolution on the users computer and change the window size to those, and then position the window at 0,0.

    Early tests on this look good, but as I say, I haven't done any performance tests on stretching this way.

    Krush.

  • A 4:3 ratio game running on a 16:9 widescreen monitor or TV is stretched a little bit, but not as much as you'd think.

    I don't notice any stretching when I do that.

  • OH jesus wept, not another "how do I do widescreen on regular and the other way around yada yada blah blah" threads.

    Do it in a window, there, problem solved, next!

  • Is something bothering you today LMK? You seem to be in a rather snippy mood according to your posts tonight.

    Alternate response:

    Wash the sand out of your vagoo before I punch you in it.

  • Hmm this is weird I didn't know 5:4 is so common (I use it but still)

  • I don't notice any stretching when I do that.

    Really?

    How does it appear on yours?

    Maybe you're not seeing it because it is slight.

    If you make a new app at 640x480 and create a tiled background 32x32 with pixel edge and a different colour interior, and then set it to fill the whole screen area, when you run it in a window they're perfect squares, but run it fullscreen and you can see that there is slight stretching horizontally.

    Lost My Keys, what the hell is your problem?

    Why post in a thread that doesn't interest you?

    If you think you've got screen resolutions sorted (and that thread I referred to earlier is far from conclusive proof) then good for you.

    Now take that bug out of your arse and let the forum serve it's purpose.

    Krush.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)