I'm trying to do an action and vibrate when a user shakes his phone rapidly to the left, so to say. I've been trying to do it with touch acceleration, but it just does nothing when I test it. Any suggestions on how I could achieve this?
Develop games in your browser. Powerful, performant & highly capable.