I'm trying to make a sprite moving left to right while we're moving the phone.
I did this :
It's perfectly working on Android and version of iphone 7 and older, but on newest iphone, nothing :(
Any advices ?
You need to request device orientation permission before it works. See the infinite jumping template for an example.
Develop games in your browser. Powerful, performant & highly capable.
Thank you, it's working