Possible to find room/game based on geo location (latitude and longitude)?

Options
Hello,

Would like to know if its possible to find room/game based on room latitude and longitude? For example: Player A tries to find game with his current location( latitude and longitude). He should only be able to join game thats nearby his area only.

Please advise. If its not possible, is there any closer way to do it?

Thanks.

Comments

  • Tobias
    Tobias admin
    edited August 2015
    Options
    Sorry, that's practically not possible with Photon Cloud. You could do something like that with the SQL Lobby and fitting filtering but unless you have a lot of users, this is not practical.

    Of course, you could also get the Photon Server SDK and implement your own matchmaking based on location. Then you also need to host this server (which is not a big deal though).
    If you wanted to, you could create some sort of service for this, to match players based on distance. All you need is to make up a room name for all interested players. You can use WebRPCs to query your service or use the WWW class.
  • ssrobin
    Options
    Hello Tobias,

    Thanks for the reply. I would probably try the WebRPC route.