accelerometer help.
tollhousestudio
Member Posts: 166
I have my game set up landscape.
I followed 'tshirtbooth's' you tube tutorial and it does work, but not at this orientation.
It works if the phone is portrait (upside down) this is strange, does anyone know what is wrong?
I followed 'tshirtbooth's' you tube tutorial and it does work, but not at this orientation.
It works if the phone is portrait (upside down) this is strange, does anyone know what is wrong?
Comments
is there more code to put in somewhere else to use accelerometer function?
I'm watching tshirtbooth's video tutorial now and I don't think it should matter which way your game is set up (landscape vs portrait). It's set up so that whichever way you tilt the iPhone is the direction the little ball rolls.
If the "up and down" in your game is "left and right" in the tutorial then use the tutorial "left and right" for your "up and down" :P