Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. Coruscare
  3. Posts
  • Profile
  • More
    • Continue chat with Coruscare
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Posts made by Coruscare

RE: Keep information sent to game server between html files and between rooms

Thank you so much for the support, it means a lot to know that I can count on people when I have no clue what I'm doing.

posted in Questions & Help • 21 Dec 2018, 06:57
URL for new Client()

Hi,

What should I put as the parameter for the new Client() constructor? I’m not entirely sure how to connect to the server.

posted in Questions & Help • 10 Dec 2018, 09:44
Keep information sent to game server between html files and between rooms

Hi,

I’m extremely new to node.js and Colyseus, so this may be a basic question, but one I need an answer to.

In the game’s homepage, you POST a username to the server, which, if it’s not already taken, takes you to the room list. From the room list, you can join rooms, and play if there is an available slot and spectate otherwise. You can exit the room and go back to the room listing. You retain your username between transfers.

How do I go about doing that? The rooms send an html file, and the room listing sends a different one.

I’m using colyseus and colyseus.js.

posted in Questions & Help • 10 Dec 2018, 09:41

© 2023 Endel Dreyer