Athena's Owl
Member
To start off I am very new to networking. I'm trying to do my due diligence when it comes to researching and understanding how Game Maker connects online for multiplayer games and knowing all about buffers, sockets, async_load, tcp versus udp, sending and receiving packets, and all I need to learn to set up a online platformer game. I'm following this tutorial by Wizirdi and it has been somewhat helpful as a stepping stone to learn this kind of stuff.
I have two questions I hope that I can get help from on here, and I also ask if you have any source material you would recommend me reading or watching videos on I will take whatever helps guide me to knowing as much as I can about this topic. So my first question has to do with Wizirdi's tutorial part 3, because he makes the server that which is separate from the client by it being essentially a mirror by having both a player inside of the client as well as inside of the server to display the information.
Question 1. Do I need to have objects, sprites, animations, and more duplicated into my server in order to send accurate information to my clients? His part 1 tutorial talks about how the client would retain and display that information, and so is it advisable and possible to have the server accurately tell one client movement and animations to the other clients without having to display that within the server? I imagine the answer is yes just isn't seen in his tutorials.
Question 2. My other question has more to do with a server that can be used on consoles as well as PC. Would I need to use a different language and software to be able to do this? If so what kind? I find it strange that Game Maker has licensing for other platforms if it isn't able to reach them with an online GM Server. I've seen some forums talk about this but not go into great detail as to what is recommended for this purpose. I've also heard some criticisms that a Game Maker server isn't accessible to consoles easily, and that steam has a built in version but that its better to design something that can reach all and not be limited to Steam.
Correct me if I am wrong on some other finer smaller questions:
Some other details if you have time. I've read on forums that platformer online multiplayer games that its advised to use udp instead of tcp. Should I use peer to peer(P2P) instead of having a separate server? Would that make it easier for consoles but put more risk of players having their ip addresses vulnerable as well as make a server within a client more vulnerable? I guess I just don't know the full scale of consequences of this since I myself am not a hacker nor do I know how someone breaches data and how to put up protective measures to prevent it.
Thanks for any and all help.
I have two questions I hope that I can get help from on here, and I also ask if you have any source material you would recommend me reading or watching videos on I will take whatever helps guide me to knowing as much as I can about this topic. So my first question has to do with Wizirdi's tutorial part 3, because he makes the server that which is separate from the client by it being essentially a mirror by having both a player inside of the client as well as inside of the server to display the information.
Question 1. Do I need to have objects, sprites, animations, and more duplicated into my server in order to send accurate information to my clients? His part 1 tutorial talks about how the client would retain and display that information, and so is it advisable and possible to have the server accurately tell one client movement and animations to the other clients without having to display that within the server? I imagine the answer is yes just isn't seen in his tutorials.
Question 2. My other question has more to do with a server that can be used on consoles as well as PC. Would I need to use a different language and software to be able to do this? If so what kind? I find it strange that Game Maker has licensing for other platforms if it isn't able to reach them with an online GM Server. I've seen some forums talk about this but not go into great detail as to what is recommended for this purpose. I've also heard some criticisms that a Game Maker server isn't accessible to consoles easily, and that steam has a built in version but that its better to design something that can reach all and not be limited to Steam.
Correct me if I am wrong on some other finer smaller questions:
Some other details if you have time. I've read on forums that platformer online multiplayer games that its advised to use udp instead of tcp. Should I use peer to peer(P2P) instead of having a separate server? Would that make it easier for consoles but put more risk of players having their ip addresses vulnerable as well as make a server within a client more vulnerable? I guess I just don't know the full scale of consequences of this since I myself am not a hacker nor do I know how someone breaches data and how to put up protective measures to prevent it.
Thanks for any and all help.