Add directional winding path system with canvas-drawn path and per-leg direction changes

This commit is contained in:
justin committed 2026-05-20 21:21:50 -07:00
1 parent ddf0a9cb08
commit 427381aecf
3 files changed
+233 -135

No files matched your search

+2 -2
View File
@@ -99,12 +99,12 @@
</div>
</div>
<div class="overworld-bg map-world" id="map-world">
<canvas id="map-path-canvas" style="position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;"></canvas>
<div class="map-inner" id="map-inner">
<div class="map-trees" id="map-trees"></div>
</div>
<!-- Path stays fixed to the viewport — does not scroll -->
<div class="map-ground"></div>
<!-- NPC in viewport layer — JS positions it using screen-space X -->
<!-- NPC in viewport layer — JS positions it using screen-space coords -->
<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>