I am making a jumper game that needs tilt to control.
Unfortunately, it doesnt seem to work correctly.
Anyone has an example or has already done this properly?
Kindly extend help :)
On what platform are you looking to get the accelerometer working?
iOS, windows and BB would be nice though.
Develop games in your browser. Powerful, performant & highly capable.
It works, it's just that every platform reports its orientation differently (axes flipped or 90 degree rotated, depending on what it is), that's a bit of a bummer.
since the values change everytime the player shifts his position (sitting, sleeping) in the middle of the game... so we're needed to calculate new median point everytime.
Is there a better way?