We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbefaf1 commit 6afdce2Copy full SHA for 6afdce2
marble_webapp/app.js
@@ -77,7 +77,7 @@ class Game {
77
window.addEventListener('devicemotion', e => {
78
if (e.accelerationIncludingGravity) {
79
// Adjust axis for intuitive control
80
- this.tilt.x = e.accelerationIncludingGravity.x * 2;
+ this.tilt.x = e.accelerationIncludingGravity.x * -2;
81
this.tilt.y = e.accelerationIncludingGravity.y * -2;
82
}
83
});
0 commit comments