Problem Description
The accelerometer works in opposite way, tilting phone left moves object right, etc. This wasn't a problem before.
Attach a Capx
Attached
Description of Capx
It's a simple capx with just two events. The orientation events are used to move sprite left and right by tilting the phone.
Steps to Reproduce Bug
- Step 1 - Export to crosswalk android
- Step 2 - Build with Intel XDK, full screen mode and landscape mode.
- Step 3 - Test on phone by tilting device left and right to move sprite left or right.
Observed Result
When tilting device left, sprite moves right and vice versa. This didn't happen when I used C2 last year for my project. I had this tested on some other devices and out of three, one of them worked correctly. My device is Motorola Moto G.
Expected Result
When tilting device left, sprite should move left and vice versa.
Affected Browsers
Operating System and Service Pack
Windows 8.1
Construct 2 Version ID
Construct 2 stable release 190