Well my experience with SDL is growing but I have no idea how to do the collision detection. I think a bit of research is in order because at the moment I have 2 static paddles and a stationey ball on the screen.
Previous Entry
About Me
Next Entry
Can I Get A Rewind
Advertisement
Latest Entries
A Slight Hitch
648 views
Taking It Steady
761 views
Can I Get A Rewind
591 views
To Pong Or Not To Pong
674 views
About Me
694 views
Found A Partner
575 views
Advertisement
Checking to see if the pixels of one object touch the pixels of another is the most accurate, obviously, but it can be a very slow process.
Google around for 2D collision detection, and you should find some stuff to read. Be sure to look for 2D collision detection, because 3D collision detection is even more documented, but the topics are pretty unrelated.