+ 6

Can someone please help me with my code. It was working fine on my PC, but is not running on my phone and any other Android.

can someone please correct the code. as the box is not jumping. https://code.sololearn.com/Wiz0UPc45y0K/?ref=app

16th Oct 2017, 4:11 PM
Prakshenjay Bhati
Prakshenjay Bhati - avatar
5 Respuestas
+ 8
Not my thing, but it may well be the difference between clicking the button and tapping the button that is causing the problem.
16th Oct 2017, 4:25 PM
Hatsy Rei
Hatsy Rei - avatar
+ 4
Thanks a lot for helping me.
17th Oct 2017, 7:40 AM
Prakshenjay Bhati
Prakshenjay Bhati - avatar
+ 2
the game has a bug that if u long press and leave above tje screen it stays up and u can't go dowm
2nd Dec 2017, 11:31 PM
Arel
Arel - avatar
+ 1
If you paste this in your button element(in html), then it should also work for the mobile. ontouchstart="accelerate(-0.2)" ontouchend="accelerate(0.05)" Nice code btw!
16th Oct 2017, 7:19 PM
Dr_Donko89
Dr_Donko89 - avatar