|
Before going into how we would like to synchronize a game across the network, it can be helpful to understand how the base network API for synchronization works.
|
|
Before going into how we would like to synchronize a game across the network, it can be helpful to understand how the base network API for synchronization works.
|
|
This object extends from :ref:`PacketPeer <class_PacketPeer>`, so it inherits all the useful methods for serializing, sending and receiving data. On top of that, it adds methods to set a peer, transfer mode, etc. It also includes signals that will let you know when peers connect or disconnect.
|
|
This object extends from :ref:`PacketPeer <class_PacketPeer>`, so it inherits all the useful methods for serializing, sending and receiving data. On top of that, it adds methods to set a peer, transfer mode, etc. It also includes signals that will let you know when peers connect or disconnect.
|