Android and IOS Screen Size Problem

Get help using Construct 2

Post » Mon Feb 11, 2013 7:49 pm

Hi.
Im making a android and ios platformer game in landscape mode and i have a problem with the resolutions.
My initial resolution is 640x480 but when i test it on my android (GS2) it adds some space in the right side and I want it to have the size of 640x480.
I tried many different ways of fullscreen and etc. and none seems to work.
With the Ipad 2 with 640x480 the game runs perfectly, it only streches the graphics a little bit.
On GS2 i managed to run the game fine with 800x480 screen.
But i want to have the same resolution for all devices because the size of the levels.
Any thoughts?

Thank you.
B
16
S
3
G
1
Posts: 85
Reputation: 2,260

Post » Mon Feb 11, 2013 8:30 pm

For Android, make sure to use the Letterbox scale integer. Also check your devices resolution and available screen size. 800480. part of developing mobile is that C2 scales to the aspect ratio. If your game is on a different aspect ratio it will lead to blank areas.

Often the best idea is to create your game play and layout at a higher assumed resolution. Then change the viewport as needed.
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Tue Feb 12, 2013 12:09 am

Thank you.
But should I expand the game and levels to 800x480?
B
16
S
3
G
1
Posts: 85
Reputation: 2,260

Post » Tue Feb 12, 2013 12:35 am

B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Tue Feb 12, 2013 1:37 pm

Curious, JoelBelo, why not a Windows 8 and/or Windows Phone game?
B
13
S
3
Posts: 21
Reputation: 1,192


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Artpunk, indiegrimes, NRABrazil, PixelatedTrip and 28 guests