Need Help with Multiplayer + Clay.io Lobbies

Get help using Construct 2

Post » Wed Jun 26, 2013 4:07 am

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.SpacialPumpkin2013-06-26 04:08:57
B
13
S
3
G
3
Posts: 62
Reputation: 2,192

Post » Wed Jun 26, 2013 8:59 am

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
B
25
S
9
G
4
Posts: 208
Reputation: 6,277

Post » Mon Jul 08, 2013 2:14 pm

[QUOTE=austin] 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[/QUOTE]

Mr Austin, can u please help me with Construct2 tutorial to make multiplayer game using clay.io??..
B
11
S
2
G
2
Posts: 62
Reputation: 2,153


Return to How do I....?

Who is online

Users browsing this forum: blackhornet and 14 guests