http://rafb.net/p/3IY1Zo70.html
Theres my code. Heres my problem.
1.) the ball goes too "deep" into the right paddle. Any idea why?
2.) it sometimes goes trough the "back" corners of the paddles. Again any idea why?
Also if you see any errors in general tell me
Hope you guys are willing to help.
Jeroen
edit: in an attempt to add score http://rafb.net/p/eaTlKw80.html was made.
However it doesnt seem to work (it shouldnt display the score yet) its supposed to count to 3 then reset. Also it should reverse direction of the ball towards the other play which its also not doing. And it for some reason fs up my right paddle making the 3 sprite flip up side down. Help appriciated.
edit2: the slightly cleaner version http://rafb.net/p/XykwtY66.html
edit3: ok loopy helped me out with this one
Theres my code. Heres my problem.
1.) the ball goes too "deep" into the right paddle. Any idea why?
2.) it sometimes goes trough the "back" corners of the paddles. Again any idea why?
Also if you see any errors in general tell me
Hope you guys are willing to help.
Jeroen
edit: in an attempt to add score http://rafb.net/p/eaTlKw80.html was made.
However it doesnt seem to work (it shouldnt display the score yet) its supposed to count to 3 then reset. Also it should reverse direction of the ball towards the other play which its also not doing. And it for some reason fs up my right paddle making the 3 sprite flip up side down. Help appriciated.
edit2: the slightly cleaner version http://rafb.net/p/XykwtY66.html
edit3: ok loopy helped me out with this one