Friday, August 19, 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 effective. 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 concept why i can’t see different gamers if all joined the identical room additionally?

const shopper = new Colyseus.Shopper("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);
      }


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments