accelometer

Get help using Construct 2

Post » Wed Jan 11, 2012 8:26 pm

accelerometer(?) - is there a possibility to control via tilting the phone sideways
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,958

Post » Wed Jan 11, 2012 8:40 pm

Check this post and the topic it's in.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,786

Post » Wed Jan 11, 2012 8:51 pm

Is it tested and it works?
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,958

Post » Thu Jan 12, 2012 11:09 am

Yes it is very much possible, after hrs of pulling my hair out ive finally figured out how to achieve it. Ive tested it on iPad 1st gen and iPhone 4.

Here it is: Accelerometer Test

Its very basic but it works! :)2Bdigital2012-01-12 11:10:01
B
5
S
1
G
1
Posts: 111
Reputation: 1,122

Post » Thu Jan 12, 2012 11:09 am

I checked and not working ;/
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,958

Post » Thu Jan 12, 2012 11:11 am

What did you test it on?
B
5
S
1
G
1
Posts: 111
Reputation: 1,122

Post » Thu Jan 12, 2012 11:14 am

Ive updated the file! Try it now!

Quick point to make: Make sure you are running ios 5!2Bdigital2012-01-12 11:37:36
B
5
S
1
G
1
Posts: 111
Reputation: 1,122

Post » Thu Jan 12, 2012 12:39 pm

Well i try on phone with android ;s when i rotate phone my layout skip 90 degrees
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,958

Post » Thu Jan 12, 2012 12:43 pm

That's your problem, It doesn't work on Android devices. I have only tested it on iPad and iPhone and it works fine. Ill try and look into it for Android devices.
B
5
S
1
G
1
Posts: 111
Reputation: 1,122

Post » Thu Jan 12, 2012 12:50 pm

If someone uploads the HTML onto dropbox i'll be happy to test on a iphone 3Gs and 4S
B
29
S
12
G
7
Posts: 740
Reputation: 7,839

Next

Return to How do I....?

Who is online

Users browsing this forum: Governador, RookieDev, tarek2, Thelegendvinny and 19 guests