awvalenti / fugaescorregadia

Jogo de labirinto rodando no navegador / Labyrinth game running on the browser
https://awvalenti.github.io/fugaescorregadia/
9 stars 1 forks source link

Make touchscreen work on desktop Edge #54

Open awvalenti opened 5 years ago

awvalenti commented 5 years ago

Edge needs to handle pointerdown/pointerup/pointermove events. Current code using touchstart/touchmove/touchend should be adapted by:

To test whether should add pointer events, could try testing this CoffeeScript condition: 'ontouchstart' of window. It's false on Edge.