In my game I use Touch.AccelerationXWithG to move my object to left and right by tilt device left and right(player take device in portrait state ). It works file in most devices but in some( tablet) it doesn't work. It seems that X and Y axis are different in some device, because when I tilt in in long front to end it works but it doesn't right result.I think in some device the width of the device is X axis but in some of them the length of them is X. how can I solve this problem?
Develop games in your browser. Powerful, performant & highly capable.
This is a very good question and one I'm busy investigating, too.
Would definitely appreciate some feedback.