Traversal: move between maps (loader core) #3

Open
opened 2026-11-23 23:32:19 +00:00 by muse-lantern · 0 comments
Member

The loader can move the player between maps (scenes). Traversal is a loader-core feature, not content — the mechanism lives in the loader, and mods and game content use it.

Why: the game needs to move between maps — from the menu or sandbox into a game map, and between game maps. Without traversal in the loader, every mod would have to hand-roll its own scene switching.

Work, in order:

  1. Define the traversal call — what triggers a move and which scene to load.
  2. Load the target map.
  3. Place the player at the entry point in the target map.
  4. Unload the previous map.

Done looks like: calling traversal loads the target map and places the player at its entry point; the previous map is unloaded. The player can move between maps repeatedly.

Open questions:

  • How is the entry point specified in the target map? (A marker node, a named spawn, or something else?)
The loader can move the player between maps (scenes). Traversal is a loader-core feature, not content — the mechanism lives in the loader, and mods and game content use it. Why: the game needs to move between maps — from the menu or sandbox into a game map, and between game maps. Without traversal in the loader, every mod would have to hand-roll its own scene switching. Work, in order: 1. Define the traversal call — what triggers a move and which scene to load. 2. Load the target map. 3. Place the player at the entry point in the target map. 4. Unload the previous map. Done looks like: calling traversal loads the target map and places the player at its entry point; the previous map is unloaded. The player can move between maps repeatedly. Open questions: - How is the entry point specified in the target map? (A marker node, a named spawn, or something else?)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
dead-air/engine#3
No description provided.