| Plugin version | Colyseus server version |
|---|---|
| 0.18.0.x | 0.18.x |
| 0.17.0.x | 0.17.x |
Plugin 0.18 speaks the Colyseus 0.18 wire protocol and cannot connect to 0.17 servers. If your server is still on 0.17, keep using plugin 0.17.0.3. See the 0.18 migration guide.
Requirements: download and install Caddy Server in order to host https from localhost.
- Install the dependencies. (
npm install) - Run Chrome without "same origin policy" (
npm run chrome) - Start the development server (
npm start)
To update the bundled SDK, bump the @colyseus/sdk devDependency and run npm run copy-dist (copies node_modules/@colyseus/sdk/dist/colyseus.js into plugin/).
For testing on editor.construct.net:
- Enable Developer Mode
- Go to Settings
- Click on Settings window label 10 times
- Scroll down and click select to enable "Developer Mode"
- Go do "Developer Mode" -> Install Dev Addon and provide the following URL:
https://localhost/addon.json
This addon uses c3addon for packing and publishing the addon to Construct Addons page.
MIT