Anyway to do a fullscreen request without a user gesture?

Get help using Construct 3!

Post » Mon Jun 05, 2017 5:38 am

I am basically trying to make it so on mobile fullscreen mode will be set to Scale Outer and in desktop browser it will be set to Letterbox Scale.

I tried running it and it said fullscreen request must be made with a user gesture. So I was just wondering if there was anyway around this or not?
B
4
S
1
Posts: 6
Reputation: 314

Post » Mon Jun 05, 2017 8:35 pm

No - imagine if every web page and popup ad could suddenly show itself in fullscreen. The limit is to stop web pages annoying you.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762

Post » Tue Jun 06, 2017 12:51 pm

Got it! Looks like I'll just have to pick one full screen mode that kinda works for both or do a touch to start kinda thing for mobile.

Thanks!
B
4
S
1
Posts: 6
Reputation: 314

Post » Tue Jun 13, 2017 8:40 am

It might be a possibility to just make a "start screen"?

Touching "Start" causes the mobile event to start and clicking it runs the desktop event.

Hope this might help
Chris Hinz

Design, visual development and illustration

www.hinz-art.com
B
7
S
1
Posts: 50
Reputation: 542


Return to How do I...?

Who is online

Users browsing this forum: No registered users and 1 guest