注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
Syncker
This section contains description of the Syncker samples.
Running Syncker Samples
You can try out Syncker samples in Unigine SDK that run Syncker directly from world scripts.
- On each slave computer, open Unigine SDK Browser and press the Syncker slave demo button, which is located on the Samples & Demos tab under the High-Level Systems section.
- On the master computer, also open Unigine SDK Browser and press the Syncker master demo button.
- Change the network broadcast address of the master by typing the following console command (on the master computer):
And then reload the current world:
master_address xxx.xxx.xxx.xxx
After that, in the master console you will see messages that slaves have connected. For example:world_reload
In the console of the connected slaves you will see the following:Connection from "xxx.xxx.xxx.xxx" "unknown" accepted in 0.00 seconds
Connection to "xxx.xxx.xxx.xxx" accepted in 0.00 seconds
Console commands world_reload or world_load with the same world as currently loaded are not run on slaves after the master. Only loading of a new world works.
For more details on Syncker initialization and update code, see Running Syncker for a custom project.
Last update: 2017-07-03
Help improve this article
(or select a word/phrase and press Ctrl+Enter)