Fullscreen not working

Discussion and feedback on Construct 2

Post » Tue Jan 13, 2015 2:07 pm

Following this tutorial:
https://www.scirra.com/tutorials/1282/f ... n-browsers

I´m calling the "Browser request fullscreen" from a user-input event (On any touch start). But nothing happened.

Testing from iPad 3 Chrome/Safari via wifi preview.
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Tue Jan 13, 2015 4:20 pm

IOS does not support fullscreen. Works fine on android.
B
34
S
15
G
6
Posts: 244
Reputation: 4,372

Post » Tue Jan 13, 2015 5:03 pm

Thanks.
I had saw here http://caniuse.com/#feat=fullscreen but I thought that chrome in IOs would work.

So, if I can´t fullscreen on IOs, I can´t lock the orientation either.
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Thu Jan 22, 2015 2:37 pm

If you will use HTML5 WEB app i think you can use a lil bit of javascript to help you with fullscreen ( only on interaction/click/touch - not easy to implement for all devices),
If you will use it as Hybrid, it will be packed with custom view so it will be fullscreen by default.

maybe you find something usefull here: github.com/gajus/orientationchangeend and github.com/gajus/scream
As i get it from C2 User Manual: Orientation is detected only in Hybrid apps no WEB... - maybe im wrong but it dont work for now for my web game..


My only problem is that FullScreen (Desktop - on Key Press) dont work on Internet Explorer and thats Shame, again i must go back to JavaScript..
B
7
S
1
Posts: 17
Reputation: 477


Return to Construct 2 General

Who is online

Users browsing this forum: AppStar and 9 guests