Fix path disappearing by moving map-ground outside scrolling world, reduce speed to 8px per tick

This commit is contained in:
justin committed 2026-05-14 10:35:13 -07:00
1 parent 255c7aae6c
commit 2213a85ff8
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -107,13 +107,14 @@
<span class="tree">🌲</span><span class="tree">🌳</span><span class="tree">🌲</span>
<span class="tree">🌳</span><span class="tree">🌲</span><span class="tree">🌳</span>
</div>
<div class="map-ground"></div>
<!-- NPC with ! bubble — position driven by JS in world-px -->
<div class="map-npc-wrap" id="map-npc-wrap">
<div class="npc-bubble" id="npc-bubble">!</div>
<div class="map-npc" id="map-npc"></div>
</div>
</div>
<!-- Path stays fixed to the viewport — does not scroll -->
<div class="map-ground"></div>
<!-- Player stays fixed to viewport, only Y moves -->
<div class="map-player" id="map-player">🧢</div>
<!-- Hints overlay the viewport, not the world -->