How do you add mobile controls? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you add mobile controls?

In Javascript, how would you add mobile controls in a game?

30th Oct 2020, 12:32 PM
Gabriel
Gabriel - avatar
2 Answers
+ 7
You have to make them ,or search for libraries that ease the implementation of them ,use touch pointer and mouse listener events to make your controls
30th Oct 2020, 12:39 PM
Abhay
Abhay - avatar
0
Ah, Yes! I figured it out! Thank you!
27th Nov 2020, 10:27 PM
Gabriel
Gabriel - avatar