[solved][Multiplayer] Leave a room to join another

Get help using Construct 2

Post » Thu Mar 27, 2014 4:19 am

I've been going round in circles trying to figure out the minimal steps to leaving a room (a lobby I've set up in one app), so that I can then join a new room for a paired-separate game with a host and client, that have nothing to do with the lobby, which is a controlled host. I've tried using Signalling:Leave room, and On signalling left room do a new Join, but the join doesn't do anything. I've tried using Room:Disconnect, and On peer disconnected doing a new Join, but again, the join doesn't do anything.

Thanks.
Last edited by blackhornet on Fri Mar 28, 2014 6:29 pm, edited 1 time in total.
ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352

Post » Thu Mar 27, 2014 8:48 am

Did you receive an error with multiplayer.error ?
B
39
S
15
G
5
Posts: 295
Reputation: 6,089

Post » Thu Mar 27, 2014 12:09 pm

Leaving then re-joining isn't a well tested part of the multiplayer engine. Maybe make a simple demo and if you can't get it working post it to the bugs forum.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762

Post » Fri Mar 28, 2014 6:29 pm

ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352


Return to How do I....?

Who is online

Users browsing this forum: lukewasthefish and 14 guests