How do I support multiple mobile resolutions? (mostly iOS)

Get help using Construct 2

Post » Thu Dec 04, 2014 4:29 pm

Hello there,

I was wondering, if I wanted to support the different mobile device resolutions (iOS), how would I go about doing that? If I were to make a game and wanted to make sure that there was a way to support most of the devices, from the still supported iOS 7 devices like the iPhone 4S (960x640), to the devices that had the biggest resolutions, what should be my window/layout size to begin with?

Thanks in advance! :D

~Cheers!
B
10
S
2
Posts: 25
Reputation: 719

Post » Thu Dec 04, 2014 5:58 pm

This could help you : https://www.scirra.com/tutorials/73/sup ... reen-sizes

In my own case, I ended up having to choose a layout size and make sure that important elements (sprites, text, not background) were centered enough and a bit far from the edges, to make sure they'd show well on any resolution. In one case I programmed the game to adjust an image's size depending on the device used (the player tells which device he has when the game starts).
You can also play around with the Anchor behaviour, but the more you add elements that you want to keep on-screen, the harder it gets : https://www.scirra.com/manual/88/anchor

In the end, if your question is what aspect ration (width/height) you should choose, my answer would be to choose an average one (say, the average between the most rectangular and the most square screens you're expecting your game to be played on).

Still, I'm new at designing games for mobile devices too, so this is only what I'd do.
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Post » Thu Dec 04, 2014 8:03 pm

It's usually better to take care of the screen sizing automatically rather than ask the player. You can run a few checks to determine the device and screen size.

This may be of some interest to @g3xas

https://www.youtube.com/watch?v=o0s-dIihEUM
Some games: https://play.google.com/store/search?q= ... s&hl=en_GB Feel free to show the panda some support, he would appreciate it :)
B
19
S
5
G
1
Posts: 155
Reputation: 1,619

Post » Fri Dec 05, 2014 1:41 am

Thank you guys for replying!

@BinaryPanda the video you sent seems to be really useful. I'm going to try that out. Thanks!
B
10
S
2
Posts: 25
Reputation: 719


Return to How do I....?

Who is online

Users browsing this forum: MathNook and 30 guests