How do I force landscape mode on intel xdk ?

Get help using Construct 2

Post » Mon Mar 23, 2015 6:36 pm

I am building my project for ios and android
isetup screen to landscape on both c2 and intel xdk . However when i tild the tablet screen it changes the game rotation. How can i lock it to show landscape only ?
B
8
S
2
Posts: 130
Reputation: 970

Post » Mon Mar 23, 2015 8:26 pm

I generally set the orientation in the project properties and with intel xdk also in the export settings.

You sure you set the landscape thing in the intel xdk on the correct tab ?
Who dares wins
B
50
S
10
G
10
Posts: 1,728
Reputation: 12,895

Post » Mon Mar 23, 2015 10:03 pm

what kind of tablet are you using the screen oritation for iOS is currently broken in the XDK
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Tue Mar 24, 2015 10:29 am

volkiller hi , i was reffering to android. but this is a very disturbing news. Fro android it started working again without my intervention
B
8
S
2
Posts: 130
Reputation: 970

Post » Tue Mar 24, 2015 2:27 pm

So, is there a workaround for ios
B
8
S
2
Posts: 130
Reputation: 970

Post » Sat Apr 18, 2015 5:24 pm

What might work is if you make sure you go to full screen before calling the lockOrientation
Some games: https://play.google.com/store/search?q= ... s&hl=en_GB Feel free to show the panda some support, he would appreciate it :)
B
19
S
5
G
1
Posts: 155
Reputation: 1,619

Post » Sat Apr 18, 2015 5:47 pm

Ah just remembered how I resolved my issue. I used the screenlock plugin for XDK

https://github.com/yoik/cordova-yoik-screenorientation
Some games: https://play.google.com/store/search?q= ... s&hl=en_GB Feel free to show the panda some support, he would appreciate it :)
B
19
S
5
G
1
Posts: 155
Reputation: 1,619

Post » Sun Apr 19, 2015 6:57 am

thanks
i alerady used a plugin for that :) thanks anyway for the help
B
8
S
2
Posts: 130
Reputation: 970


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Bobbyneal100 and 5 guests