0
Why wont my ball move?
It was working until i added its velocity into an if statement that i need. Is there any tips for resolving this issue???? https://code.sololearn.com/WeBc9wHO8c1J/?ref=app
3 Réponses
+ 1
At lines 106 and 107, you made vx and vy variables equal to 0, thus the ball is unable to move. If you comment these lines, the code works.
+ 1
Omg!! I forgot about this and kept looking past it. How embarrassing😅😅 thank u so much.
+ 1
You're welcome 😁