Use Accelerometer Real ball rolling
sebmacfly
Member Posts: 1,018
Hello there,
I'm new in GameSalad comunity, i'm trying to use the Accelerometer for making a ball rolling, like a maze game (exemple labyrinth)...
How i can do that?
I used the device accelerometer with accelerate, but i would like to move the ball with realistc acceleration and gravity...
(ball go faster if the iphone is more inclined)
Thanks, a great work here, a lot of Pros!
I'm new in GameSalad comunity, i'm trying to use the Accelerometer for making a ball rolling, like a maze game (exemple labyrinth)...
How i can do that?
I used the device accelerometer with accelerate, but i would like to move the ball with realistc acceleration and gravity...
(ball go faster if the iphone is more inclined)
Thanks, a great work here, a lot of Pros!
Comments
I only have to use accelerate? no move?
For game.Accelerometer.X i use <-0.1 and >0.1
For game.Accelerometer.Y i use <-0.1 and >0.1
That's right?
Thank you
Sorry if i speak english like a french cow! lol
Thanks!!!