Need Help with Multiplayer + Clay.io Lobbies

0 favourites
  • 3 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Hi, I want to add multiplayer to my soccer game here: http://clay.io/game/1v1arcadesoccer

    Now I know there are several multiplayer plugins, like rexrainbow's bottleneck, and PubNub. I also know clay.io has a multiplayer lobby system. This is crucial if I add multiplayer to my game, because I want people to be able to find random matches against people they don't know, or still be able to play against people they do know. I am trying to use PubNub, but I don't know if bottleneck is better for what I want or if bottleneck or PubNub can even work with clay.io rooms. I have no idea how to begin, as I have never tried programming multiplayer in Construct 2 before. I'd just like some kind of system where you can join a room, and take control of one of 2 of the players on the soccer field, then when the game is over they will end up back at the main menu or play again if they want, like the Slime Volley game on the main page of clay.io here: http://slime.clay.io/

    Thanks in advance.

  • I'm not too familiar with Bottleneck or PubNub, but the only thing the Clay.io rooms feature can provide is grouping players together. So when players are grouped together, you would pass the to multiplayer server the ID of the room that they're in, and you can send data to those users based on the room they're in.

    Some links that are hopefully helpful:

    http://clay.io/docs/rooms

    http://clay.io/docs/slime

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not too familiar with Bottleneck or PubNub, but the only thing the Clay.io rooms feature can provide is grouping players together. So when players are grouped together, you would pass the to multiplayer server the ID of the room that they're in, and you can send data to those users based on the room they're in.

    Some links that are hopefully helpful:

    http://clay.io/docs/rooms

    Mr Austin, can u please help me with Construct2 tutorial to make multiplayer game using clay.io??..

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