Hello dear community,
I want to develop a multiplayer game and for that I want to use zay-es. However, I thought about it and couldn’t find a solution to my problem which I want to describe now:
For my game I need to design an island. My plan is to add models directly to the scene, mark them with their type (added as user data) and make them to entities when the game is loaded.
It’s only the Server who is allowed to create the entities. The Client later receives the created entities. But here is the problem: How does the Client know which Entity belongs to which spatial in the scene. The Client also loads the game world (the island in this case) and somehow has to make a connection between the received Entity and the spatial the Entity belongs to.
I hope you see the problem…
Is there a solution for that?