A WebGL multiplayer FPS game.
Requires node.js. Install & run:
npm install;
npm start;
By default it will serve the webpage on http://localhost:5000
and listen for websockets on the same port: ws://localhost:5000
. To change this, set the PORT
and WSS_URL
environment variables:
# Start web server on port 8888 and listen for websockets on ws://localhost:8888
PORT=8888 WSS_URL=ws://localhost:8888 npm start
- Duplicate this Goo Create scene and open it.
- Export the scene as Webpage: Scene > Export > Webpage.
- Extract the downloaded
zip
file intopublic/
. - Restart the server.