This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
KaiTheLesbian
wrote ...
2021/10/6
Pong
KaiTheLesbian
2021/10/6
#
TnT
KaiTheLesbian
2021/10/6
#
I can't get my code for the ball to bounce off my paddle to work. Does anyone know what my issue may be? double factor=(ball.getX()-paddle.getX())/((ball.getImage().getWidth()+paddle.getImage().getWidth()))/2;
KaiTheLesbian
2021/10/6
#
paddle.getX())/((ball.getImage().getWidth()+paddle.getImage().getWidth()))/2;
You need to login to post a reply.
X