Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
Touch control in javascript
How to make touch control like move right, move left, but the control can be held
2 Respostas
+ 4
Check this.
https://developer.mozilla.org/en-US/docs/Games/Techniques/Control_mechanisms/Mobile_touch
And there are so many libraries.
Ā DHTMLX Touch,Ā TouchScroll,Ā XUI,Ā SLY,Ā jQTouch,Ā jQuery mobile
+ 3
The event listeners are
touchstart
touchmove
touchcancel
touchend