Delightex Nova allows you to collaborate and play together with others through its multiplayer Experiences.
In this tutorial, you’ll learn how to create and explore your first multiplayer session step by step.
Turning synchronization on and off
When playing your first multiplayer Experience, you may have noticed that as one player moves the camera, other players are immediately moved to the same location. This happens because, by default, every item in the game is automatically synchronized across all players.
You can turn synchronization off by setting the multiplayer.synchronized property of an item to false.
For example, in our game you can add the following line to the very beginning of your script:
1let cameraItem = Camera.focusedItem;
2cameraItem.multiplayer.synchronized = false;Now, each player in the game will have their own separate camera and can move independently without affecting others.
Next, we’ll build on what you’ve learned about synchronization. So far, everything stays in sync, but players still can’t actually see or interact with one another. In the following lesson, we’ll fix that by adding visible avatars to bring your multiplayer world to life.