How do I design for multiple aspect ratios?

Get help using Construct 2

Post » Wed May 20, 2015 8:40 am

I'm shifting from Unity to C2 because i have trouble with the 2D physics in unity.
However, there seems to be difference how the two tools handle aspect ratios. I will mention the method i used. Can someone please tell me is there a similar method in C2?

    I choose a height (760 px). So my background is 760px.
    I set orthographic camera height to 3.8 because size=height/2/100. Now, this height remains constant regardless of screen size or aspect ratios.Unity only changes how much detailed the graphics are.
    Since 16:9 is widest, i design for this so that on narrower aspect ratios like 3:2 or 5:4, there is cropping on edges. So, i create background of width 1352 px. It fits 16:9 perfectly, but there will be cropping to the sides on narrower ratios.

How can i achieve this with C2? Does the height change with screen sizes?
B
2
Posts: 5
Reputation: 160

Post » Wed May 20, 2015 8:42 am

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed May 20, 2015 8:45 am

Thanks. @LittleStain i've been through that tutorial. What i don't understand from that is, if i design to 16:9, will it be enough? i mean it's fine if there's cropping to the sides.
B
2
Posts: 5
Reputation: 160

Post » Wed May 20, 2015 8:55 am

If you want to allow cropping you should choose for scale-inner..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed May 20, 2015 9:05 am

And what about the height? if i have 1352px X 760 px. Will it avoid showing black bars?
B
2
Posts: 5
Reputation: 160

Post » Wed May 20, 2015 9:12 am

From the above tutorial:

Scale inner mode
Like Scale outer, this mode scales the view and uses the full display. However it handles aspect ratios differently: whereas Scale outer shows more of the layout if the aspect ratio is different, Scale inner shows less. Since it prefers to cut off parts of the view, it never accidentally shows content outside the window... but you still have the opposite problem - it might cut off something that you want to be seen!
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: RobertMKD and 2 guests