BKcore / HexGL

Source code of HexGL, a futuristic HTML5 racing game

Home Page:http://hexgl.bkcore.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Motion control not working all the time

scootergrisen opened this issue · comments

When i hold my phone (Geeksphone Peak) horisontal like you would put it on the table then the motion control works.

But if you hold it vertical something goes wrong with the motion control and the craft turn extreme hard to the left or right like a on/off switch but no setting between.

Also if i turn the phone to the other landscape mode then the motion control works in the wrong direction, if you tilt the phone to the right the craft turn left, and if you tilt the phone to the left the craft goes right.

Right now only one orientation is supported.

TODO:

  • Support all possible orientations.