Gravity X accelerometer... help!

Helo!
any one help us how to build  Gravity X accelerometer only?

we have a thesis games…
and we decide to use accelerometer but Gravity X only(left or right)
but i dont have an idea how to start… :blink: :frowning: :frowning: :frowning:
 

Look at the boxes demo. Only use the horizontal gravity value and you’re done.

sir.  how?
can i see a sample code ?

plss…

tnx… :huh:

Look at the boxes demo. Only use the horizontal gravity value and you’re done.

sir.  how?
can i see a sample code ?

plss…

tnx… :huh:

In corona simulator you have access to all demos and code

problem solve …

In corona simulator you have access to all demos and code

problem solve …