virtualx-engine/doc
Fabio Alessandrelli 9fcf3b5a9c [Net] Basic extensible MultiplayerAPI spawn/despawn.
`PackedScene`s can be configured to be spawnable via a new
`MultiplayerAPI.spawnable_config` method.
They can be configured either to be spawned automatically when coming
from the server or to always require verification.
Another method, `MultiplayerAPI.send_spawn` lets you request a spawn on
the remote peers.
When a peer receive a spawn request:
- If it comes from the server and the scene is configured as
  `SPAWN_MODE_SERVER`:
  - Spawn the scene (instantiate it, add it to tree).
  - Emit signal `network_spawn`.
- Else:
  - Emit signal `network_spawn_request`.

In a similar way, `despawn`s are handled automatically in
`SPAWN_MODE_SERVER`.

In `SPAWN_MODE_SERVER`, when a new client connects it will also receive,
from the server all the spawned (and not yet despawned) instances.
2021-08-09 16:34:40 +02:00
..
classes [Net] Basic extensible MultiplayerAPI spawn/despawn. 2021-08-09 16:34:40 +02:00
tools Add theme item descriptions to the online documentation 2021-08-04 22:27:10 +03:00
translations Rename instance()->instantiate() when it's a verb 2021-06-19 20:49:18 -06:00
Doxyfile Remove trailing whitespace 2018-11-20 11:15:02 +01:00
Makefile [HTML5] Add jsdoc2rst tool. 2021-02-26 11:33:59 +01:00