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.

1st Dec 2021, 12:35 PM
Game Pirate
3 Respostas
+ 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); . . .
1st Dec 2021, 1:06 PM
Pariket Thakur
Pariket Thakur - avatar
0
ah, at least delete this duplicate question https://www.sololearn.com/Discuss/2933206/?ref=app
1st Dec 2021, 12:36 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
0
@beauty can you send me code
1st Dec 2021, 1:51 PM
Game Pirate