+ 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

3rd Oct 2017, 11:26 AM
adeel salim
adeel salim - avatar
7 Answers
+ 9
suggestion : make work at mobile first than computer because SoloLearners usually open SL from mobile
3rd Oct 2017, 1:01 PM
Art456
Art456 - avatar
+ 8
nice done but it doesn't work at mobile
3rd Oct 2017, 12:55 PM
Art456
Art456 - avatar
+ 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 .😀
12th Oct 2017, 1:28 PM
Art456
Art456 - avatar
+ 6
maybe you can use jquery events
8th Oct 2017, 6:40 AM
Art456
Art456 - avatar
+ 2
yeah i am stuck. i have no idea how will i make this work on mobile which events i should be working on
3rd Oct 2017, 2:02 PM
adeel salim
adeel salim - avatar
+ 2
any suggestion on which event to look into.. i have used touchmove. check if it works now
8th Oct 2017, 2:33 PM
adeel salim
adeel salim - avatar
+ 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
3rd Oct 2017, 12:56 PM
adeel salim
adeel salim - avatar