Before joining, get number of players in multiplayer game

Get help using Construct 2

Post » Thu Mar 20, 2014 1:05 pm

How do I get number of players in multiplayer game before joining? For example, I remember in earlier multiplayer tests before multiplayer beta was released Ashley had it set up so you could see how many people were in North America, Europe, Asia, etc. This was before connecting to the signalling server or to the game.
B
63
S
12
G
6
Posts: 456
Reputation: 8,981

Post » Fri Mar 21, 2014 5:03 am

I think there is a Multiplayer.PeerCount.

You could use this along with Multiplayer (On Signalling logged in/Joined room)
Using R243 for all examples
B
69
S
20
G
6
Posts: 379
Reputation: 9,699

Post » Fri Mar 21, 2014 9:21 am

It's supported for game instances, but not rooms yet. On the todo list.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,600


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider] and 44 guests