This example shows how to use LobbyRoom
:
- When you join a lobby, you'll receive the current list of rooms
- Then, you'll receive updates when rooms are created, updated, or removed.
- (All rooms on colyseus-examples have
.enableRealtimeListing()
, try joining other demos to see realtime updates here)
- See documentation
Open Developer Tools for log messages.
Commands
All rooms: