[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
22
G
267
Posts: 3,807
Reputation: 147,745

Post » Thu Mar 27, 2014 8:48 am

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

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
406
S
240
G
91
Posts: 24,771
Reputation: 197,558

Post » Fri Mar 28, 2014 6:29 pm

ImageImageImage
B
71
S
22
G
267
Posts: 3,807
Reputation: 147,745


Return to How do I....?

Who is online

Users browsing this forum: SputnikCZ, Yahoo [Bot] and 10 guests