Aspect Ratio

For questions about using Classic.

Post » Wed Oct 01, 2008 9:14 am

Is there any way to change the aspect ratio of the screen?

I have a 16:10 widescreen monitor and obviously, everything that's running fullscreen on a 4:3 resolution looks weird.

Is there a way to set the is screen on 4:3, 16:9 or 16:10 ratio? That would be really awesome :)
B
2
S
1
G
4
Posts: 92
Reputation: 1,384

Post » Wed Oct 01, 2008 9:46 am

You can zoom a layer's x and y separately by a percentage.

I just tested it out on one of my projects and it works just fine. I also have a widescreen monitor, but the stretching is usually very minimal and not really noticeable in most games. The game I'm making though has a ball as the player object, so you can see that it's slightly oblong in fullscreen. Changing just the X zoom ratio to 80ish percent fixed it.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Wed Oct 01, 2008 9:54 am

I know this may seem really lazy, but could you please post an example? :roll:
B
2
S
1
G
4
Posts: 92
Reputation: 1,384

Post » Wed Oct 01, 2008 10:03 am



~ OR ~

Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Wed Oct 01, 2008 10:09 am

The 'Set Display Resolution' action can actually change the window size and displayable area as well. I strongly recommend games made in Construct use it to provide an option to run the game in widescreen.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Wed Oct 01, 2008 1:40 pm

Why is it that I always make something that you guys are talking about, without even knowing you guys are talking about it until I've finished? :P

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Thu Oct 02, 2008 1:17 am

[quote="SoldjahBoy":2g3nbaip]Why is it that I always make something that you guys are talking about, without even knowing you guys are talking about it until I've finished? :P

~Sol[/quote:2g3nbaip]


I don't get it... When I change the Display Size, I also have to change the zoom for every Layer?
B
2
S
1
G
4
Posts: 92
Reputation: 1,384

Post » Thu Oct 02, 2008 8:08 am

How about adding black bars to keep the original 16:10 aspect on a 4:3 resolution?
B
2
S
1
G
4
Posts: 92
Reputation: 1,384

Post » Thu Oct 02, 2008 8:26 am

[quote="Kr!s":25vugw5x]How about adding black bars to keep the original 16:10 aspect on a 4:3 resolution?[/quote:25vugw5x]

I'm guessing to mean so you could support both types of monitor, from like an option screen? I don't see why you couldn't... you could try putting actual black bar sprites on the top layer. If you place them in the right spots and make them the right size, and get creative with the resolution and maybe some zooming, it could work pretty well I think. It's something that might need some tweaking to perfect but I don't think it'd be all that complicated.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Oct 02, 2008 9:16 am

[quote="deadeye":38f17uuw][quote="Kr!s":38f17uuw]How about adding black bars to keep the original 16:10 aspect on a 4:3 resolution?[/quote:38f17uuw]

I'm guessing to mean so you could support both types of monitor, from like an option screen? I don't see why you couldn't... you could try putting actual black bar sprites on the top layer. If you place them in the right spots and make them the right size, and get creative with the resolution and maybe some zooming, it could work pretty well I think. It's something that might need some tweaking to perfect but I don't think it'd be all that complicated.[/quote:38f17uuw]

It is complicated... trust me...
At least for me it is. I just couldn't do it.

I really think there should be an option within Construct to stretch, fit, or whatever you want to do with the display and resolutions, without having to zoom each layer individually and all that stuff.
B
2
S
1
G
4
Posts: 92
Reputation: 1,384

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests