Show ... chat bubble over player when too far from NPC

This commit is contained in:
Justin Oros
2026-05-20 09:33:06 -07:00
parent 2dde0dfd4f
commit aece71a0d4
3 changed files with 27 additions and 10 deletions
+4 -1
View File
@@ -109,7 +109,10 @@
<div class="map-npc" id="map-npc"></div>
</div>
<!-- Player stays fixed to viewport, only Y moves -->
<div class="map-player" id="map-player"></div>
<div class="map-player-wrap" id="map-player-wrap">
<div class="player-bubble" id="player-bubble">...</div>
<div class="map-player" id="map-player"></div>
</div>
<!-- Hints overlay the viewport, not the world -->
<div class="map-talk-hint" id="map-talk-hint" style="display:none"><span class="hint-pc">Press E</span><span class="hint-touch">Press A</span></div>
<div class="map-dir-arrow" id="map-dir-arrow" style="display:none">▶</div>