Scaling according to phone dimensions

Get help using Construct 2

Post » Tue Jun 05, 2012 12:06 pm

Greetings guys, I need help on mobile platform porting. I am currently using phoneGap. It appears that there are size issues due to project scaling. What is the appropriate way to do this?

It works well for iPad dimensions as the images for my project are of 768x1024. However, in iPhone it is scaled automatically by C2 export using fullscreen in browser [On] in my project settings. After exporting, there are white borders in the canvans because the images are not scaled to the correct iPhone size.
B
4
Posts: 11
Reputation: 322

Post » Tue Jun 05, 2012 12:36 pm

This tutorial has good information about screens on mobile devices:

http://www.scirra.com/tutorials/73/supporting-multiple-screen-sizes

Basically, since all mobile devices have different window sizes, the scale function will work differently for every device you try on. So you need to set a background so it covers over the white borders.
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Wed Jun 06, 2012 3:32 am

Thanks Mike! I guess I have to cater for different aspect ratios.
B
4
Posts: 11
Reputation: 322


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests