question

Aaron avatar image
Aaron asked

Networking with PlayFab

My team and I were originally using Photon however with the prospectus of how many concurrent users there will be, we are slightly debating on using a separate networking source for our multiplayer PC/Mac based game.

I wanted to see if anyone can answer a few questions for me.

If we choose not to utilize Photon for our RTS multiplayer game, what other option does PlayFab authorize or allow?

Could we utilize Forge Networking instead of Photon and still see similar results for multiplayer networking/chat purposes?

Does PlayFab have its own networking solution/option?

Thanks!

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

You can integrate any networking or multiplayer tech you need - we don't restrict you in any way. The Photon integration is specifically enabling easy authentication and webhook callbacks on Room events, to enable custom logic. We chose to partner with them as they have a solid, mature service which is used by a very large number of developers.

I do need to disentangle two concepts, though:

The first is straight-up networking, such as you'd get with any networking package.

The other is the part people don't take into consideration quite as often, and that's dealing with NAT issues. Because not all client networking devices are created equal, some peer-to-peer connections can be extremely problematic. To deal with that, you have a server out in the cloud which either does the work to create a "tunnel" for peer-to-peer messaging, or else just proxy the messages.

If you don't care about the auth/webhook integration, the latter is still the part you'll need to consider, when thinking about what package you want to use. From my own experiences as a developer, I would personally prefer a service where there's an ops team managing the servers, as I would want to focus on the gameplay, rather than wrestle with any of that.

But again, it's entirely your call. We provide our own core services, and we're pre-integrating many third-party services, but if there are others you want to use in addition or instead, there's nothing at all preventing you from doing so.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.