How do I check the device orientation?

Get help using Construct 2

Post » Sat Sep 26, 2015 8:39 am

Hello

I have a game in portrait mode.
I'd like check the device orientation (i.e. for a "please rotate screen") which works on mobile and desktop.
If i use Browser.IsPortrait it does work on mobile but not Desktop. The browser on desktop is mostly in landscape.

Any ideas how i can check this?

Thanks
B
13
S
4
Posts: 23
Reputation: 991

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 18 guests