Hey all,
I recently decided to try out some multiplayer game-making because I liked the idea of the challenge. After watching some tutorials and fumbling around with what I had, I have a rudimentary game that functions, but it needs some work. Because I've had a hard time finding information, I'm making this post to not only ask, but to provide an example file of my work to anyone else who is trying to do the same. So here are my questions:
1) Blasting, sending and "creating bytes?" I have this part of my code from a Russian Youtube video, so I only know that it does work but don't really understand the entire part of WHY it works or how it does so. Can anyone elaborate on sending data (positions, internal values) and properly placing it to each player it belongs to?
2) I'm guessing that it's better to have each client (peer) send/receive data to/from a server (or singular place) as to have everyone be the same and to prevent "hacking" data, but I have really no idea what that would look like. Anyone have any pointers as to getting started?
That's all my questions so far. I know I'm still scratching the surface of multiplayer, but my hope is to make something "simple" the first time around and learn.