feat(#8): fix 2d camera support

This commit is contained in:
Juan Sebastián Montoya 2024-09-13 23:30:28 -05:00
parent 07c64eadeb
commit c1fe3acc11
5 changed files with 103 additions and 36 deletions

View file

@ -1,5 +1,5 @@
export const TILE_SIZE = 16;
export const GAME_WIDTH = 320;
export const GAME_HEIGHT = 240;
export const GAME_WIDTH = 160;
export const GAME_HEIGHT = 120;
export const COLS = GAME_WIDTH / TILE_SIZE;
export const ROWS = GAME_HEIGHT / TILE_SIZE;