multiplayer: manual close and open the room

Discussion and feedback on Construct 2

Post » Sun Dec 07, 2014 1:31 am

How do you create a rooms list?
B
5
Posts: 19
Reputation: 268

Post » Sun Jun 14, 2015 6:45 am

Sorry for bumping this after so long but I am currently building a simple peer-to-peer card game for a client for up to 5 players at once (using Auto-join for simplicity) and have run into this issue. I can't see any way for the host to set the room limit on the fly or to lock the game before the max players has been reached.

I really need the host to be able to set the game as locked or unlocked on the fly because:

-I don't want any extra players to be able to join once the host decides to start the game (game may not be full).
-My players don't want to spectate, they would rather join a free game instead.
-At the end of a game/round the host may want to allow players to join again.

If this can already be done I would appreciate it if someone could fill me in. If not, any chance of having this included in the next beta please @Ashley?
ImageImage
B
123
S
23
G
7
Posts: 1,071
Reputation: 13,091

Post » Mon Jun 15, 2015 8:11 pm

I found an acceptable work around for this issue (for anyone who experiences a similar problem).

If you want to close the room before the max has been reached, simply send the max peer amount through a host message and get all the connected peers to rejoin with the auto-join but this time set the max to the set variable.
ImageImage
B
123
S
23
G
7
Posts: 1,071
Reputation: 13,091

Post » Tue Aug 25, 2015 1:01 pm

How do I get the room list after I request it?
B
6
Posts: 16
Reputation: 284

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 17 guests