Well, elastic type collision of course! But after thinking carefully, I realised that my bat is just a rect, and no matter how the ball collides on its surface, the ball will only be reflected at the same angle as it collides. I'd consider the ball colliding at the edge of the rect, but I'm not sure if I'm good enough to start using vectors and calculating normals.
Anyway, I'm still working this simple pong game. I'm sure I'll be hitting quite a lot of obstacle, so I'd really appreciate it if everyone would chip in and help me complete this simple game of mine. Cheers!
Anyway, I'm still working this simple pong game. I'm sure I'll be hitting quite a lot of obstacle, so I'd really appreciate it if everyone would chip in and help me complete this simple game of mine. Cheers!