Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
In the chat example I try to limit the maximum of PEER who can connect to 1 (this is not the default room...).
But I tried with preview and I can connect with many peers... Is it normal ?
Develop games in your browser. Powerful, performant & highly capable.
Your screenshot displays "0" instead of "1".
Write "1" in the field and it should limit the number of peers to 1, in addition to the host.
Also in preview, are you trying from different devices or from a single one ?
I tried with the two devices and 1 HOST and 2 PEERS. I red in the multiplayer manual that the minimum for the max number is "2". You can look here too : construct.net/en/forum/construct-2/how-do-i-18/multiplayer-join-room-max-75684
I will try with 3 different devices (one device by PEER)...
It's working! And yes, you should update your documentation "Max Peer" does not include the host. So we can put 1! Because in the multiplayer documentation it says that you have to put 2 minimum (for host and pair)
The documentation is the manual - construct.net/en/make-games/manuals/construct-3
For the Multiplayer plugin : construct.net/en/make-games/manuals/construct-3/plugin-reference/multiplayer
Also in the topic you mention you can read from Ashley :
"If you set it to 2 then at most one peer can join, since with them and the host it's 2 peers, and subsequent peers trying to join will receive an error saying the room is full."