Sorry if this isn't the right forum, I'm not sure where it best fits.
I'm working on a pong clone, but am having problems getting collision detection for the left paddle working. The code is the same for both paddles, but it doesn't always work for the left paddle. Some times the ball goes right through it, sometimes it works. I'm using the first approach given in
this article, but with 'if' statements instead of a function. I had the game working with SFML 1.2, but I wanted to rewrite it with 1.3. I've created my own Ball and Paddle classes derived from sf::Sprite, and am using sf::Vector2 to get positions of the sides.
I can post the code if it will help, but someone will have to tell me how.
Thanks in advance for any help.