lock landscape

Get help using Construct 2

Post » Fri Nov 29, 2013 4:17 pm

hi,

i realy need some help, please


I need to make an interactive book with some game in it, but i need to lock the layout in landscape mode ( just landscape)

how can i make this?

Thanks for the suport

best regrads
B
5
Posts: 10
Reputation: 295

Post » Fri Nov 29, 2013 11:55 pm

You mean you want your regular HTML5 game to be locked to landscape view on mobile devices? I don't think it's possible to force this in browsers.

However there is a setting "Orientations" in the project properties. You can set it there, but it does also say "if this can be enforced". Best give it a try.

What you can definitely do is check for the orientation with the browser object and display a warning message if it's in the wrong one.
B
23
S
6
G
11
Posts: 1,045
Reputation: 8,061

Post » Mon Dec 02, 2013 12:09 pm

Hi ,

Does not really work, but thanks.
If you find how it works, tell me.Miguel Costa2013-12-02 12:11:07
B
5
Posts: 10
Reputation: 295


Return to How do I....?

Who is online

Users browsing this forum: NN81, Selvi Susanti and 4 guests