Does Crosswalk have a lock orientation?

Get help using Construct 2

Post » Mon Apr 21, 2014 1:52 am

Does Crosswalk have a lock orientation? I made a game that requires the device to be on its side and want to export to android so I was wondering if Crosswalk has a lock orientation.
B
37
S
14
G
3
Posts: 263
Reputation: 4,270

Post » Mon Apr 21, 2014 9:31 am

Yes, there should be an option when you build with the XDK.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,852

Post » Mon Apr 21, 2014 3:02 pm

@Ashley I was using this tutorial and couldn't find the lock orientation options.

Tutorial link: https://www.scirra.com/tutorials/809/ho ... -crosswalk

Is there an updated version of Crosswalk? Thank you.
B
37
S
14
G
3
Posts: 263
Reputation: 4,270

Post » Tue Apr 22, 2014 10:34 am

It should be available with the latest version of the Intel XDK.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,852

Post » Tue Apr 22, 2014 3:26 pm

@Ashley What is the latest Intel XDK? Is it the same one in the link in the tutorial you made?
B
37
S
14
G
3
Posts: 263
Reputation: 4,270

Post » Tue Apr 22, 2014 3:50 pm

Just download the latest version from Intel's site.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,852

Post » Tue Apr 22, 2014 3:52 pm

Last version Intel XDK - Update - 2014 Apr 21 v769
B
157
S
27
G
17
Posts: 910
Reputation: 32,588

Post » Tue Apr 22, 2014 8:28 pm

HZGaming wrote:Does Crosswalk have a lock orientation? I made a game that requires the device to be on its side and want to export to android so I was wondering if Crosswalk has a lock orientation.


In C2, using the Intel XDK object, make sure you set orientation to landscape or portrait.

Then, in XDK build mode, make sure you pick the newest code base and it should work.
B
33
S
7
G
8
Posts: 312
Reputation: 8,528

Post » Sun Apr 27, 2014 5:28 pm

Hi @Manley23:

I have included an action in the "on start on layout" event to define the orientation.

My question is: I need to do this for each layout that use different event sheet or just in the first one ("menu" for example)? Thanks.
B
74
S
13
G
4
Posts: 1,000
Reputation: 8,041

Post » Sun Apr 27, 2014 6:01 pm

@RenatoB - I have games/apps with several different layouts and event sheets. I've only ever put the "Lock Orientation" action on the first Event Sheet - for example, my title page event sheet.
B
33
S
7
G
8
Posts: 312
Reputation: 8,528

Next

Return to How do I....?

Who is online

Users browsing this forum: amazingdream, sean080 and 22 guests