[GH-ISSUE #1283] [Issue]: Game maps don't switch to indoor layers; entering a building clutters the main map with extra nodes #631

Closed
opened 2026-10-20 17:30:58 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @GetBeholder on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1283

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Indoor map layers are rarely or almost never used. When the party enters a
building (for example a hallway with two rooms separated by doors), instead of
switching to a dedicated indoor layer that shows only the relevant interior nodes
(the rooms), the system simply adds more nodes to the main map view, cluttering
the already cramped map window.

Expected behavior

Entering an interior location (building, dungeon, cave) should switch to a
separate indoor layer / sub-map that displays only that interior's nodes, keeping
the main/world map uncluttered.

Actual behavior

New interior nodes are appended to the main map instead of a dedicated indoor
layer, progressively cluttering the main map window. Indoor layers are rarely or
never triggered.

Steps to reproduce

  1. In a game, enter a building containing a hallway and two rooms separated by
    doors.
  2. Observe the rooms are added as additional nodes on the main map rather than
    shown in a separate indoor layer.
  3. The main map window becomes increasingly cluttered as more interiors are
    entered.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: not provided
  • Run mode: not specified
  • OS + version: not specified
  • Node + pnpm versions: not provided
  • Rust version, if relevant: not provided
  • Remote Runtime URL configured? not specified
  • Provider, model, or integration, if relevant: not specified

Logs, screenshots, or video

None provided.

Regression notes

Not provided.

Additional context

Source: forum report by Krewetco (2-Star), 5/24/26 10:03 PM. One of four distinct
points in a single post; the others are filed separately. The reporter notes they
may not fully understand how to make the game use indoor layers.

Triage pointer (from a scan, not from the reporter):
src/engine/modes/game/world/map.service.ts instructs the GM that "For indoor
areas (dungeon, cave, building, etc.): generate a 'node' type map" with nodes
(id, emoji, label, x, y). However, there does not appear to be a
layer-switching concept that moves interior nodes into a separate indoor layer —
interior nodes are added to the same map. This may be triaged as a feature
(building out indoor layer switching) rather than a pure bug.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @GetBeholder on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1283 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Indoor map layers are rarely or almost never used. When the party enters a building (for example a hallway with two rooms separated by doors), instead of switching to a dedicated indoor layer that shows only the relevant interior nodes (the rooms), the system simply adds more nodes to the main map view, cluttering the already cramped map window. ## Expected behavior Entering an interior location (building, dungeon, cave) should switch to a separate indoor layer / sub-map that displays only that interior's nodes, keeping the main/world map uncluttered. ## Actual behavior New interior nodes are appended to the main map instead of a dedicated indoor layer, progressively cluttering the main map window. Indoor layers are rarely or never triggered. ## Steps to reproduce 1. In a game, enter a building containing a hallway and two rooms separated by doors. 2. Observe the rooms are added as additional nodes on the main map rather than shown in a separate indoor layer. 3. The main map window becomes increasingly cluttered as more interiors are entered. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [x] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: not provided - Run mode: not specified - OS + version: not specified - Node + pnpm versions: not provided - Rust version, if relevant: not provided - Remote Runtime URL configured? not specified - Provider, model, or integration, if relevant: not specified ## Logs, screenshots, or video None provided. ## Regression notes Not provided. ## Additional context Source: forum report by Krewetco (2-Star), 5/24/26 10:03 PM. One of four distinct points in a single post; the others are filed separately. The reporter notes they may not fully understand how to make the game use indoor layers. Triage pointer (from a scan, not from the reporter): `src/engine/modes/game/world/map.service.ts` instructs the GM that "For indoor areas (dungeon, cave, building, etc.): generate a 'node' type map" with nodes (`id`, `emoji`, `label`, `x`, `y`). However, there does not appear to be a layer-switching concept that moves interior nodes into a separate indoor layer — interior nodes are added to the same map. This may be triaged as a feature (building out indoor layer switching) rather than a pure bug. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:30:58 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (May 27, 2026):

Fixed on refactor in 8058f66dd4: GM map updates now support map_name/map/area, create or switch to separate indoor maps, persist active map metadata, and update the map store. Added focused Vitest coverage and ran pnpm check.

<!-- gh-comment-id:4555719568 --> @SpicyMarinara commented on GitHub (May 27, 2026): Fixed on refactor in 8058f66dd4affb1e74e4bdbce3b7d4580554fb9b: GM map updates now support map_name/map/area, create or switch to separate indoor maps, persist active map metadata, and update the map store. Added focused Vitest coverage and ran pnpm check.
Sign in to join this conversation.
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
Pasta-Devs/Marinara-Engine#631
No description provided.