I want to make a game has the local party option and the online multiplayer option too. but i don’t know how to do it,
The idea is that on the multiplayer, there are no official servers, players will host de party for others (like on online console versions of call of duty )
What i need to do so players that won’t be the hosts, find these online partys to join ?
Do i need to create Data server to save each player the will be host and use this same server to send the information of the ip address to the other players, so they can join ?
Thanks in advance.
Sorry for the stupid questions.
Photon and Unity Multiplayer have built in lobby and match making features which sound like would work for your game. As TwoTen said, you can also roll your own master server. If you do you’ll need to consider what technique you would use for hosts behind a NAT router to be able to successfully host the game.
Yea, one of the easiest ways to get 100% right is to make your own relay. But that’s quite expensive. So a NAT facilitor & UPNP might be more viable options. And you can even make it so if a client can’t succeed with NAT punchthorugh, it will only join and not host.