Wednesday, August 24, 2022
HomeGame DevelopmentAm utilizing Colyseus to attach gamers room creating gamers becoming a member...

Am utilizing Colyseus to attach gamers room creating gamers becoming a member of however not spawning in playground – Cocos Creator


I put in Colyseus Server and it’s working positive. I can login from completely different servers; it’s crates and rooms, and completely different session ids for gamers additionally, however I can’t see gamers within the room I’m calling under line.
single room a number of participant was including however bodily i can’t see just one participant any have thought why i can’t see different gamers if all joined the identical room additionally?

const shopper = new Colyseus.Consumer("ws://localhost:2567");
    attempt {
        const room = await shopper.joinOrCreate(roomName,choices);
        console.log("joined efficiently", room);
      
      } catch (e) {
        console.log("be part of error", e);
      }


Did you print out all of the gamers in a room and take a look at them? Are all gamers in a room now?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments