Walk and talk with your friends -- directly in your browser!
Features:
- Proximity Voice Chat (with 2D panning)
- Shared Youtube Screen (with proximity volume)
- Realtime Bouncy Minigames!
Try it now in your browser or add the bot to your Discord server
Click to Watch the Video (generously recorded and voiced by catsforhats)
The room name is after the /r/ so for example to go to a room called game-dev
the link would be https://www.rooms2d.com/r/game-dev
Join the Discord to learn secret features and follow development!
You can also add the Discord bot to your server to instantly create links with !room
(repo).
- Move with WASD, arrow keys, or mouse.
- Press space to mute/unmute.
- Right-click to throw the bouncy ball.
Clone the repository. Inside the newly created directory, run npm install
. Also run npm install
inside the client/ directory.
You need to setup SSL certificates or else microphone access doesn't work. You can put self-signed certificates in the certs/ directory for local testing (how to setup self-signed certificates).
On your production server you need real certificates from Letsencrypt (how to setup SSL with Letsencrypt). Create a .env file and add the path to your SSL certificates. e.g.
CERT_PATH=/etc/letsencrypt/live/YOURWEBSITE.com/
Run sudo npm run start
to start the server (or sudo npm run devStart
for faster development). You can access the app by navigating to https://localhost/.
Note. You need sudo
or else you will not be able to use port 443 and the server will crash on launch.
The server also uses pino-tee for logging, so you will need to install that in order to run the preset commands that are specified in package.json