fix: Change PIXEL_SIZE from const to let to allow modification

This commit is contained in:
Kacper Kostka (aider) 2025-04-05 18:04:44 +02:00
parent db5b49ee7f
commit 85a96f153f

View File

@ -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;