game-engine/modules/constants.js

5 lines
181 B
JavaScript

export const TILE_SIZE = 16;
export const GAME_WIDTH = 320;
export const GAME_HEIGHT = 240;
export const COLS = GAME_WIDTH / TILE_SIZE;
export const ROWS = GAME_HEIGHT / TILE_SIZE;