question

NoFame4U avatar image
NoFame4U asked

Playfab MultiPlayer,

Hello guys,

is it possible to create a real time multiplayer game with playfab + unity? I mean I wanna create a simple 2d multiplayer game and I dont wanna spend much money for big multiplayer sdk's. Can I host the server maybe on my own dedicated server? Or do some better ways to creating a multiplayer game exists?

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

·
comc avatar image
comc Deactivated answered

PlayFab has an integration with Photon that solves this for you.

Here is a guide to setting it up with Unity

https://api.playfab.com/docs/tutorials/landing-tournaments/photon-unity

2 comments
10 |1200

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

NoFame4U avatar image NoFame4U commented ·

Thanks! So that means I dont need to pay something to photon? Or do I need pay something to them? Because I wanna also export it to android and on there website there is the information that I need to select the 100 ccu package or more to export it to android... :(

0 Likes 0 ·
brendan avatar image brendan commented ·

With Photon Realtime, you can have "rooms" that you can use to connect players and make sure they can exchange packets, if you're okay with the simulation being controlled on the client side.

Generally speaking, if you want server authoritative logic, you'll want to use custom game servers, either hosted by us (https://api.playfab.com/docs/tutorials/landing-tournaments/custom-game-servers) or externally (https://api.playfab.com/docs/tutorials/external-game-servers).

You can use Cloud Script for occasional, lightweight logic, but it sounds like you need something that would be controlling the simulation securely.

0 Likes 0 ·

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.