How can i get almost pixel perfect collision detection in a multiplayer game?
Posted
by
Freddy
on Game Development
See other posts from Game Development
or by Freddy
Published on 2014-06-12T08:12:16Z
Indexed on
2014/06/12
9:43 UTC
Read the original article
Hit count: 236
I'm currently working on a multiplayer game for iPhone. The problem i have, as with all multiplayer games, is that the other user will always see everything at a non-constant delay. The game I'm making need to have a almost pixel perfect collision detection, but 1 or 2 pixels off is not that big of a deal. How can I possibly get this working? I guess I could just set local player to also be at X ms delay. However this will probably just be worse and feel sloppy when the user input. I know this problem is probably something network programmers deal with everyday and I would be glad if someone could give me a possible solution for this.
© Game Development or respective owner