From 85a96f153f4c8e6834b54d15f417d6ca5df24af3 Mon Sep 17 00:00:00 2001 From: "Kacper Kostka (aider)" Date: Sat, 5 Apr 2025 18:04:44 +0200 Subject: [PATCH] fix: Change PIXEL_SIZE from const to let to allow modification --- js/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/constants.js b/js/constants.js index cf23139..3e07b4e 100644 --- a/js/constants.js +++ b/js/constants.js @@ -1,6 +1,6 @@ // Game constants const CHUNK_SIZE = 200; -const PIXEL_SIZE = 4; +let PIXEL_SIZE = 4; const GRAVITY = 1.5; // Increased gravity (3x stronger) const WATER_SPREAD = 3;