e4d8e3da-b9c8-4c02-871c-36f0616bfb71's Forum Posts

  • 2 posts
  • As it turns out, adding client input value tags must be done before connecting to the signalling server. My game is now functioning correctly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone,

    I'm working on a 2 player game and thought it would be interesting to try out the multiplayer plugin. However, for some reason I cannot get the peer to send my client input state for the inputs to the host.

    Here's the project I'm working on: download

    I use an input value tag of 1 byte and set/read the bits on the peer and host respectively, but the host never seems to receive it. For now, I'm using a text object to show the value of the byte as a number on both the peer and the host; the value on the peer's screen changes when it's trying to move, but not on the host's.

    I've followed the multiplayer tutorials several times to spot what I'm doing wrong, modified things here and there that I noticed the tutorials did differently, but it's still not working correctly. It might be something simple I overlooked, I hope one of you can find it.

    Thank you in advance!

    Tagged:

  • 2 posts