Resolution question

For questions about using Classic.

Post » Sat Feb 13, 2010 1:57 pm

Hi,

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

Thanks
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
71
S
19
G
19
Posts: 1,919
Reputation: 16,910

Post » Sat Feb 13, 2010 2:35 pm

Just use the screen ratio to work it out.

For example;

Widescreen (6:9 ratio) = 480x720
Widescreen (6:10 ratio) = 480x800

Krush.
B
2
S
2
G
3
Posts: 406
Reputation: 2,062

Post » Sat Feb 13, 2010 2:43 pm

thanks. But wchich one would be most common?
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
71
S
19
G
19
Posts: 1,919
Reputation: 16,910

Post » Sat Feb 13, 2010 2:48 pm

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).
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Feb 13, 2010 3:32 pm

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.
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
71
S
19
G
19
Posts: 1,919
Reputation: 16,910

Post » Sat Feb 13, 2010 3:55 pm

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.
B
28
S
8
G
8
Posts: 530
Reputation: 7,154

Post » Sat Feb 13, 2010 5:01 pm

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.
B
2
S
2
G
3
Posts: 406
Reputation: 2,062

Post » Sat Feb 13, 2010 10:30 pm

[quote="KrushBrother":2v4089o2]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.[/quote:2v4089o2]

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.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sun Feb 14, 2010 12:48 am

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. :lol:

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 [url:2blivf92]http://www.scirra.com/forum/viewtopic.php?f=3&t=5136[/url:2blivf92]

Krush.
B
2
S
2
G
3
Posts: 406
Reputation: 2,062

Post » Sun Feb 14, 2010 1:43 am

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. :D

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.
B
2
S
2
G
3
Posts: 406
Reputation: 2,062

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest