Hi :),
I would like your opinions (as I am no expert in this field) on whether I should share player data in a multplayer online game using sockets.
Are there alternatives?
Thanks :D
Q
Printable View
Hi :),
I would like your opinions (as I am no expert in this field) on whether I should share player data in a multplayer online game using sockets.
Are there alternatives?
Thanks :D
Q
If you're making a multiplayer game that should communicate over the internet (or any network for that matter), then yes you need to use sockets. There's no getting around that.
I read something about binary serialization. Does that apply in this case?
Binary serialization is a technique to take an object and "convert" it to binary data that can be stored or sent, to later be deserialized into an object again.
It doesn't directly have anything to do with what you want to do, but it is indeed the technique you want to use if you want to send objects across the network.
Thanks