[SOLVED] Request fullscreen doesn't seem to work?

Get help using Construct 2

Post » Mon Jul 22, 2013 2:00 pm

I have been reading about this for the last hour now and no matter what i try i can't get the Browser-object's "Request fullscreen" to trigger. At first i thought it might be other things in my project code that prevented this from working, so i tried a blank document with only this object present.



Clearly I must be doing something wrong because I've tried it on my PC with both Firefox and Chrome and on my Galaxy S4 with Chrome, all latest versions...

Now I've seen pages before that do request fullscreen so i know it works in my browser. I also performs just fine if i press F11. Any help would be appreciated. hdnine2013-07-22 14:25:27
B
7
S
2
Posts: 38
Reputation: 555

Post » Mon Jul 22, 2013 2:15 pm

From the manual

Request fullscreen

Request that the browser enter fullscreen mode. Note the browser may ignore this request unless the action is in a user-initiated event, such as a mouse click, key press, touch event or button press.
LittleStain2013-07-22 14:18:16
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Jul 22, 2013 2:24 pm

Superb! I actually never got that part. I strangely enough read it but it never occurred to me that user input is needed.

Now I simply added a button which triggered the request and voila! Thanks! ^^hdnine2013-07-22 14:29:35
B
7
S
2
Posts: 38
Reputation: 555


Return to How do I....?

Who is online

Users browsing this forum: Kenthria and 9 guests