feat: Increase zoom level to show smaller view area when spawning player
This commit is contained in:
parent
ad90b9320f
commit
8562c86986
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user