Page 1 of 1

Using the accelerometer to move a character?

Posted: Sun Dec 22, 2013 7:57 pm
by inlineskater720
hello. I am in the process of making a game, and i wanted to use the accelerometer to move the character from side to side. So if someone could help me out with this, that would be great!

Thanks!
~Inline

Re: Using the accelerometer to move a character?

Posted: Sun Dec 22, 2013 11:50 pm
by Simon
Hi Inline,
Welcome to the forums :)

Have you looked up "accelerationChanged" and "mobileEnableAccelerometer" in the dictionary?
They are what you'll want to use.

Simon