+ 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
5 ответов
+ 8
Not my thing, but it may well be the difference between clicking the button and tapping the button that is causing the problem.
+ 4
Thanks a lot for helping me.
+ 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
+ 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!