3 ms·
Control by phone sensor (https://developer.mozilla.org/en-US/docs/Web/API/OrientationSensor https://developer.mozilla.org/en-US/docs/Web/API/Orientation...) wou
by kristopolous 9mo ago
Control by phone sensor (https://developer.mozilla.org/en-US/docs/Web/API/OrientationSensor https://developer.mozilla.org/en-US/docs/Web/API/Orientation...) would be nuts.
tilting the phone as the control...
Here's a demo of the control since mdn didn't have one:
https://9ol.es/pitch.html https://9ol.es/pitch.html
Also a more practical thing while we're doing this is a thumb drag control, that'd make this a hit.
Like flappy bird level.
- aziaziazi 9mo agoI added gyroscope, thumb/pointer drag and full screen buttons too: https://aziaziazi.github.io/SphericalSnake/ https://aziaziazi.github.io/SphericalSnake/ Only tested on mobile safari yet.