Multiplayer input states

0 favourites
  • 2 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • 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:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As it turns out, adding client input value tags must be done before connecting to the signalling server. My game is now functioning correctly.

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