Live Room List
This example uses Orbiter, JavaScript, and HTML, to display a list of application rooms, as is typically found in application or game lobbies. The example uses RoomManager's watchForRooms() to be notified when rooms with the qualifier "examples" are added to or removed from Union Server. The code in this sample is also available for Reactor (Adobe Flash framework). For a more feature-rich lobby example, see Orbiter Lobby.
[Edit Live on JSFiddle] [Download]
The above room list demonstrates the following Orbiter features:
- Retrieving a list of rooms on Union Server
- Running a function when a room is added to or removed from Union Server
The Code
Here is the code for the preceding example. Click the "+" button to edit it live on JSFiddle.