Where did I made the mistake?

0 favourites
  • 2 posts
  • Hi guys,

    I've played around a little bit with the online functions. I took the scirra-example "Pong" as the base and tryed to build on that to learn how the multiplayer works. Most parts are great explained and absolutely understandable. But somewhere I've made a bad mistake so it's more than buggy as soon as a second player joins.

    Would be great if someone could help me and show me the forgotten part so my vikings finally get their ham:)

    Thx for any helpful answer and sorry for the bad english.

    so long

    www DOT dropbox DOT com/s/1n4x83e9vwzjl9w/Barbarians.capx?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't see where you are actually relaying the y-coordinate to the server. The only reply from a peer that I can see if the gameState, which is a string status, not an int or float coordinate.

    And you seem to be using gameState as an atomic variable, except that it is not atomic... you are probably experiencing concurrency issues.

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