Add zoom and drag to move camera
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user