How do I make game fullscreen on mobile and centered on pc

Get help using Construct 2

Post » Wed Apr 30, 2014 4:36 pm

Hi everyone!
Please, help me.
I need the game was centered when player start's it on pc
and fullscreened (without address bar and black borders).
Is it any way to do it?
B
3
Posts: 8
Reputation: 191

Post » Wed Apr 30, 2014 5:20 pm

Use the browser objects request fullscreen method. Export it as html5, choose the template you want, 2 of them are centered I believe.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,603

Post » Wed Apr 30, 2014 5:24 pm

B
25
S
4
G
1
Posts: 47
Reputation: 1,723

Post » Wed Apr 30, 2014 5:36 pm

Yes, I request fullscreen on mobile device.
But the only one template which is centered and scales is Letterbox scale.
But, on mobile device when I request fullscreen browser shows black zone instead of adress bar.
Maybe there are any way to switch "Fullscreen in browser" mode from 'Letterbox scale' to 'Scale outer' in runtime?
B
3
Posts: 8
Reputation: 191


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests

cron