I am frustrated. I'm trying to make a game controlled by the tilt of the phone (touch.beta and touch.gamma) and it's not working. I make an app by the MIT Inventor and it recognizes the orientation sensor in my smartphone. Im using a Samsung Q6 to test. It´s really working fine?
Try the accelerometer.
I tried, but not work.
Do note Works in Samsung j6 mobile too
You need to request permission before using motion/orientation.
It only will work exporting to Cordova? Im exporting to Scirra Arcade unsucessfully. Do not show any permission request in start of layout.
Develop games in your browser. Powerful, performant & highly capable.
You can't request permission in 'On start of layout'. See the manual entry for it, you must use a user input trigger.