GitHub | Documentation | Become a Patron

Game Examples not working at all



  • The game examples package requires uws which is deprecated.
    https://www.npmjs.com/package/uws
    npm install doesn't fail but npm start can't find uws.


  • administrators

    @dpastorini thanks for letting me know. I've removed the uws package from the examples. The default ws package will be used instead.



  • Working great now! Thanks!
    I'm starting to learn Colyseus and my idea is to use it to create a MMORPG, for which in a first approach my idea is make it 2D with Phaser, so hopefully I'll be able to contribute a bit on this project.
    TTYS :)



  • @endel quick question: in the examples the FB auth works with localhost only right? Because I was trying it and the auth is returning a domain error, like "not in the allowed FB app domains". Maybe just include this as comment in the examples wiki page?
    Best,



  • Last one: one of the features in the 04-create-or-join-room.html example seems to be broken.
    In the client I got: colyseus.js: server error: Failed to join invalid room "a-QUjQJmPs"
    In the server:
    CREATING NEW ROOM
    Error: Failed to join invalid room "a-QUjQJmPs"
    at MatchMaker.<anonymous> (/var/www/questworld/colyseus-examples/node_modules/colyseus/lib/MatchMaker.js:124:23)
    at next (native)
    at fulfilled (/var/www/questworld/colyseus-examples/node_modules/colyseus/lib/MatchMaker.js:4:58)
    at process._tickDomainCallback (internal/process/next_tick.js:135:7)

    Best,