I've used a Pong game from the Codebase and changed it around a bit (for example added mouse support). The next thing I'd like to do is be able to play it with a friend over internet.
How would I do this? How do I pass his paddle location to me and make sure it's at the correct position? Currently I am using relative coordinates so it only says "move paddle 3 pixels to left" and not "paddle to coordinate 345". Maybe this relative coordinate can be send over internet too but I'm unsure.
A fact is that I'm new to network programming and am unsure what to do. I have attached my sourcecode in this post.
I hope someone is helpfull and will help me fix this multiplayer problem.
Ik zou groug Nederlandse mensen in mijn msn willen hebben die mij kunnen helpen met het leren van DBpro.