How do I sync variables in Photon

  • So I am playing around with Photon and i'm trying to sync up movement & attack animations which use global variables yet I have no idea where to begin since there is no actual documentation on photon/c2 and the demos don't help at all. Anyone know where I can start rofl ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • What you could do is, instead of using global variables, use Photon's property of actor. It is synced between all players in the room automatically.

  • What you could do is, instead of using global variables, use Photon's property of actor. It is synced between all players in the room automatically.

    Thanks for the reply!

    Well I did stumble onto that yesterday lol. but my issue is now since I have the players angle set to the mouse I can't seem to get it across to every other player. I have no idea how to sync that up xD

    PS. I am trying to learn by doing :3

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)