Scenes and Multiplayer

I’ve been trying to solve this problem for a few days but I just can’t. What I need is a method to manage multiplayer scenes. I have a scene and then I need to add players during run time when players connect and also able to control my own character. Each scene should handle incoming messages coming from the server updating others players positions and other stuff. I feel like it is very very complicated for me. I don’t even know what to do.

Hi @_Cri5. Sounds like you need a multiplayer framework like Colyseus. If you read up those docs it explains pretty well the general concepts of authoritative servers, rooms, match making, authentication and the like.

2 Likes