+ 3
BRICK BREAKING GAME
I HAVE STILL NOT MADE MOUSE TO WORK ON IT. ONLY WORKS WITH ARROW KEYS AT THE MOMENT. BUT I AM UNABLE TO FIGURE WHY DOES IT SOMETIME MALFUNCTIONS AND REMOVES THE WRONG BRICK https://code.sololearn.com/WaS2856eK56Y
7 Respuestas
+ 9
suggestion :
make work at mobile first than computer because SoloLearners usually open SL from mobile
+ 8
nice done but it doesn't work at mobile
+ 7
what a big progress!
but the text about right/ left arrow you can remove it to
For Computer
Right Arrow to move right
Left Arrow to move left
For Mobile
Tap in the bottom of canvas to move.
and add some CSS .😀
+ 6
maybe you can use jquery events
+ 2
yeah i am stuck. i have no idea how will i make this work on mobile which events i should be working on
+ 2
any suggestion on which event to look into.. i have used touchmove. check if it works now
+ 1
thanks! yes it doesnt work because i have not added event listener to mousemove.. i have to travel so i might do after returning