Skip to content

Commit

Permalink
feat: tilemap bound
Browse files Browse the repository at this point in the history
  • Loading branch information
noyyyy committed Jan 1, 2024
1 parent b9d3494 commit 58efdef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/phaser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const createPhaserLayer = async (

const { camera } = scenes.Main;

camera.phaserCamera.setBounds(0, 0, TILE_WIDTH * 50, TILE_HEIGHT * 50);
camera.phaserCamera.setBounds(0, 0, TILE_WIDTH * 8, TILE_HEIGHT * 8);
camera.phaserCamera.centerOn(1500, 1500);

const components = {};
Expand Down

0 comments on commit 58efdef

Please sign in to comment.