I made a game using construct 2 and ported it to firefox OS.i want to play it in default landscape mode.I was seeing black screen up and down when i was playing it in portrait. Need help.
Asked
Active
Viewed 402 times
0
-
You will need to include your code :) – Ashley Medway May 07 '14 at 15:04
1 Answers
0
You can force your application to be launch in landscape with JavaScript
screen.lockOrientation('landscape');
More information at https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Managing_screen_orientation#Preventing_orientation_change . Of course, you'll need to adapt your game to the new viewport.

fharper
- 559
- 2
- 13