22
src/game/constants.js
Normal file
22
src/game/constants.js
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
export const GAME_COLORS = {
|
||||
background: '#e8e2d6',
|
||||
basicPlat: '#6c8ae4',
|
||||
movingPlat: '#4cc9f0',
|
||||
springPlat: '#80ed99',
|
||||
oneTimePlat: '#e76f51',
|
||||
startingPlat: '#f4a261'
|
||||
};
|
||||
|
||||
export const PLATFORMS_GAP = 80;
|
||||
export const PLATFORM_WIDHT = 70;
|
||||
export const PLATFORM_HEIGHT= 15;
|
||||
|
||||
export const PLAT_TYPE = {
|
||||
BASIC: 'basic',
|
||||
MOVING: 'moving',
|
||||
SPRING: 'spring',
|
||||
ONE_TIME: 'one-time'
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user