feat: Increase zoom level to show smaller view area when spawning player

This commit is contained in:
Kacper Kostka (aider) 2025-04-05 18:08:11 +02:00
parent ad90b9320f
commit 8562c86986

View File

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