Format A C2 Game For All IOS screen resolutions

Get help using Construct 2

Post » Sun Apr 22, 2018 8:13 pm

I am looking to create a mobile construct 2 game for IOS. Before I start though I need to know how to format a C2 game to fit all IOS screen ratios in landscape. :geek:
B
1
Posts: 1
Reputation: 127

Post » Sun Apr 22, 2018 9:31 pm

You don't

Pick a scale, 16x9 is good, pick a resolution from that scale, and use fullscreen.
B
179
S
50
G
208
Posts: 8,721
Reputation: 128,810

Post » Mon Apr 23, 2018 4:10 am

https://www.scirra.com/tutorials/73/sup ... reen-sizes

To get rid of black bars on screens with different aspect ratio, use scale outer mode and make your background about 15% bigger than layout size.
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
19
S
9
G
158
Posts: 2,393
Reputation: 84,413

Post » Mon Apr 23, 2018 2:37 pm

dop2000 wrote:https://www.scirra.com/tutorials/73/supporting-multiple-screen-sizes

To get rid of black bars on screens with different aspect ratio, use scale outer mode and make your background about 15% bigger than layout size.


You can change the background in the html. Its just black by default. You can even use a texture if you like.
B
179
S
50
G
208
Posts: 8,721
Reputation: 128,810

Post » Mon Apr 23, 2018 4:36 pm

@newt
Good to know, thanks.
But if the background in the game is more complex, consisting of different sprites, or moving, scaling - then I guess it needs to be a part of layout, not set in html.
B
19
S
9
G
158
Posts: 2,393
Reputation: 84,413


Return to How do I....?

Who is online

Users browsing this forum: DarthPapalo666, quevsal and 1 guest