Creating an IO Game, Authoritative Server Logic and Server Setup Help!

Its our first time making a multiplayer and we're currently making an IO type of game (where there are 100 people in a room) and we thought of using Photon because of the nice API features and the Photon Cloud services. Currently, we have a running demo using the Realtime SDk that runs the logic in the master client and can run fine with 8 to 10 people.

However, we need a dedicated server for authoritative logic and able to handle the 100 players. We were confused as how to do this.

1. We read about Photon Cloud using Webhooks since its easy as they'll handle the server hosting but we weren't sure how to apply custom server logic to it.
2. Photon Plugins are also an alternative but it says it requires Enterprise cloud or your own Photon on premises server. But, it seems to much work compared to using the Cloud.
3. We also looked into Playfab custom servers and cloud scripting but we're not sure if it even works with the Realtime SDK.

Our question is what's the best way to handle this? We're currently lost and would really like help from experienced people about this.

Thank you!

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @kevynm,

    Thank you for choosing Photon!

    Photon Cloud powers some successful IO games. Brutes.io is a good example.

    In your case, Photon Plugins is the recommended option.
    The other two options do not really provide any way to do authoritative or custom server-side code per se.

    You should use a plugin for authoritative logic and also combine some custom interest management code with the built-in feature of interest groups.