Quantcast
Channel: Answers by "Vandarthul"
Viewing all articles
Browse latest Browse all 86

Answer by Vandarthul

$
0
0
Hello, @Rangr I would recommend you to use [Photon Engine][1] over Unity Multiplayer. The main reason is when master client(client that created the room) leaves, the game will be terminated in Unity Multiplayer, but not in Photon. Also it has bunch of other stuff that can support your game needs. > Is a server strictly necessary assuming that only 2 phones would be connected at any given time or could I get away with only using a server to connect the phones to each other then have them communicate directly? It's up to you. In Photon, you can have a custom server that will communicate players via Server(Authoritative Server) or you can use default Photon servers to create rooms for you and master client(client which has created the room and has authority to do stuff in the room) manages the game logic. As you might guess that second option is not secure at all, so there are no control logic to prevent people from cheating(there is an exception to that, please read further below). If you choose the second option and want to have a custom-server-like behavior you can check out [PlayFab][2]. PlayFab is a backend platform where you can store player or title data, items, contents and bunch of other stuff. It also has Photon Add-on which implements itself to Photon Callbacks, this way you can secure your game up to an extend. Hope these helps you a bit. [1]: https://www.photonengine.com/en-US/Photon [2]: https://playfab.com/

Viewing all articles
Browse latest Browse all 86

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>