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

16th Jan 2018, 2:59 AM
Reuinte' Howard
3 ответов
+ 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.
16th Jan 2018, 11:01 AM
Alper Tiryakioğlu
Alper Tiryakioğlu - avatar
+ 1
Omg!! I forgot about this and kept looking past it. How embarrassing😅😅 thank u so much.
16th Jan 2018, 11:09 AM
Reuinte' Howard
+ 1
You're welcome 😁
16th Jan 2018, 11:29 AM
Alper Tiryakioğlu
Alper Tiryakioğlu - avatar