Add zoom and drag to move camera

This commit is contained in:
Peter Stockings
2026-01-05 22:44:04 +11:00
parent d9da9f69a5
commit 7888f375e1
2 changed files with 67 additions and 1 deletions

View File

@@ -96,6 +96,9 @@ export const GAME_CONFIG = {
rendering: {
tileSize: 16,
cameraZoom: 2,
minZoom: 0.5,
maxZoom: 4,
zoomStep: 0.1,
wallColor: 0x2b2b2b,
floorColor: 0x161616,
exitColor: 0xffd166,