Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.8 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.8 KB

Aframe Multiplayer Chat

How to Play

Toggle music mute with M key. Play next song with P key.

UI

Toggle the Message and Face UI with the EQUALS key. You must enter the proper Message_KEY to send a message. Tab your way through the UI elements. Once you have finished typing your message or selecting a new face, hit ENTER to submit.

Pressing the F key or clicking the VR Headset Icon will take you to fullscreen mode. Note: in fullscreen mode only movement keys are enabled. Press the ESC key to exit fullscreen mode.

LIVE DEMO

Remixing Instructions

Set the MESSAGE_KEY in .env. Change the scene's environment preset in the index.html. Create your own .ply models in MagicaVoxel and add them to the scene in the index.html.

In the client-config.js set the values for:

  • avatar array of face image URLs ( use .png with transparent background )
  • avatar color
  • sound file URL for playerJoined
  • sound file URL for playerLeft
  • BGM songs
  • custom key bindings/behaviors

App Screens

Environment Presets

Environment GIF

Credits Special thanks to @donrmccurdy ,@feiss , and @superhoge.