GitHub | Documentation | Become a Patron

Can someone point me to a working Colyseus example that I can download?



  • I'm getting "Colyseus variable not defined" in the examples for Colyseus, so can someone point me to an example that I can tinker with and download?



  • Hi WillWam

    The instructions on the getting started guide didn't work for me and I had problems getting it to work.
    Try cloning the example as described in the guide, but run npm-install before running npm-run - I think this pulled down some dependency that wasn't already in my environment.

    What I did:

    git clone https://github.com/gamestdio/colyseus-examples.git
    cd colyseus-examples
    npm install
    npm run bundle-colyseus-client
    npm install

    Hope that helps,
    Chris.



  • Thanks for that. The Docs didn't use npm run bundle-colyseus-client so perhaps it was implied.