+ 2
Hello everyone! I need help
Why the cube can't jump a second time? https://code.sololearn.com/WTGTRmYfk4Y5/?ref=app
10 ответов
+ 2
That's because you used :
window.onload = function() {
......
}
Actually you need to set it onclick.
Add this .
.......HTML......
<canvas onclick = "Fly_Up();">
.....Java Script.....
function Fly_Up();{
.....
}
Hope you understand .
+ 1
here's it :
https://code.sololearn.com/Wf37D5uuj2n1/?ref=app
+ 1
that's what I was talking about .
+ 1
wow, thanks, now i will try to understand the code
0
hello
0
this cant help me(((
0
what i must do to fix it?
0
wait I'll correct your code .
0
ok thank you very much