0
?sup programmer , once look at my question
https://code.sololearn.com/WHck573O59ib Hey there, I am learning HTML right now, and I was making a game but there is two problem! Can you solve this two problem, 1. In pc the (spaceship) moves along with mouse cursor(( space ship is shown when as img me.png ) , but in mobile , it don't move,=can anyone make it mobile touch mover. 2.when i double click ,while playing ,everything speeds up = can you fix that. not want speed.
3 Réponses
+ 4
1. U haven't use Jquery Cdn and you trying to access Jquery ??
2. u haven't define ' e ' function
e("Left");
3. spaceship is moving with mouse because
of using mousemove event
document.getElementById("gameCanvas").addEventListener("mousemove", gamemousemove);
.
.
.
0
ah, at least delete this duplicate question
https://www.sololearn.com/Discuss/2933206/?ref=app
0
@beauty can you send me code