question

Kim Johansen avatar image
Kim Johansen asked

How would you setup multiplayer for a turn-based P2P game in the browser?

How would you setup multiplayer for a CCG?

- Turn-based.

- P2P / Doesn't need a server.

- Supports web browsers. (Unity WebGL)

I have a prototype that uses shared group data. It works fine, except there can be a small delay because of the polling. Do you have something for this that is more Realtime?

PlayFab Party does not seem to support web browsers?

Can I use lobby real-time notifications for this?

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

·
Xiao Zha avatar image
Xiao Zha answered

Currently, there is no better way for you to reduce the delay, and since the Lobby and Matchmaking real-time Notifications is built-in features specific to Lobby and Matchmaking, so the Lobby and Matchmaking real-time Notifications - PlayFab | Microsoft Learn cannot be used for SharedGroup.

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.

Kim Johansen avatar image Kim Johansen commented ·

What would you recommend without shared group data? The clients just need to communicate somehow.

0 Likes 0 ·
Xiao Zha avatar image Xiao Zha Kim Johansen commented ·

Party provides Low-latency secure data communication service which make clients can be able to communicate with each other, but party may not support WebGL as target build for now. You can post a feature request for it.

1 Like 1 ·

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.