5
PacRat
7y

Peers: Set bit 0 to 1 (((W key for movement)))
Host: Gets Bit 0; 0=1; sends signal back to peer for moving peer 1 pixel up
Peers: (Location remains the same?)

Any suggestions on what i'm doing wrong here?

Comments
  • 1
    Maybe not mentioning the context of the question?
  • 0
    @matanl oh geez - right.
    Construct 2, setting up multiplayer via a peer to peer connection. The host basically carries the server while playing, wnd needs to reflect peers' actions back to them once they perform their actions, so that they can see themselves actually followi g through with those actions
  • 1
    I know from unreal engine that all objects need to be in a replicated state on the host. The clients can't send messages to the host, so the host manages the real position of their characters etc.
  • 0
    @matanl That's just how it is in Construct. I'll snap a picture later
Add Comment