- Home /
Need some quick tips on Unity multiplayer
Hello all,
I have done a 2 player multiplayer game (fighting game) in unity.
Actually i used Unity's Master server to do that, and Multiplayer functionalities working great as i expected and i have completed entire game. But we cant use Unity's master server on production. isn't it ? So that i have to create a master server myself and make a release on stores. But unfortunately my studios need not to create a server for that, They need to run a game with out creating server from our side. Any other solutions for that with out creating server from our side.
For iOS & Android multiplayer game communicate through Wi-Fi and web player game should communicate from LAN. Will photon network useful for both Mobile platform and standalone platform ? Because using unity's Master server we can able to communicate iOS to Android , Android to Web , and so on...
Any one can give some quick ideas on this ?
Thanks and Sorry for my bad english...
Use a third-party masterserver
Still convince your studio to install it; it's a simple server, may run on Linux also
Hi @nastasache , Thanks for your comment. Whether its enough to run master server code on any systems ? What will happen if i switch off the system which i run master server ?
Hi sriram, I think it is supposed masterserver not to be switched off (may a big problem with finding/connecting to masterservers started arbitrary on network by the some players for example, is not like starting game servers). I mean mastersever have to run in a machine with very high uptime (like dedicated servers); for example I have masterserver runnning at my websites hosting (Linux). If you have somewhere some websites hosted (and enough rights on host environment, SSH access and so), you can install masterserver there. Except for playing in a local LAN with the coleagues, if you wish it for a commercial product, I think you have to install or use mastersever in a 99-100% uptime machine.
@nastasache Thank you once again. If we use master server entire game should be internet game, we can't play with out internet right ? And any one can play from any where. isn't it ? Okay, i convinced them :) If i wanna to play with out internet using wi-fi, which third-party tool or multiplayer concept will help ?