Hi everyone, I am working on an online multiplayer game. I don’t know how to start the server side coding so I can connect multiple people and make them fight on a single ground. If you have any blogs and suggestions, help me out. thanks
Colyseus just built an example. If you need more, lots of stuff in the knowledge base.
Thanks, I will work on that.
If any other has a solution for this, please suggest it to me.
I installed Colyseus Server and it’s working fine. I can login from different servers, it’s crates and rooms, and different session ids for players also, but I can’t see players in the room I’m calling below line
single room multiple player was adding but physically i can’t see only one player any have idea why am facing this issue.
const client = new Colyseus.Client("ws://localhost:2567");
try {
const room = await client.joinOrCreate(roomName,options);
console.log("joined successfully", room);
} catch (e) {
console.log("join error", e);
}