Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

rivet-gg/plugin-colyseus-examples

 
 

Repository files navigation

Rivet Colyseus Plugin Examples

This repo has moved here!

This repository provides examples of running Colyseus with the Rivet plugin.

Live demo

Project setup

First, clone the project:

git clone https://github.com/rivet-gg/plugin-colyseus-examples.git
cd plugin-colyseus-examples
npm install

Set up Rivet game:

  1. Create a game on the Rivet Developer Dashboard
  2. Install the Rivet CLI
  3. Run rivet init --recommend to link your game
  4. Run npm install

Running locally

  1. Run the server in one terminal: npm start
  2. Serve the static files in another terminal: npm run serve
  3. Open http://localhost:2567 in your browser.

Deploying to Rivet

  1. Run rivet deploy -n prod
  2. Visit the game in your browser

License

MIT

Releases

No releases published

Packages

No packages published

Languages

  • HTML 74.1%
  • TypeScript 24.0%
  • Dockerfile 1.9%