Log inGet started
World

Deep Field

Branchmain
Branchesmain
Commit97b82cdc4f

README.md

game/df_boot

The core-loop slice's way into the running scene. The scene entrypoint calls start() on it once, after the species roster has loaded.

It does two things:

  1. Spawns df_game under df_fauna_rig and puts DeepFieldGame on it, sweeping the previous one away first so a reload replaces the dive rather than running two of them.
  2. Registers the cross-slice listeners that have to reach a component method — identify:submit, cutscene, and sighting:end.

The listeners live here rather than in the component because the entrypoint clears the bus and re-runs the boot chain together; a component that subscribed in awake would stack a second handler every hot-reload.

stop() despawns df_game and any live sighting, so a reload leaves no second copy behind.

Slice owner: core-loop.