server-flow
Typical runtime flow (server node)
- Server node is started with
CELTE_MODE=server
. The demo server callsCelte.api.ServerNodeConnect()
to register with the Master/cluster. - The server node registers spawn points (see
Singletons/team_manager.gd
in the demo) usingCMultiplayerInstantiator
instances. - When a client is accepted, the server receives a callback (a Celte-provided signal) and calls
SpawnEntity
to instantiate the player and provide the initialization payload back to the client.