Skip to content

Commit

Permalink
feat:add queueDisplay
Browse files Browse the repository at this point in the history
  • Loading branch information
Pejosonic committed Aug 22, 2024
1 parent dd9834a commit 7d10343
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ Checks if the current user is the active player.
#### queue.getQueue(): Player[]
Returns an array of players in the queue, sorted by the ime they join the queue.

#### initQueueDisplay(displayTransform: TransformType): void
Create a display on the scene that informs the player the current status of the queue.
After installing the library needs to place display glb model in `mini-game-assets/models/queueDisplay/workstation_display.glb`

### Listener for active player updates
#### listeners.onActivePlayerChange

Expand All @@ -68,6 +72,7 @@ type PlayerType = {
active: boolean;
}
```
## [Step 3: Scene Rotation + Game Area Checker + Timeout](https://github.com/decentraland/sdk-mini-games/pull/21/files)
### Scene Rotation
Expand Down

0 comments on commit 7d10343

Please sign in to comment.