feat(#8): fix 2d camera support
This commit is contained in:
parent
07c64eadeb
commit
c1fe3acc11
5 changed files with 103 additions and 36 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue