How do you make a pong ball bounce in p5.js?

前端 未结 0 1451
耶瑟儿~
耶瑟儿~ 2020-12-05 07:18

I can\'t figure out how to make the ball bounce of the paddles! I\'ve tried using a long if statement, but that failed, I think it takes to long to calculate so it skips it!

相关标签:
回答
  • 消灭零回复
提交回复
热议问题