Ok so i have an object and i want it to do side to side on tilt… the object is in the middle of the screen…
this code shoudl work right? or is there something wrong with it? cause i cant seem to get it working.
EDIT: lol nvm i got it i was ading Runtime:removeEventListener( “accelerometer”, onAccelerate ) instead of Runtime:addEventListener( “accelerometer”, onAccelerate ) haha
EDIT: lol nvm i got it i was ading Runtime:removeEventListener( "accelerometer", onAccelerate ) instead of Runtime:addEventListener( "accelerometer", onAccelerate ) haha