Sample multiplayer code

To load your sample code into Glitch:

  1. Create a glitch account

  2. Create a new project of type "glitch-hello-node"

  3. Drag the codemulti.zip file to the assets folder inside your glitch project. Then click on the file to grab the Glitch URL to that file. You'll need this URL in step #5.2

  4. Open up the Terminal by going to Tools > Terminal

  5. Paste these commands into the terminal one by one:

    1. rm -R *

    2. wget -O codemulti.zip REPLACE_WITH_YOUR_ZIP_ASSET_URL

    3. unzip -j codemulti.zip "*.html" "*.css" "*.js" "*.json"; rm -r -f ._*; rm .gitignore; rm .env; mkdir public/; mv script.js public/; mv style.css public/; refresh


AR on the Web Masterclass: Only Code Samples (no videos)

Buy nowLearn more

Sample Code and Developer Environment

  • Sample code
  • Code downloading troubleshooting
  • Sample code zip
  • Assets and media folder zip (optional)
  • Sample multiplayer code
  • Sample multiplayer code zip
  • Developer environment and Glitch