Using both Server and Cloud?

Options
ungr
edited October 2013 in Photon Server
Hi I was wondering if there is a way to setup Photon server to work just like (or really close) to Cloud.

What I want to do is I want to test the game on my LAN, but when I go to actually get the game online I want to switch to cloud.

Comments

  • Kaiserludi
    Options
    Yes, there is.
    Just use the LoadBalancing instance instead of the Default instance and on the client side use the according LoadBalancing API. The Cloud actually just runs LoadBalancing + some logic to differentiate different applications and application versions from each other.
    When your game works fine with a local Photon Server that runs the LB instance, then the only steps that you have to do to switch your game to Photon Cloud is supplying your Photon Cloud app ID in the client code and switching the server address to connect to from your local server ip to the url of one of the Photon Cloud regions. That's it. You are done.
  • ungr
    Options
    Awesome! Thanks for the detailed reply.