Started trying out the Lance JS library for building multiplayer games. I can't get the Spaace tutorial to accept input on my Android device, a Pixel 2 XL running Android 8.1.0. The game works fine on my laptop.
When connecting my phone to my laptop I saw this error message in the Javascript console:
bundle.js:60989 Uncaught TypeError: Utils.shortestArc is not a function
at MobileControls.handleMovementInput (bundle.js:60989)
at onRequestAnimationFrame (bundle.js:60921)
Replacing this line in MobileControls.js
const Utils = require('../common/Utils');
with this line
import Utils from '../common/Utils';
fixed that TypeError.
But the game still isn't responsive to touch input. The game runs and the AI ships occasionally fly by and shot at my ship.