How do I Scale the project to the device width & height

Get help using Construct 2

Post » Wed Jul 09, 2014 10:50 am

Hey,

I am having some problems with scaling my project for devices. 'Fullscreen in browser' doesn't go fullscreen. Letterbox mode is the closest I have come to getting it fullscreen but all the others either move the screen to the right and leave a gap n the left or crops it. I would like my game to provide native like gaming and therefore need to scale it to the screen width and height (and remove the URL bar but I found a topic about it).

My dimensions I am currently using is 480*320 which is consistent across all my layouts.

Thanks for the help :D
B
9
S
1
Posts: 48
Reputation: 675

Post » Thu Jul 10, 2014 5:00 pm

Anyone? Please? :)
B
9
S
1
Posts: 48
Reputation: 675

Post » Thu Jul 10, 2014 6:30 pm

@MitchBrits15 I only use "Letterbox scale" because the other ones throw off the scaling. It's not perfect; it keeps your layout width and height to scale, but may distort your graphics.
yupenglee.com | @JustOnlyYu
B
14
S
3
Posts: 16
Reputation: 872

Post » Thu Jul 10, 2014 6:35 pm

arthology wrote:@MitchBrits15 I only use "Letterbox scale" because the other ones throw off the scaling. It's not perfect; it keeps your layout width and height to scale, but may distort your graphics.


Thank you for the reply :) That is currently what I have used for my game.. but the problem is it leaves black side bars :( Otherwise it is quite perfect :)
B
9
S
1
Posts: 48
Reputation: 675

Post » Thu Jul 10, 2014 6:39 pm

ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Thu Jul 10, 2014 6:40 pm

@MitchBrits15 Unfortunately, that is the case. You have to create the dimensions you want by targeting around the devices you want your game to be displayed on.
yupenglee.com | @JustOnlyYu
B
14
S
3
Posts: 16
Reputation: 872

Post » Thu Jul 10, 2014 6:45 pm

Ahhh I see, I should have made it by aspect ratio instead.. at least I know how to achieve this now :) Thank you Blackhornet and Arthology :D
B
9
S
1
Posts: 48
Reputation: 675


Return to How do I....?

Who is online

Users browsing this forum: HenryPK and 12 guests