game-engine/modules/constants.js

5 lines
181 B
JavaScript

export const TILE_SIZE = 16;
export const GAME_WIDTH = 160;
export const GAME_HEIGHT = 120;
export const COLS = GAME_WIDTH / TILE_SIZE;
export const ROWS = GAME_HEIGHT / TILE_SIZE;