A different kind of Pong
I don't know what to call this game really. It's just a little something I made out off boredom. I have one known bug though, but I don't know how to fix it properly. The bug is that the ball can get stuck to the paddle sometimes if you hit the ball from the side of the paddle.
I think I solved the bug by setting the ball's y-position to the paddle's top() when they collide, thus stopping the ball from getting stuck inside the paddle.
Added a new "collide with paddle" function in the Ball-class. This function lets you control the ball's x-velocity depending on where it hits on the paddle.
I hereby name this game RacketPong!
I hope you like it :)
As far as the game goes, it is very fun! Only thing I would change/add is a way to get more lives. Oh, and maybe a high score list :)
RacketPong! I like it :)
I haven't really been working on this game anymore though, as I'm currently working on a Breakout clone. I'll put it out as soon as I've fixed an annoying bug.