Hot answers tagged

2

There is no golden bullet "this is how you do it" type answer to this other than to say, generally speaking you have 2 options TCP or UDP. Given the fact that you are only ever dealing with 4 players TCP might be a better choice as you get some additional protocol level checks that help ensure reliable networking. Net up is for you to decide how you want ...


2

In a multiplayer racing game, the client should be communicating position updates to the server. The server will then sanity check the message and update all the other clients. Never, ever trust the client to do these kinds of calculations for you. If you have the server do all the calculations, then you don't need to worry about the client telling the ...



Only top voted, non community-wiki answers of a minimum length are eligible