Product suggestion for a room based peer to peer game

Hi, we are evaluating photon products. In our game, there are N number of rooms. Each room contains two player only. We want to cut the server ping overhead and would like connect the players directly. Some sort of central server will make match between two players residing within a comfortable distance. After central server will make the handshaking between two players, it will flee and there will be no central overhead. Possible with bolt? If not, which product best matches our case?

Comments

  • Yes Bolt can do this just fine. It will perform punch to directly connect.
  • stanchion said:

    Yes Bolt can do this just fine. It will perform punch to directly connect.

    If player A and B both are behind a router, can we do it(the case scenario I stated in the post)?
  • Yes that is what punch is for.
  • Two more questions.
    1. Would I have to do anything extra in unity/unreal client code to punch or photon automatically covers that?
    2. Lets say A and B both are on same local network. So I compare their public IP, if they are equal I would connect them with their local IP instead so that ping overhead is even lesser than what it would otherwise be. Feasible?
  • 1) There are complete samples already, no extra code is required
    2) A LAN connection is made if possible
Sign In or Register to comment.