Problem: If atmospheric backgrounds are implemented, they should match the content being read. Reading about Jesus by the Sea of Galilee should show the Galilee scene, not Jerusalem.
Solution: Automatically switch the background scene based on which Bible passage the user is reading, using a simple rule set.
Not included: Per-verse scene changes or historically accurate location mapping. This uses broad Bible-section rules.
Expected scene rules:
Edge cases:
Transition: Smooth crossfade between scenes when navigating to a chapter with a different scene.
Reference: BibleGame Game1.cs had this scene routing logic.
Implementation:
(bookId, chapter) to scene name using the rule setgetSceneForPassage(bookId, chapter): 'galilee' | 'jerusalem'Reference: BibleGame Game1.cs scene routing.
Files:
apps/web/src/lib/utils/atmosphere.ts (create)Current: NEEDS_DESIGN Milestone: v3 Priority: Low — depends on atmospheric backgrounds being implemented first
Dependencies: