MetaZone template websocket server that can be deployed on Heroku and the MetaZone template scene code that can be deployed in Decentraland where each connects via websockets for multiplayer communication.
- WebSocket Server - https://github.com/MetaZoneio/MZTemplate-WebSocket-Server
- WebSocket Scene - https://github.com/MetaZoneio/MZTemplate-WebSocket-Scene
To run the scene pointing to the Heroku websocket server follow these steps on command line.
- Clone this repository
git clone https://github.com/MetaZoneio/MZTemplate-WebSocket-Scene.git - Move to the new repo folder
cd mztemplate-websocket-scene - Replace the /src/game.ts file line 19 url with your Heroku app url
wss://yourherokuapp.herokuapp.com - Run the scene
dcl start
You should now see a box for your player avatar. (Press v for 3rd person view)