How should i start?


Hello good, I am new with Photon and I have a question.

I have a game with up to 8 players, everyone has 30 seconds to make moves on their map (as in Risk).

At the end of these 30 seconds, photon should communicate with all the players, collect all their values ​​and refresh the map for everyone.

My question is: How should I start? Should I use RPC? or some other type of communication?


  • Tobias

    You can use the PUN 2 package but should not use PhotonViews and related features.

    Use RaiseEvent and SetCustomProperties to keep/sync the state. Those are actually features of Photon Realtime (not specific to PUN).

    This doc about turnbased games is related.