I want to create a multiplayer game like 7 days to die, but not sure where to start.
There are several assets on the asset store for adding multiplayer to your game. If you want to have servers, you can start with photon. You could program a peer 2 peer system, then I’d go with mirror. Both assets csn be downloaded in the asset store.
Dedicated Server Pros (example: Photon):
- stable connection
- cheating is pretty much not a problem
- more data can be sent over the network
- protected
- easier to setup,…
Cons:
- Costs money based on player amount
P2P Pros (example: mirror):
- Completely free
- p2p is much easier with mirror
Cons:
- You need to sync events ingame yourself
- not protected
- connection stability not guaranteed (if the host-players connection is bad, everyones game will lag)
There are lots of other solutions to this, you could also try unitys new solution MLAPI, but its currently in beta.
Hope it helps
2 Likes
thank you