Friday, August 19, 2022
HomeGame DevelopmentMultipler Battle Floor - Cocos Creator

Multipler Battle Floor – Cocos Creator


Hello everybody, I’m engaged on an internet multiplayer recreation. I don’t know methods to begin the server facet coding so I can join a number of folks and make them combat on a single floor. If in case you have any blogs and recommendations, assist me out. thanks :slight_smile:


Colyseus simply constructed an instance. If you happen to want extra, numerous stuff within the data base.

Thanks, I’ll work on that.

If some other has an answer for this, please counsel it to me.

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 concept why am dealing with this difficulty.

const consumer = new Colyseus.Shopper("ws://localhost:2567");
    strive {
        const room = await consumer.joinOrCreate(roomName,choices);
        console.log("joined efficiently", room);
      
      } catch (e) {
        console.log("be a 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