Hi all,
I have a puzzle in my game that uses the accelerometer to affect gravity. Problem is on Android, if the user flips the orientation from landscapeRight to landscapeLeft, the gravity in the puzzle applies force upwards instead of down. The “orientation” event doesn’t fire when the screen flips like this so I can’t change the direction of gravity. This is expected on Android as per: https://docs.coronalabs.com/api/event/orientation/index.html
Is there any way I can detect this flip? Will be such overkill to lock orientation for my entire game just because of this one small limitation.
Cheers.