[SOLVED] Accelerometer question

Get help using Construct 2

Post » Sat Apr 06, 2013 4:56 pm

Hello, I'm sorry if I'm wrong place.

I wanna ask, how to capture the accelerometer/gravity sensor from a device (like android devices or windows 8 tablet devices) and move an object in accordance with the accelerometer/gravity sensor?


The 'infinite jumping' template in the start dialog is controlled by tilt and I've tried it on my android phone. But I want when I tilt my phone about 20-40degree the character move to left/right is not too fast/slowly, and when I tilt my phone about 40-90++ degree the character will move fastly, so the character move's speed to left/right is syncronized with the tilt degree.


Like the Stone Series games listed in this thread
http://www.scirra.com/forum/topic60466.html


Thank you and sorry for my bad english :D


_______________________________________________________________________
_______________________________________________________________________
Edit:
I've found how to implement that on construct


And I learn it from this thread
http://www.scirra.com/forum/how-to-get-motion-control-values-from-ipad_topic46460_post290942.html

ahmadnbl2013-04-07 06:42:23
B
7
Posts: 14
Reputation: 603

Post » Sun Apr 07, 2013 6:42 am


Thank you all :D
B
7
Posts: 14
Reputation: 603


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, armaldio, plinkie and 19 guests