hi I am using Unity with the playfab SDK and I would like to create a game where multiple users can contribute to one progress at the same time.
For example lets say that it is an idle/tap construction game where multiple buildings are being constructed by tapping them, the user should be able to increment the construction progress while other players do the same to the same building. So these buildings are not relative to a local progress but a contribution based one between multiple players.
To avoid clash I was thinking to use player specific data like "building 1" "contribution 1000" then the client could request from the server the overall progress of the "building 1", however I am really lost in how to do it with Playfab.
,I would like to use Playfab in Unity to do the following:
Multiple game type categories which should be linked with some data.
Each player can contribute to each category "score" and should be able to see the progress.
For example the game could be "construction of buildings". Lets say there are 5 buildings the players can contribute to. Tapping one building contributes to one value while tapping another would contribute to another.
I was thinking to use player data to store something like title - "burger house building", value (contribution) - "102340"
However, this would mean that the server would have to gather the data from all the players when i'm requesting the overall per building progress, or is there a way to store some kind of global variable where multiple users can increment the value at the same time without clash?