iPhone app, what resolution?

Get help using Construct 2

Post » Wed Oct 01, 2014 8:28 am

Hey, I'm thinking of buying c2 and creating a iphone app, what resolution should I use? If I use 640 x 960 I feel like it'd only work on iPhone 4 and not iPhone 5 since it's taller, isn't it?
Website Twitter Indie Developer
B
20
S
6
G
4
Posts: 206
Reputation: 2,954

Post » Wed Oct 01, 2014 8:36 am

You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708

Post » Wed Oct 01, 2014 8:39 am

I read that before and I'm thinking of letterbox scale, will that change the screen sizes for iPhone correctly?
Website Twitter Indie Developer
B
20
S
6
G
4
Posts: 206
Reputation: 2,954

Post » Wed Oct 01, 2014 9:32 am

Letterbox scale will work fine, but you will get black bars at the edges on 1136x640 devices. (assuming a landscape app)

To avoid the black edges you need to use 'Scale Outer' or 'Scale Inner'. I would use a 960x640 window for the project, with Save Outer. Make sure the first event is 'Scroll To 568,320' so the window view centers on the layout.

Make sure you have a background image of 1136x640, so the inactive part of the window shows something other than the black bars.

You can't put any interactive content at the outer edges as they will get clipped on 940x640 devices. So from 0 to 88 pixels, and 1048 to 1136 are dead zones, but you can still use this space for some things, e.g. bullet objects coming from the screen edge. It means 1136x640 users may have a slight advantage as they can see things sooner than the 960 wide screen.
B
24
S
7
G
1
Posts: 186
Reputation: 2,716

Post » Wed Oct 01, 2014 11:04 am

It's a portrait app, simple app that's just for holding the iPhone regularly :P But I will follow those instructions! Thanks!
Website Twitter Indie Developer
B
20
S
6
G
4
Posts: 206
Reputation: 2,954


Return to How do I....?

Who is online

Users browsing this forum: Bootfit, OBLIVION, worm1 and 27 guests