device orientaton problem

Get help using Construct 2

Post » Thu Aug 01, 2013 9:58 am

Hello,
how am I supposed to set portrait orientation in Construct 2 in order to play my game like that in my (android) mobile phone? It still shows in landscape orientation and I want to forbid this type of orientation.

I just also want to create my game and preview that game in a browser in PORTRAIT orientation.

please I am deseprate...
B
13
S
4
Posts: 105
Reputation: 1,503

Post » Thu Aug 01, 2013 10:54 am

Are you running it in a browser on your android device? or via cocoonJS or?

As Ashley states here. there is really no option to look the orientation in a browser.

But if you use one of the export mechanisms(cocoonJS, phonegap etc.) you can do it there.
B
20
S
6
G
4
Posts: 347
Reputation: 4,451

Post » Thu Aug 01, 2013 11:58 am

oh ok i didnt know that there is no option to lock the orientation....

but when I run my game via cocoonJS Launcher (with Portrait orientation set) it looks like this -> http://tinypic.com/r/3359xya/5

I had to draw it for better understanding it is the landscape orientation but in portrait orientation device... so it fills only half of my screen.

my resolution in Project Properties is 1280x720trance2013-08-01 11:59:19
B
13
S
4
Posts: 105
Reputation: 1,503

Post » Thu Aug 01, 2013 12:35 pm

exactly, the same problem im facing.
when i launch my app in android via Cocoonjs. Mine does not display at the center either. I am wondering how to solve this...
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: Evanetot, ItsAstro, mehrshadfarahani, Pulstar, wowsoundsg and 4 guests