# Basic Additive Room

This example shows in a simple way how to use the room system with multiple scenes and rooms.

## Setting Up

First of all, in order for the scenes in the project to work, we need to add scenes via build settings.&#x20;

<div align="center"><figure><img src="https://1794019073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGujZpDiF7qvyr68CDpSX%2Fuploads%2FLX09oYPLDlQQyZ4PbEFX%2Fimage.png?alt=media&#x26;token=f9a20a51-fc30-4dd6-99c6-39c60038c42b" alt=""><figcaption><p>The order doesn't matter</p></figcaption></figure></div>

Then we need to add tags and layers for object interaction and control.

<div align="center" data-full-width="false"><figure><img src="https://1794019073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGujZpDiF7qvyr68CDpSX%2Fuploads%2FZaB1UbSzl4i36mTrnBCF%2Fimage.png?alt=media&#x26;token=a8f20159-8dc5-43a9-8afd-6670b937e11f" alt=""><figcaption><p>PlayerCamera needs to be added to labels and coins need to be added to layers</p></figcaption></figure></div>

And then you can start the game by pressing the play button.

* For example, run 2 builds for clients and 1 build for servers, and start one of them by clicking on the server section on the HUD to become a server.
* Start the others by clicking on the client section. Then, you can create a room and join through the HUD for the Room system.
* **Contents**:
  * Basic Character Controller (you can move it with wasd)
  * Basic Camera Controller (You can rotate the camera by moving the mouse left and right.)
  * Score System
    * It keeps the user id and points in a sync dictionary and prints the current data to the screen via the UI when this directory changes.
  * Coin Spawn System
    * It creates coins in a certain number of random locations on the server and keeps the number of coins constant (if there is a decrease, it creates the required amount in a random location).
  * Room Player Spawn for additive room
    * Performs character creation or deletion operations for the client as a result of the client joining or leaving the room.
