about summary refs log tree commit diff stats
path: root/html/rogue/js/fow.js
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-12-28 09:56:22 -0500
committerelioat <elioat@tilde.institute>2024-12-28 09:56:22 -0500
commit0e21da444131ebc4b30230de829ea0d1f2410f0b (patch)
tree1d21c412278691ba3196f3baae8fde16859b855e /html/rogue/js/fow.js
parenteed3c76d745f37ade56d0cc4ed8486913cd8e1f7 (diff)
downloadtour-0e21da444131ebc4b30230de829ea0d1f2410f0b.tar.gz
*
Diffstat (limited to 'html/rogue/js/fow.js')
-rw-r--r--html/rogue/js/fow.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/rogue/js/fow.js b/html/rogue/js/fow.js
index 69a5d61..e3a1c15 100644
--- a/html/rogue/js/fow.js
+++ b/html/rogue/js/fow.js
@@ -61,10 +61,10 @@ const FogOfWar = {
             const screenY = Math.round(pixel.y - Camera.y);
             
             if (!this.isRevealed(hex)) {
-                ctx.fillStyle = 'rgba(0, 0, 0, 1)';
+                ctx.fillStyle = 'rgba(0, 0, 0, 1)';  // Completely opaque for unrevealed
                 this.drawHexShape(ctx, screenX, screenY);
             } else if (!this.isVisible(hex)) {
-                ctx.fillStyle = 'rgba(0, 0, 0, 0.5)';
+                ctx.fillStyle = 'rgba(0, 0, 0, 0.5)';  // Semi-transparent for revealed but not visible
                 this.drawHexShape(ctx, screenX, screenY);
             }
         });