From 8562c869863b25556aa170eb13a656993ce6d2fe Mon Sep 17 00:00:00 2001 From: "Kacper Kostka (aider)" Date: Sat, 5 Apr 2025 18:08:11 +0200 Subject: [PATCH] feat: Increase zoom level to show smaller view area when spawning player --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index b9b8397..bc87ab6 100644 --- a/js/main.js +++ b/js/main.js @@ -98,8 +98,8 @@ function spawnPlayer() { canvas.width = window.innerWidth; canvas.height = window.innerHeight; - // Set zoom level to 50% - PIXEL_SIZE = 2; + // Set zoom level to 50% more zoomed in (from default 4 to 6) + PIXEL_SIZE = 6; // Create player at specified coordinates player = createEntity(ENTITY_TYPES.PLAYER, 229, 61);